freebsd-dev/cddl/contrib/opensolaris
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
..
cmd MFV r247845: 2013-03-05 18:54:41 +00:00
common MFV OpenSolaris DTrace userland bits. 2010-08-02 13:40:53 +00:00
head thr_create: new_thread_ID may be NULL 2011-10-21 13:54:58 +00:00
lib Fix the zfs_ioctl compat layer to support zfs_cmd size change introduced 2013-03-01 09:42:58 +00:00
tools/ctf Make ctfconvert work correctly on clang-compiled object files. Clang 2013-03-07 22:16:35 +00:00
OPENSOLARIS.LICENSE Now that we have CDDLed code in the tree, add CDDL license. 2007-09-23 07:04:50 +00:00