diff options
author | Fangrui Song <i@maskray.me> | 2022-06-07 21:22:38 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-07 21:22:38 -0700 |
commit | 311f7839602344ca347816146edb68c0ffaaa060 (patch) | |
tree | b92587443281e0c23c07a5d5c929df4684fab486 /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 12ca031b0d1b5390698d15efea8ff4a829173f4b (diff) | |
download | llvm-311f7839602344ca347816146edb68c0ffaaa060.zip llvm-311f7839602344ca347816146edb68c0ffaaa060.tar.gz llvm-311f7839602344ca347816146edb68c0ffaaa060.tar.bz2 |
[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux
This makes the LLVM_ENABLE_PROJECTS mode (supported for compiler-rt, deprecated
(D112724) for libcxx/libcxxabi/libunwind) closer to
https://libcxx.llvm.org/BuildingLibcxx.html#bootstrapping-build .
The layout is arguably superior because different libraries of target triples
are in different directories, similar to GCC/Debian multiarch.
When LLVM_DEFAULT_TARGET_TRIPLE is x86_64-unknown-linux-gnu,
`lib/clang/15.0.0/lib/libclang_rt.asan-x86_64.a`
is moved to
`lib/clang/15.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.a`.
In addition, if the host compiler supports -m32 (multilib),
`lib/clang/15.0.0/lib/libclang_rt.asan-i386.a`
is moved to
`lib/clang/15.0.0/lib/i386-unknown-linux-gnu/libclang_rt.asan.a`.
Reviewed By: mstorsjo, ldionne, #libc
Differential Revision: https://reviews.llvm.org/D107799
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions