[PATCH] D140223: [DWARFv4][DWARFv5][DWARFLinker] support debug_macinfo/debug_macro tables.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 08:22:32 PST 2022


avl created this revision.
avl added reviewers: JDevlieghere, clayborg, aprantl, dblaikie.
Herald added subscribers: hiraditya, krytarowski, emaste.
Herald added a project: All.
avl requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

This patch adds handling of debug_macinfo/debug_macro tables to the DWARFLinker.
It uses already existing code for reading tables from DWARFDebugMacro.h.
It adds new code writing tables into the DwarfStreamer::emitMacroTables.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140223

Files:
  llvm/include/llvm/DWARFLinker/DWARFLinker.h
  llvm/include/llvm/DWARFLinker/DWARFStreamer.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
  llvm/include/llvm/MC/MCStreamer.h
  llvm/lib/DWARFLinker/DWARFLinker.cpp
  llvm/lib/DWARFLinker/DWARFStreamer.cpp
  llvm/lib/MC/MCObjectStreamer.cpp
  llvm/lib/MC/MCStreamer.cpp
  llvm/test/tools/dsymutil/X86/module-warnings.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/dwarf4-macro.out
  llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/dwarf5-macro.out
  llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf4-macro-short.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf4-macro-vendor-specific.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf4-macro.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-macro-opcodeop.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-macro-short.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-macro.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-macinfo.test
  llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-macro.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140223.483554.patch
Type: text/x-patch
Size: 424445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221216/f6fae487/attachment-0001.bin>


More information about the llvm-commits mailing list