[PATCH] D38719: [llvm-dwarfdump] Verify compatible TAG for attributes.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 20 00:40:13 PDT 2018


JDevlieghere updated this revision to Diff 166228.
JDevlieghere marked an inline comment as done.
JDevlieghere added a comment.

- Add check for equal tags to cover case where both are subprograms, both are formal params.
- Ran verifier over clang, no errors.
- Ran verifier over GCC generated binary I had laying around, also no errors.


https://reviews.llvm.org/D38719

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
  llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
  llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
  llvm/test/tools/llvm-dwarfdump/X86/verify_compatible_tags.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38719.166228.patch
Type: text/x-patch
Size: 20689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180920/c33ef665/attachment.bin>


More information about the llvm-commits mailing list