Date: Thu, 18 Oct 2007 02:13:52 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 127646 for review Message-ID: <200710180213.l9I2DqkV084689@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127646 Change 127646 by jb@jb_freebsd1 on 2007/10/18 02:13:15 The start of a BSD licensed libdwarf. The API differs from the GNU libdwarf (from SGI) which differs from the GNU libdwarf (from Red Hat). The functionality here so far is adequate for DTrace's CTF tools. The client does not need to keep track of allocated memory like the GNU versions do. This code assumes the use of FreeBSD's libelf. In particular it assumes that it is OK to open an ELF file read-only, call elf_getdata() and then modify the in-memory data buffer. This is important because any optimisation level in gcc causes the generation of debug sections with RELA sections. Affected files ... .. //depot/projects/dtrace/src/lib/libdwarf/Makefile#1 add .. //depot/projects/dtrace/src/lib/libdwarf/_libdwarf.h#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf.h#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_abbrev.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_attr.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_attrval.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_cu.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_dealloc.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_die.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_dump.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_errmsg.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_errno.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_finish.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_form.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_init.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/dwarf_loc.c#1 add .. //depot/projects/dtrace/src/lib/libdwarf/libdwarf.h#1 add Differences ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710180213.l9I2DqkV084689>