llvm-project/llvm/tools/llvm-dwarfutil
Alexey Lapshin e74197bc12 [Reland][Debuginfo][llvm-dwarfutil] Add check for unsupported debug sections.
Current DWARFLinker implementation does not support some debug sections
(mainly DWARF v5 sections). This patch adds diagnostic for such sections.
The warning would be displayed for critical(such that could not be removed)
sections and the source file would be skipped. Other unsupported sections
would be removed and warning message should be displayed. The zero exit
status would be returned for both cases.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D123623
2022-07-28 21:29:16 +03:00
..
CMakeLists.txt [Reland][Debuginfo][llvm-dwarfutil] llvm-dwarfutil dsymutil-like tool for ELF. 2022-07-19 15:11:36 +03:00
DebugInfoLinker.cpp [Reland][Debuginfo][llvm-dwarfutil] Add check for unsupported debug sections. 2022-07-28 21:29:16 +03:00
DebugInfoLinker.h [Reland][Debuginfo][llvm-dwarfutil] Add check for unsupported debug sections. 2022-07-28 21:29:16 +03:00
Error.h [Reland][Debuginfo][llvm-dwarfutil] llvm-dwarfutil dsymutil-like tool for ELF. 2022-07-19 15:11:36 +03:00
Options.h [Reland][Debuginfo][llvm-dwarfutil] llvm-dwarfutil dsymutil-like tool for ELF. 2022-07-19 15:11:36 +03:00
Options.td [Reland][Debuginfo][llvm-dwarfutil] llvm-dwarfutil dsymutil-like tool for ELF. 2022-07-19 15:11:36 +03:00
llvm-dwarfutil.cpp [Reland][Debuginfo][llvm-dwarfutil] Add check for unsupported debug sections. 2022-07-28 21:29:16 +03:00