[PATCH] D83050: [DebugInfo] Add more checks to parsing .debug_pub* sections.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 12:54:07 PDT 2020


ikudrin updated this revision to Diff 275708.
ikudrin marked 10 inline comments as done.
ikudrin added a comment.

Thanks, @jhenderson!

- Use `Cursor` in the loop from the beginning.
- Fix typos.
- Extended tests.
- Removed the old test; Moved the checks to the new test file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83050/new/

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/tools/llvm-dwarfdump/X86/debug_pub_tables_error_cases.s
  llvm/test/tools/llvm-dwarfdump/X86/debug_pub_tables_invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83050.275708.patch
Type: text/x-patch
Size: 15184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200706/25cfc18f/attachment-0001.bin>


More information about the llvm-commits mailing list