[libcxxabi][PATCH] unwinder

Nick Kledzik kledzik at apple.com
Mon Oct 7 22:17:08 PDT 2013


On Oct 7, 2013, at 7:38 PM, David Fang wrote:
> Hi Nick,
> 	Thanks for the libunwind commit!
> 	Would it be possible to also include "mach-o/dyld_priv.h" as well? It is referenced by src/Unwind/AddressSpace.hpp.  I have a copy of that header from a 2009 distribution of cctools.
> 	(I'm still building on powerpc-darwin8.)
Having that header is not going to help.  The header declarations a function in libSystem.dylib which the unwinder calls to get the address of the __eh_frame for a given pc.  That function is not in the darwin8 libSystem.  We'll need to write an equivalent using dladdr() and getsectiondata() for older MacOSX versions.

-Nick



More information about the cfe-commits mailing list