Skip to content

Commit

Permalink
pt/call-stack: Log demangled function name
Browse files Browse the repository at this point in the history
  • Loading branch information
aewag committed Mar 13, 2023
1 parent 2975634 commit e934450
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pintool/call-stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ void CallStack::emit_stack(UINT32 depth, vector<string> &out,
o << right << dec << setw(2) << id << "# ";
o << "0x" << hex << setw(width) << setfill('0') << iter->target()
<< " ";
o << setw(20) << setfill(' ') << left << info.func_name;
o << setw(20) << setfill(' ') << left
<< PIN_UndecorateSymbolName(info.func_name, UNDECORATION_COMPLETE);
o << setw(20) << info.image_name;
if (_source_location && info.file_name) {
o << " at " << info.file_name << ":" << dec << info.line;
Expand Down

0 comments on commit e934450

Please sign in to comment.