[PATCH] D83050: [DebugInfo] Add more checks to parsing .debug_pub* sections.
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 07:31:20 PDT 2020
ikudrin created this revision.
ikudrin added reviewers: jhenderson, dblaikie, aprantl, probinson, MaskRay.
ikudrin added projects: LLVM, lld, debug-info.
Herald added subscribers: arphaman, hiraditya, arichardson, emaste.
Herald added a reviewer: espindola.
ikudrin added a parent revision: D83049: [DebugInfo] Do not hang when parsing a malformed .debug_pub* section..
ikudrin edited reviewers, added: labath; removed: espindola.
Herald added a reviewer: espindola.
The patch adds checking for various potential issues in parsing name lookup tables and reporting them as recoverable errors, similarly as we do for other tables.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83050
Files:
lld/ELF/SyntheticSections.cpp
lld/test/ELF/Inputs/gdb-index.s
lld/test/ELF/gdb-index-invalid-pubnames.s
lld/test/ELF/gdb-index.s
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
llvm/test/DebugInfo/X86/dwarfdump-debug-pubnames-invalid.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83050.275107.patch
Type: text/x-patch
Size: 10170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200702/2c39d133/attachment.bin>
More information about the llvm-commits
mailing list