Go to file
Arnaldo Carvalho de Melo 1e985b42eb [CLASSES]: Process DW_TAG_{union,structure}_type tags in cu__process_function
There are cases where just a declaration is emitted, such as in
blk_rq_map_user_iov's iov parameter:

 <2><dc04>: Abbrev Number: 29 (DW_TAG_structure_type)
     DW_AT_name        : (indirect string, offset: 0x3be8): sg_iovec
     DW_AT_declaration : 1
 <2><dc0a>: Abbrev Number: 88 (DW_TAG_formal_parameter)
     DW_AT_name        : iov
     DW_AT_decl_file   : 1
     DW_AT_decl_line   : 2472
     DW_AT_type        : <dc60>
     DW_AT_location    : 0x4288 (location list)

I.e. the DW_TAG_structure_type tag is emitted at the same level as the
DW_TAG_formal_parameter tags, so handled inside the cu__process_function
method.

This and the next cset only shows that a normalization in the parsing routines
is in real demand and will be done, normalization because what needs to be done
is similar to what is already done in places like cu__create_new_array, i.e.
process all the siblings in a level in tag specific cu methods.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2007-01-02 02:17:37 -02:00
cmake/modules [CMAKE]: Fix build on debian unstable 2006-12-20 10:16:45 -02:00
CMakeLists.txt [DTAGNAMES]: 6th dwarf 2006-12-28 14:03:42 -02:00
README [README]: Add information about packages required to build 2006-12-20 10:28:44 -02:00
README.ctracer [CTRACER]: New tool 2006-12-20 12:16:16 -02:00
classes.c [CLASSES]: Process DW_TAG_{union,structure}_type tags in cu__process_function 2007-01-02 02:17:37 -02:00
classes.h [CLASSES]: Make the derived class helpers be static inline 2007-01-02 02:11:38 -02:00
codiff.c [CLASSES]: Pave the way to reuse DW_TAG_subprogram prototype code 2006-12-30 16:34:20 -02:00
ctracer.c [CLASSES]: Pave the way to reuse DW_TAG_subprogram prototype code 2006-12-30 16:34:20 -02:00
dtagnames.c [CLASSES]: Become struct tag centric 2006-12-29 15:28:58 -02:00
list.h Repository creation. 2006-10-24 20:42:39 -03:00
pahole.c [CLASSES]: Become struct tag centric 2006-12-29 15:28:58 -02:00
pfunct.c [CLASSES]: Pave the way to reuse DW_TAG_subprogram prototype code 2006-12-30 16:34:20 -02:00
prefcnt.c [CLASSES]: Pave the way to reuse DW_TAG_subprogram prototype code 2006-12-30 16:34:20 -02:00

README

Build instructions:

1. install cmake
2. mkdir build
3. cd build
4. cmake ..
5. make

Known to work scenarios:

Mandriva Cooker:

cmake 2.4.5-1mdv2007.1
libelfutils1-devel 0.123-1mdv2007.1

Debian Unstable:

cmake 2.4.5-1
libdw-dev 0.123-2