diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2015-12-06 23:05:38 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2015-12-06 23:05:38 +0000 |
commit | 0ef8ccf96810de9c04655c692024df16acacd7c8 (patch) | |
tree | a0f658fe8e16cac7585a2dd820fef8defc63bc44 /lldb/packages/Python/lldbsuite/test | |
parent | 38e93ea1ccf7e3fabfb04f08b79209f494db8fa7 (diff) | |
download | bcm5719-llvm-0ef8ccf96810de9c04655c692024df16acacd7c8.tar.gz bcm5719-llvm-0ef8ccf96810de9c04655c692024df16acacd7c8.zip |
[Verifier] Fix !dbg validation if Scope is the Subprogram
Summary:
We are inserting both Scope and SP into the Seen map and check whether
it was already there in which case we skip the validation (the idea
being that we already checked this Subprogram before). However,
if (Scope == SP) as MDNodes, then inserting the Scope, will trigger
the Seen check causing us to incorrectly not validate this !dbg
attachment. Fix this by not performing the SP Seen check if Scope == SP
Reviewers: pcc, dexonsmith, dblaikie
Subscribers: dblaikie, llvm-commits
Differential Revision: http://reviews.llvm.org/D14697
llvm-svn: 254887
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions