summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorMeng Hu <meng.hu@garmin.com>2009-11-05 16:10:50 -0600
committerDavid 'Digit' Turner <digit@google.com>2011-06-15 15:09:46 +0200
commit50257cf18bd8dba90f405587994b98ca26f3224b (patch)
tree8fa6a83196d4d061ff34aa278f2b4bdda8bd97a4 /trusty/coverage/coverage_test.cpp
parent1468cb540f5c257d32bde182ae8f0f522c582d07 (diff)
debuggerd: Show function names in tombstone backtraces
This change enables debuggerd to provide backtraces with function names in tombstone files and log messages. It does this by reading the image file that the address is found in, and parsing the dynamic symbol table to try to extract the symbol corresponding to the given address. This works best when "-Wl,-export-dynamic" is added to the LDFLAGS of each library and executable, because this will cause all symbols to be added to the dynamic symbol table. If this flag is not present, it will still work, but it will only be able to identify functions which are part of the external API of the library/executable. Orig-Change-Id: I618baaff9ed9143b7d1a1f302224e9f21d2b0626
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions