Skip to content

Commit

Permalink
[X86] Add explicit library dependency on LLVMInstrumentation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mshockwave committed Aug 24, 2021
1 parent ef87075 commit d2bb6d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Target/X86/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ add_llvm_target(X86CodeGen ${sources}
AsmPrinter
CodeGen
Core
Instrumentation
MC
SelectionDAG
Support
Expand Down

0 comments on commit d2bb6d5

Please sign in to comment.