[PATCH] D47263: [dwarfdump] Have -c and -p work together

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 23 08:19:55 PDT 2018


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, dblaikie, probinson.
Herald added a subscriber: hiraditya.

When requesting to dump both the parent chain and children, we used to
print the DIE more than once because we propagated the dump options to
the parent without clearing the respective flags. This commit fixes this
oversight and adds a test.

rdar://39415292


Repository:
  rL LLVM

https://reviews.llvm.org/D47263

Files:
  llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
  llvm/test/tools/llvm-dwarfdump/X86/enum.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47263.148221.patch
Type: text/x-patch
Size: 14795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180523/5ccd9c7b/attachment.bin>


More information about the llvm-commits mailing list