Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
authorAmir Ayupov <aaupov@fb.com>2022-05-04 01:35:45 +0300
committerAmir Ayupov <aaupov@fb.com>2022-05-04 05:25:48 +0300
commitf9db6d2d5b24f332961b379e8538cc4aab6aa0d7 (patch)
tree2530e6855e3aac632e2cc3fc0b5e75cdd0c34fee /bolt
parent5afd20806d4e28e5d8a8f968f199a663021bbb5b (diff)
[BOLT][CMAKE] Fix llvm-bolt-fuzzer build
Add X86/AArch64 targets to resolve missing dependencies, e.g.: `undefined reference to `LLVMInitializeX86AsmParser'` Follow-up to D124206 Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D124886
Diffstat (limited to 'bolt')
-rw-r--r--bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt b/bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
index 3c26b78c855c..14031ca41925 100644
--- a/bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
+++ b/bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
@@ -1,5 +1,6 @@
set(LLVM_LINK_COMPONENTS
BOLTRewrite
+ ${LLVM_TARGETS_TO_BUILD}
)
add_llvm_fuzzer(llvm-bolt-fuzzer