freebsd-dev/cddl/contrib
Dimitry Andric 8b0d8e9f2f 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
2013-03-07 22:16:35 +00:00
..
dtracetoolkit Finish porting execsnoop to FreeBSD. This includes replacing the zonename 2012-09-01 08:14:21 +00:00
opensolaris Make ctfconvert work correctly on clang-compiled object files. Clang 2013-03-07 22:16:35 +00:00