Re: Why no execinfo.h?
Re: Why no execinfo.h?
- Subject: Re: Why no execinfo.h?
- From: Rush Manbert <email@hidden>
- Date: Fri, 21 Apr 2006 09:47:35 -0700
Steve Sisak wrote:
At 4:56 PM -0700 4/20/06, Rush Manbert wrote:
The only remaining issue is that the name returned by dladdr is
mangled. My function called "level" is returned as _Z5leveli. I know
about c++filt, is there any library function that can demangle the names?
Here's a couple other URLs that might help:
<http://developer.apple.com/samplecode/MoreIsBetter/MoreIsBetter.html>
<http://developer.apple.com/samplecode/MoreIsBetter/listing43.html>
I _think_ there's an updated version for Mac OS X, but couldn't find it
immediately.
Thanks Steve. I went with __cxa_demangle(), which I was told about in
another post. I also realized that I hadn't searched for "demangle" on
developer.apple.com. I just did, and it led me to this
http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/libstdc++/18_support/howto.html#5
Now I guess I need to read the entire "libsdtc++ How To" doc. :-)
Thanks again,
Rush
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden