]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r260880 (by kaiw, from projects/elftoolchain):
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 29 Mar 2014 17:18:23 +0000 (17:18 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 29 Mar 2014 17:18:23 +0000 (17:18 +0000)
commit9c67f020ff158ac56b0f3402341c1da7c6ba7eee
tree60964517105fd2d41bc6b90895134eac7927d9d5
parentba0db3619de2185de8a99eb5c69fc30dbf341b2a
MFC r260880 (by kaiw, from projects/elftoolchain):

  * Make die_mem_offset() be able to handle DW_AT_data_member_location
    attributes generated by Clang 3.4.
  * Document how different compilers generate DW_AT_data_member_location
    attributes differently.
  * Document the quirks about DW_FORM_data[48].

This is a slightly modified version, adapted to work with the old
libdwarf in stable/9 and stable/10.  It should fix DTrace on these
branches, when the kernel is compiled with clang 3.4.

Note that you have to build *and* install the CTF tools first, before
building the kernel.  Otherwise you can possibly still get error
messages similar to "failed to copy type of 'pr_uid': Type information
is in parent and unavailable", when attempting to run dtrace(1).

Submitted by: kaiw

git-svn-id: svn://svn.freebsd.org/base/stable/9@263915 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c