[PATCH] D139638: [llvm-dwarfutil] Add accelerator tables to dwarfutil
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 08:39:24 PST 2022
avl created this revision.
avl added reviewers: JDevlieghere, clayborg, aprantl, dblaikie.
Herald added subscribers: hiraditya, emaste.
Herald added a project: All.
avl requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.
This patch allows llvm-dwarfutil to utilize accelerator tables
generation code from DWARFLinker. It adds command line option:
--build-accelerator [none,DWARF]
Build accelerator tables(default: none)
=none - Do not build accelerators
=DWARF - Build accelerator tables according to the resulting DWARF version
DWARFv4: .debug_pubnames and .debug_pubtypes
DWARFv5: .debug_names
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139638
Files:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/DWARFLinker/DWARFLinker.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/DWARFLinker/DWARFLinker.cpp
llvm/lib/DWARFLinker/DWARFStreamer.cpp
llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/dwarf5.out
llvm/test/tools/llvm-dwarfutil/ELF/X86/accelerator-dwarf4.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/accelerator-dwarf5.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/verbose.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-names.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-pubnames.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-pubtypes.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-names.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-pubnames.test
llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-pubtypes.test
llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
llvm/tools/llvm-dwarfutil/Options.h
llvm/tools/llvm-dwarfutil/Options.td
llvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp
llvm/unittests/CodeGen/TestAsmPrinter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139638.481292.patch
Type: text/x-patch
Size: 24707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221208/5c95f321/attachment.bin>
More information about the llvm-commits
mailing list