[PATCH] D43092: [DebugInfo] Prevent infinite recursion for malformed DWARF
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 14:50:40 PST 2018
JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, dblaikie, probinson.
JDevlieghere added a project: debug-info.
Herald added a subscriber: hiraditya.
This prevents infinite recursion in DWARFDie::findRecursively for
malformed DWARF where a DIE references itself.
https://bugs.llvm.org/PR36257
Repository:
rL LLVM
https://reviews.llvm.org/D43092
Files:
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
llvm/test/tools/llvm-dwarfdump/X86/invalid_abstract_origin.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43092.133496.patch
Type: text/x-patch
Size: 13135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180208/b62ccd6b/attachment.bin>
More information about the llvm-commits
mailing list