Non-LLVM components should not be listed as part of LLVM_LINK_COMPONENTS.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for working on fixing this! The llvm-bolt-fuzzer target doesn't seem quite right, could you take a look?
bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt | ||
---|---|---|
2 | This is basically the only link from llvm-bolt-fuzzer with BOLT. We need to link it somehow. Using this diff, it fails to build for me with: ld.lld: error: undefined symbol: opts::OutputFilename[abi:cxx11]
To test a fuzzer target, remember to add these two options to cmake: -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=On |
Comment Actions
@rafaelauler another try, this passes build with sanitizer off, haven't tried yet with sanitizer on.
bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt | ||
---|---|---|
10 |
This is basically the only link from llvm-bolt-fuzzer with BOLT. We need to link it somehow. Using this diff, it fails to build for me with:
ld.lld: error: undefined symbol: opts::OutputFilename[abi:cxx11]
To test a fuzzer target, remember to add these two options to cmake: