Is there any tool to demangle the names

P

parag_paul

MhpiStrToValue-g.o:00000000000001c8 T
_ZN14mhpiValueClassC1ER10vhpiValueC
MhpiStrToValue-g.o:0000000000000098 T
_ZN14mhpiValueClassC1ER9vpiValueC
MhpiStrToValue-g.o:0000000000000130 T
_ZN14mhpiValueClassC2ER10vhpiValueC
MhpiStrToValue-g.o:0000000000000000 T
_ZN14mhpiValueClassC2ER9vpiValueC



I am seeing multiple defintions in the object file.

Now the names have been mangled, can I see the demangled names from
above
-Parag
 
S

Sohail Somani

MhpiStrToValue-g.o:0000000000000000 T _ZN14mhpiValueClassC2ER9vpiValueC

I am seeing multiple defintions in the object file.

Now the names have been mangled, can I see the demangled names from
above
-Parag

Those names look like G++ mangling, try using the c++filt program.
 
I

Ian Collins

MhpiStrToValue-g.o:00000000000001c8 T
_ZN14mhpiValueClassC1ER10vhpiValueC
MhpiStrToValue-g.o:0000000000000098 T
_ZN14mhpiValueClassC1ER9vpiValueC
MhpiStrToValue-g.o:0000000000000130 T
_ZN14mhpiValueClassC2ER10vhpiValueC
MhpiStrToValue-g.o:0000000000000000 T
_ZN14mhpiValueClassC2ER9vpiValueC



I am seeing multiple defintions in the object file.

Now the names have been mangled, can I see the demangled names from
above

Use whatever your compiler tools provide (something like c++filt)!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top