[cfe-commits] [patch] Use the system unwind.h when that's available

Jeffrey Yasskin jyasskin at gmail.com
Sat Feb 18 19:36:53 PST 2012


When trying to build libcxxabi on linux, I discovered that clang's
unwind.h doesn't provide enough definitions. This patch allows linux
builds to take advantage of libunwind if that's installed.

Another option would be to just copy the interfaces out of
http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/libgcc-s-ddefs.html,
but since we're relying on the system to provide definitions anyway,
it seems more sensible to try to pull the interface from the system
too.

Jeffrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use_system_unwind_h.patch
Type: text/x-patch
Size: 849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120218/d2de50df/attachment.bin>


More information about the cfe-commits mailing list