[PATCH] D39949: [CMake][libcxxabi] Support merging archives when statically linking unwinder

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 12 16:18:45 PST 2017


phosek created this revision.
Herald added a subscriber: mgorny.

When using LLVM unwinder and static unwinder option is set, merge
libc++abi.a and libunwind.a into a single archive. libc++ already
supports merging libc++abi.a and libc++.a into a single archive; with
this change, it is possible to also include libunwind.a in the same
archive which is useful when doing static link and using libc++ as
a default C++ library and compiler-rt as a default runtime library.


Repository:
  rL LLVM

https://reviews.llvm.org/D39949

Files:
  src/CMakeLists.txt
  utils/merge_archives.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39949.122607.patch
Type: text/x-patch
Size: 5846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171113/59636caa/attachment.bin>


More information about the llvm-commits mailing list