[lldb-dev] How to get function name without arguments type/value/name?

2016-04-21 Thread Jeffrey Tan via lldb-dev
Hi, I call SBFrame.name to get function name and display in our debugger callstack window. However, this seems to include arguments types sometimes.(Btw: why it includes arguments types for subFunction but not main() in screenshot?) [image: Inline image 1] This is fine for small function, but ca

Re: [lldb-dev] How to get function name without arguments type/value/name?

2016-04-21 Thread Greg Clayton via lldb-dev
The difference is how the debug info is emitted in the DWARF. Functions that come from C++ will have mangled names. These mangled names contain the arguments. If a function has a mangled name we will demangle it and display that. You can easily strip this if you want to by looking for the first