• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why no execinfo.h?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Why no execinfo.h? (From: Rush Manbert <email@hidden>)
 >Re: Why no execinfo.h? (From: Eric Albert <email@hidden>)
 >Re: Why no execinfo.h? (From: Rush Manbert <email@hidden>)
 >Re: Why no execinfo.h? (From: Steve Sisak <email@hidden>)

  • Prev by Date: Re: Why no execinfo.h?
  • Next by Date: Losing my mind over dylib linker errors
  • Previous by thread: Re: Why no execinfo.h?
  • Next by thread: Re: Why no execinfo.h?
  • Index(es):
    • Date
    • Thread