Skip to content

Commit d2bb6d5

Browse files
committed
[X86] Add explicit library dependency on LLVMInstrumentation
Patch 9588b68 introduced dependency on ASAN. But it didn't explicitly put LLVMInstrumentation as one of the library dependencies such that the build will fail if we're building LLVM as shared libraries (i.e. -DBUILD_SHARED_LIBS=ON). This patch explicitly links X86CodeGen against the Instrumentation component. Differential Revision: https://reviews.llvm.org/D108662
1 parent ef87075 commit d2bb6d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/X86/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ add_llvm_target(X86CodeGen ${sources}
9191
AsmPrinter
9292
CodeGen
9393
Core
94+
Instrumentation
9495
MC
9596
SelectionDAG
9697
Support

0 commit comments

Comments
 (0)