On 18/02/12 10:36 PM, Jeffrey Yasskin wrote: > 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.
I would like for us to provide a drop in replacement for gcc and on linux that unfortunately includes providing unwind.h. Having said that, your patch is safe as it is a nop on systems without a unwind.h in the default search patch. LGTM. > Jeffrey > Cheers, Rafael _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
