Just found out about a cool little GNU utility that takes a "mangled" C++ subroutine name and de-mangles it to show you its declaration. Kind of a specialized thing, but sometimes when you are debugging code and you see what the C++ compiler does to your function names, you are concerned. It's good to see there is some rhyme and reason to it.
$ c++filt _ZN8DiscTypeC1ENS_4TypeE
DiscType::DiscType(DiscType::Type)
GNU Binary Utilities: c++filt
No comments:
Post a Comment