Skip to content

Commit ccff207

Browse files
[BOLT][AArch64] Fix BUILD_SHARED_LIBS after #158738
Link BOLTUtils against the AArch64 target to support the new option that enables instrumentation without LSE (see #158738) This fixes shared library builds, eg: https://lab.llvm.org/staging/#/builders/220/builds/1537 Note: the link points to a collapsing builder.
1 parent 9de1bc0 commit ccff207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Target/AArch64/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ add_llvm_library(LLVMBOLTTargetAArch64
2828
AArch64CommonTableGen
2929
)
3030

31-
target_link_libraries(LLVMBOLTTargetAArch64 PRIVATE LLVMBOLTCore)
31+
target_link_libraries(LLVMBOLTTargetAArch64 PRIVATE LLVMBOLTCore LLVMBOLTUtils)
3232

3333
include_directories(
3434
${LLVM_MAIN_SRC_DIR}/lib/Target/AArch64

0 commit comments

Comments
 (0)