[libcxxabi][PATCH] unwinder
David Fang
fang at csl.cornell.edu
Tue Oct 8 11:22:29 PDT 2013
Nick,
> 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.
What is the name of that function (where it is available)? Would
something like this be available somewhere in LLVM?
Fang
--
David Fang
http://www.csl.cornell.edu/~fang/
More information about the cfe-commits
mailing list