commit | 98ac263943471aa03c28bc78ee05778e3d3f49fd | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Sat May 26 19:39:56 2018 +0000 |
committer | Jonas Devlieghere <jonas@devlieghere.com> | Sat May 26 19:39:56 2018 +0000 |
tree | 9f88b3b5b9ed443863ba7b78f9909e77fd396684 | |
parent | bfcd30f542b11ed6da7a5dc99cfb882825f9be33 [diff] |
[dwarfdump] Make -c and -p work together 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 Differential revision: https://reviews.llvm.org/D47263 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333350 91177308-0d34-0410-b5e6-96231b3b80d8