Repository navigation
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
| # The libFuzzer from apt.llvm.org is built against libstdc++, so can't be | ||
| # linked against the libc++ built above. | ||
| cmake -G Ninja -B /fuzzer_build/ \ | ||
| -DLLVM_ENABLE_RUNTIMES="compiler-rt" \ |
There was a problem hiding this comment.
nit: maybe set COMPILER_RT_USE_LIBCXX=ON explicitly and combine this with the above build to unconditionally build all three:
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;compiler-rt"
?
This means a sanitizer is needed to get libfuzzer and every sanitizer will have a possibly unused libfuzzer, but that shouldn't matter, because the system libfuzzer is also installed and sits there unused.
There was a problem hiding this comment.
Taking a look, but I'm not sure if this will work.
The libFuzzer shipped by apt.llvm.org is built against libstdc++, rather libc++, so fails to link against the instrumented libc++.
This reverts commit fa70e23.
b6d2e09 to
2f97d87
Compare

The libFuzzer shipped by apt.llvm.org is built against libstdc++, rather
libc++, so fails to link against the instrumented libc++.