[PATCH] D102315: [llvm-dwp] Adding support for v5 index writing

Kim-Anh Tran via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 04:25:11 PDT 2021


kimanh created this revision.
Herald added a subscriber: arphaman.
kimanh added a reviewer: dblaikie.
kimanh added a subscriber: pfaffe.
kimanh published this revision for review.
kimanh added a comment.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Hello Dave,

this is the second CL (out of 3): adding support for writing v5 index with the example of .debug_macro, ptal!


This patch adds general support for DWARFv5 index writing.
In particular, this means only allowing inputs with one version,
either DWARFv5 or DWARFv4.

This patch adds the .debug_macro section as an example,
but the DWARFv5 type support and loc and rangelists are still
missing (and upcoming).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102315

Files:
  llvm/test/tools/llvm-dwp/X86/debug_macro_v5.s
  llvm/test/tools/llvm-dwp/X86/incompatible_cu_index_versions.s
  llvm/test/tools/llvm-dwp/X86/info-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: D102315.344704.patch
Type: text/x-patch
Size: 17925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210512/8c16a433/attachment.bin>


More information about the llvm-commits mailing list