Home | History | Annotate | only in /external/valgrind/coregrind/m_debuginfo
Up to higher level directory
NameDateSize
d3basics.c21-Aug-201846.4K
debuginfo.c21-Aug-2018150.5K
image.c21-Aug-201845K
lzoconf.h21-Aug-201814.9K
lzodefs.h21-Aug-201866.8K
minilzo-inl.c21-Aug-2018138.1K
minilzo.h21-Aug-20183.6K
misc.c21-Aug-20187.4K
priv_d3basics.h21-Aug-201821.4K
priv_image.h21-Aug-201812.8K
priv_misc.h21-Aug-20184.3K
priv_readdwarf.h21-Aug-20182.6K
priv_readdwarf3.h21-Aug-20182.3K
priv_readelf.h21-Aug-20182.3K
priv_readexidx.h21-Aug-20181.9K
priv_readmacho.h21-Aug-20182.1K
priv_readpdb.h21-Aug-20182.4K
priv_storage.h21-Aug-201842.2K
priv_tytypes.h21-Aug-20187.9K
readdwarf.c21-Aug-2018144.9K
readdwarf3.c21-Aug-2018194.6K
readelf.c21-Aug-2018125.1K
readexidx.c21-Aug-201838.9K
readmacho.c21-Aug-201843.9K
README.txt21-Aug-20181.5K
readpdb.c21-Aug-201883.9K
storage.c21-Aug-201880.6K
tinfl.c21-Aug-201828.6K
tytypes.c21-Aug-201831.5K

README.txt

      1 
      2 On 4 Apr 06, the debuginfo reader (m_debuginfo) was majorly cleaned up
      3 and restructured.  It has been a bit of a tangle for a while.  On 18 Sep 14
      4 the STABS support was completely removed. The new structure looks like this:
      5 
      6                   debuginfo.c 
      7   
      8                    readelf.c
      9 
     10                   readdwarf.c
     11 
     12                    storage.c
     13 
     14 Each .c can only call those below it on the page.
     15 
     16 storage.c contains the SegInfo structure and stuff for 
     17 maintaining/searching arrays of symbols, line-numbers, and Dwarf CF 
     18 info records.
     19 
     20 readdwarf.c parses the relevant kind of info and call storage.c to
     21 store the results.
     22 
     23 readelf.c reads ELF format, hands syms directly to storage.c,
     24 then delegates to readdwarf.c for debug info.  All straightforward.
     25 
     26 debuginfo.c is the top-level file, and is quite small.
     27 
     28 There are 2 goals to this:
     29 
     30 (1) Generally tidy up something which needs tidying up
     31 
     32 (2) Introduce more modularity, so as to make it easier to add
     33     readers for other formats, if needed
     34 
     35 Rationale for (1) and (2) are obvious.
     36 
     37 Originally there was also goal (3) Simplify the stabs reader.
     38 But stabs support was broken since 3.9.0 and completely removed in 3.10.0.
     39 
     40 The worst thing is that it is the stabs type reader that was crashing,
     41 not the stabs line-number reader.
     42 Old versions of the stabs type reader can be found in the subversion repository
     43 as m_debuginfo/UNUSED_STABS.txt, the stabs line-number reader was in
     44 m_debuginfo/readstabs.c. The old version of this file explained more
     45 about the setup.
     46