not-perf icon indicating copy to clipboard operation
not-perf copied to clipboard

demangling support

Open ruabmbua opened this issue 4 years ago • 9 comments

Would it be easy to add demangling support based on a filter program, so users can plug in e.g. c++filt?

ruabmbua avatar Jul 19 '21 14:07 ruabmbua

C++ symbols are already automatically demangled, so why would you want to do that?

koute avatar Jul 19 '21 14:07 koute

Then it seems like it is not working for me ;-(

ruabmbua avatar Jul 19 '21 14:07 ruabmbua

Can you check whenever your symbol is properly demangled by cpp_demangle?

koute avatar Jul 19 '21 14:07 koute

Seems to work, when I try their "cppfilt" example.

ruabmbua avatar Jul 19 '21 14:07 ruabmbua

What's the exact symbol that doesn't get demangled?

koute avatar Jul 19 '21 14:07 koute

Essentially all of them, as far as I can see.

Here is an example: _Z15scheduler_startP4TASK29mode

ruabmbua avatar Jul 19 '21 15:07 ruabmbua

whoops, no this one: _Z15scheduler_startP4TASK29imd_enum_robot_operating_mode

ruabmbua avatar Jul 19 '21 15:07 ruabmbua

Yeah, that should definitely work.

koute avatar Jul 19 '21 15:07 koute

I will take a look at this again, if I am using the tool next time.

ruabmbua avatar Aug 11 '21 08:08 ruabmbua