9 Commits

Author SHA1 Message Date
Chris Johns
c1e38871b2 rtemstoolkit/dwarf: Fix some C++ handling issues. 2019-09-02 10:11:37 +10:00
Chris Johns
3d2db56f7d Fix warnings on Windows. 2018-11-29 05:45:21 +11:00
Chris Johns
317d85d71f rtemstoolkit/dwarf: Add types of inline. Report machine code size not span.
- Add the types of inlined functions to the interface.

- Return the machine code for each function and not the address span.
2018-08-07 09:11:29 +10:00
Chris Johns
d3318eb351 rtemstoolkit/dwarf: C++ object relates fixes and a dump report.
- Various C++ object fixes that improve stability where data from
  libdwarf is moving between object instances.
- Functions now provide better detail with inlined functions picking
  up attributes from an abstrtact DIE.
- Dump to a provide stream not stdout.
2018-08-07 09:11:29 +10:00
Chris Johns
ddcf29f18d rtemstoolkit/dwarf: Fix function loading with an DW_AT_specification attr. 2018-06-24 15:38:07 +10:00
Chris Johns
d8eef0a463 rtemstoolkit: Add DWARF function support.
Load the functions in each CU.
2018-06-18 12:26:16 +10:00
Chris Johns
1cab261a78 rtemstoolkit/dwarf: Fixes for getting source lines. 2018-06-18 12:26:16 +10:00
Chris Johns
1c8538039e rtemstoolkit/dwarf: Change the address source line to signed so valid() works.
Also add a check to valid where there must be source to be valid.
2018-06-18 12:26:16 +10:00
Chris Johns
558cab8e4f rtemstoolkit: Add libdwarf C++ interface.
Provide a C++ interface to libdwarf to:
 - Manage DWARF debug data
 - Manage CU
 - Manage DIE
 - Handle CU line addresses
 - Handle CU source files

Update #3417
2018-06-15 15:54:25 +10:00