Some of the compiler-rt runtimes use custom instrumented libc++ build.
Use the runtimes build for building this custom libc++.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM but I do have some questions.
Really happy to see this refactoring! 🥳
compiler-rt/cmake/Modules/AddCompilerRT.cmake | ||
---|---|---|
637 | What is that libcxx|libcxxabi syntax? Edit: Nevermind, I just saw the LIST_SEPARATOR thing below. Clever, maybe a bit too much. Any reason not to use -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi"? | |
648 | Why do you need this setting? | |
compiler-rt/cmake/Modules/CustomLibcxx/CMakeLists.txt | ||
1 | I am SO happy to see this go away. |
Oh, also, note that compiler-rt isn't being run in the pre-commit CI tests, so please don't rely on that for validating this patch.
What is that libcxx|libcxxabi syntax?
Edit: Nevermind, I just saw the LIST_SEPARATOR thing below. Clever, maybe a bit too much. Any reason not to use -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi"?