freebsd-dev/cddl
Kai Wang d32f014939 Clang 3.4 will sometimes emit DIE for struct/union member before
emitting the DIE for the type of that member. ctfconvert can not
handle this properly and will calculate a wrong member bit offset.
Same struct/union type from different .o file will be treated as
different types when their member bit offsets are different, and
gets added/merged multiple times. This will in turn cause many other
structs/pointers/typedefs that refer to the duplicated struct/union
gets added/merged multiple times and eventually causes numerous
duplicated CTF types in the kernel.debug file.

The simple workaround here is to make use of DW_AT_byte_size attribute
of the member DIE to calculate the bits occupied by the member's type,
without actually resolving the type.
2014-01-20 01:35:14 +00:00
..
compat/opensolaris Fix an obvious typo. 2012-07-04 17:36:26 +00:00
contrib Clang 3.4 will sometimes emit DIE for struct/union member before 2014-01-20 01:35:14 +00:00
lib spelling in comments fixup 2013-11-04 19:32:35 +00:00
sbin WiP merge of libzfs_core (MFV r238590, r238592) 2013-03-05 08:09:53 +00:00
usr.bin Build all ZFS testing & debugging tools with -g. 2013-08-27 04:01:31 +00:00
usr.sbin Convert the lockstat(1) man page to mdoc and make sure that it gets 2013-10-27 16:01:11 +00:00
Makefile Apply a set of style.Makefile(5) changes to src/cddl/ makefiles. 2007-04-16 21:20:26 +00:00
Makefile.inc Do not lint code beyond necessity (with apologies to Wiliam of Ockham). 2010-11-18 16:32:52 +00:00