diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-05-11 17:30:18 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-05-16 12:04:51 -0700 |
commit | b5fbb4c2b468bc776ba71e2c4ef692f095e034bd (patch) | |
tree | fb8180b2548ad51fdfd36da74463a62948f7533e /elfcpp | |
parent | 68b25a74aa492fa84bc530b471036d762cf772bf (diff) | |
download | gdb-b5fbb4c2b468bc776ba71e2c4ef692f095e034bd.zip gdb-b5fbb4c2b468bc776ba71e2c4ef692f095e034bd.tar.gz gdb-b5fbb4c2b468bc776ba71e2c4ef692f095e034bd.tar.bz2 |
gprofng: include a new function in the right place
Static function name is not available in stripped libraries.
In this case, gprofng maps PC to a fake function like <static>@0xPC (<libname>).
Sometimes gprofng creates two functions instead of one.
Also FUNC_FLAG_SIMULATED is needed for these fake functions.
gprofng/ChangeLog
2023-05-11 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
* src/LoadObject.cc (LoadObject::find_function): Set FUNC_FLAG_SIMULATED.
Include a new function in the right place.
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions