summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-03-07 22:16:35 +0000
committerdim <dim@FreeBSD.org>2013-03-07 22:16:35 +0000
commitbe01e90b71154aeb04cffb72e7605eeaa2be1a3f (patch)
tree40f12a0b95c7e64cdbd345f098255d9f6f92cb21 /lib/libc/stdio
parent717830bec1bf2168b350f31ecb736a1d0bf840e3 (diff)
downloadFreeBSD-src-be01e90b71154aeb04cffb72e7605eeaa2be1a3f.zip
FreeBSD-src-be01e90b71154aeb04cffb72e7605eeaa2be1a3f.tar.gz
Make ctfconvert work correctly on clang-compiled object files. Clang
puts the full original source filename in the STT_FILE entry of the ELF symbol table, while gcc saves only the basename. Since the DWARF DW_AT_name attribute contains the full source filename, both for clang and gcc, ctfconvert takes just the basename of it, for matching with the STT_FILE entry. So when attempting to match with such an entry, use its basename, if necessary. Reported by: avg MFC after: 1 week
Diffstat (limited to 'lib/libc/stdio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud