Wolfgang Pieb
3fb9e3f398
[DWARF v5][NFC]: Refactor DebugRnglists to prepare for the support of the DW_AT_ranges
...
attribute in conjunction with .debug_rnglists.
Reviewers: JDevlieghere
Differential Revision: https://reviews.llvm.org/D45307
llvm-svn: 329345
2018-04-05 21:01:49 +00:00
Wolfgang Pieb
ab068eaa57
[DWARF][DWARF v5]: Adding support for dumping DW_RLE_offset_pair and DW_RLE_base_address
...
Reviewers: dblakie, aprantl
Differential Revision: https://reviews.llvm.org/D44811
llvm-svn: 328662
2018-03-27 20:27:36 +00:00
Benjamin Kramer
70e6faaa0d
[DebugInfo] Move RangeListEntries instead of copying.
...
This is needed for correctness as RangeListEntry is not copy-assignable,
which std::vector might rely on.
llvm-svn: 327067
2018-03-08 21:31:10 +00:00
Zachary Turner
145bc6e0d3
Fix compilation failure with MSVC.
...
llvm-svn: 327063
2018-03-08 21:07:30 +00:00
Wolfgang Pieb
a0729d4126
[DWARF v5] Support for verbose dumping of .debug_rnglist entries
...
Adding verbose dumping to the recent implementation of dumping of v5 range list entries.
We're capturing the entries as is as they come in during extraction, including their file offset,
so we can dump them in more detail.
The offset table entries which are table-relative are shown as is (as in non-verbose mode)
and with the actual file offset they map to.
Reviewers: dblaikie, aprantl, jdevlieghere, jhenderson
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43366
llvm-svn: 327059
2018-03-08 20:52:35 +00:00
James Henderson
10392cdbf7
Fix more print format specifiers in debug_rnglists dumping
...
See also r324096.
I have made the assumption that DWARF64 is not an issue for the time
being with these fixes.
llvm-svn: 324223
2018-02-05 10:47:13 +00:00
Simon Pilgrim
3d5ee7aa41
Fix MSVC signed/unsigned comparison warning. NFCI.
...
llvm-svn: 324171
2018-02-03 12:38:56 +00:00
James Henderson
2465633234
Fix type sizes that were causing incorrect string formatting
...
llvm-svn: 324096
2018-02-02 15:09:31 +00:00
James Henderson
c2dfd502a2
Add missing new files from r324077
...
Differential Revision: https://reviews.llvm.org/D42481
llvm-svn: 324078
2018-02-02 12:45:57 +00:00