diff options
author | Martin Storsjö <martin@martin.st> | 2021-10-24 01:11:20 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-11-16 23:04:06 +0200 |
commit | 7c3d19ab7bcb79636bd65ee55a0fefef224fcb25 (patch) | |
tree | e1440c4b40f66e00e723f85b0edf0fd989329a96 /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | 86d866f2f60227fcba61909a726249e1dee1cf88 (diff) | |
download | llvm-7c3d19ab7bcb79636bd65ee55a0fefef224fcb25.zip llvm-7c3d19ab7bcb79636bd65ee55a0fefef224fcb25.tar.gz llvm-7c3d19ab7bcb79636bd65ee55a0fefef224fcb25.tar.bz2 |
[runtimes] Fix building initial libunwind+libcxxabi+libcxx with compiler implied -lunwind
This does mostly the same as D112126, but for the runtimes cmake files.
Most of that is straightforward, but the interdependency between
libcxx and libunwind is tricky:
Libunwind is built at the same time as libcxx, but libunwind is not
installed yet. LIBCXXABI_USE_LLVM_UNWINDER makes libcxx link directly
against the just-built libunwind, but the compiler implicit -lunwind
isn't found. This patch avoids that by adding --unwindlib=none if
supported, if we are going to link explicitly against a newly built
unwinder anyway.
Differential Revision: https://reviews.llvm.org/D113253
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions