| 74 | } |
| 75 | |
| 76 | string SymbolsUtil::DemangleNameOnly(const string& symbol) { |
| 77 | string fn_name = DemangleNoArgs(symbol); |
| 78 | // Chop off namespace and/or class name if present (e.g. "impala::foo" => "foo") |
| 79 | // TODO: fix for templates |
| 80 | return fn_name.substr(fn_name.find_last_of(':') + 1); |
| 81 | } |
| 82 | |
| 83 | // Appends <Length><String> to the stream. |
| 84 | // e.g. Hello --> "5Hello" |
nothing calls this directly
no test coverage detected