[PATCH] D101818: Add support for DWARFv5 type units (and v5 index) to llvm-dwp ...
Kim-Anh Tran via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 3 23:55:32 PDT 2021
kimanh created this revision.
kimanh added reviewers: dblaikie, ikudrin.
Herald added a subscriber: arphaman.
kimanh requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
...[0/1892]
This patch adds support for DWARFv5 type units: parsing from
the .debug_info section, and writing index to the type unit index.
Previously, the type units were part of the .debug_types section
which is no longer used in DWARFv5.
In order to correctly index the type units, this patch is also
updating llvm-dwp to write cu/tu index version 5 (which was
previously also not possible since llvm-dwp could not process
DWARFv5 units, but that was recently fixed).
llvm-dwp is now capable of writing v5 and the pre-standard
index. In order to keep it consistent, this patch also
disallows inputs that make use of different DWARF and index
versions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101818
Files:
llvm/test/tools/llvm-dwp/Inputs/incompatible_versions/v4.s
llvm/test/tools/llvm-dwp/Inputs/incompatible_versions/v5.s
llvm/test/tools/llvm-dwp/X86/incompatible_cu_index_versions.s
llvm/test/tools/llvm-dwp/X86/incompatible_tu_index_versions.s
llvm/test/tools/llvm-dwp/X86/incompatible_unit_version.test
llvm/test/tools/llvm-dwp/X86/info-v5.s
llvm/test/tools/llvm-dwp/X86/tu_units_v5.s
llvm/test/tools/llvm-dwp/X86/type_dedup_v5.s
llvm/test/tools/llvm-dwp/X86/unsupported_cu_index_version.s
llvm/test/tools/llvm-dwp/X86/unsupported_tu_index_version.s
llvm/tools/llvm-dwp/llvm-dwp.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101818.342658.patch
Type: text/x-patch
Size: 33465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210504/8c04d18a/attachment.bin>
More information about the llvm-commits
mailing list