1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/tools/dsymutil
Pavel Labath 96888349a9 DWARFDebugLoc(v4): Add an incremental parsing function
Summary:
This adds a visitLocationList function to the DWARF v4 location lists,
similar to what already exists for DWARF v5. It follows the approach
outlined in previous patches (D69672), where the parsed form is always
stored in the DWARF v5 format, which makes it easier for generic code to
be built on top of that. v4 location lists are "upgraded" during
parsing, and then this upgrade is undone while dumping.

Both "inline" and section-based dumping is rewritten to reuse the
existing "generic" location list dumper. This means that the output
format is consistent for all location lists (the only thing one needs to
implement is the function which prints the "raw" form of a location
list), and that debug_loc dumping correctly processes base address
selection entries, etc.

The previous existing debug_loc functionality (e.g.,
parseOneLocationList) is rewritten on top of the new API, but it is not
removed as there is still code which uses them. This will be done in
follow-up patches, after I build the API to access the "interpreted"
location lists in a generic way (as that is what those users really
want).

Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69847
2019-11-15 13:38:00 +01:00
..
ARM
Inputs [dsymutil] Add support for linking remarks 2019-11-01 15:38:49 -07:00
X86 DWARFDebugLoc(v4): Add an incremental parsing function 2019-11-15 13:38:00 +01:00
absolute_symbol.test
arch-option.test
archive-timestamp.test
basic-linking.test [dsymutil] Improve verbose output (NFC) 2019-10-08 22:03:13 +00:00
cmdline.test [dsymutil] Add support for linking remarks 2019-11-01 15:38:49 -07:00
debug-map-parsing.test
dump-symtab.test
fat-binary-output.test
null-die.test
yaml-object-address-rewrite.test