diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 03:40:37 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 03:40:37 +0000 |
commit | 537b4a8159fc07709b9cb4b8c4e65c6deae358b3 (patch) | |
tree | aabc381361f0e80b53ac261c8aaa936a7d0782e1 /llvm/lib/IR/Verifier.cpp | |
parent | 68adb7da1abdca258ccfb87e929a42fd7e7af940 (diff) | |
download | bcm5719-llvm-537b4a8159fc07709b9cb4b8c4e65c6deae358b3.tar.gz bcm5719-llvm-537b4a8159fc07709b9cb4b8c4e65c6deae358b3.zip |
DebugInfo: Gut DISubprogram and DILexicalBlock*
Gut the `DIDescriptor` wrappers around `MDLocalScope` subclasses. Note
that `DILexicalBlock` wraps `MDLexicalBlockBase`, not `MDLexicalBlock`.
llvm-svn: 234850
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index ba1a8e8b762..2034f8b54f8 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -991,7 +991,7 @@ void Verifier::visitMDSubprogram(const MDSubprogram &N) { continue; // FIXME: Once N is canonical, check "SP == &N". - Assert(DISubprogram(SP).describes(F), + Assert(SP->describes(F), "!dbg attachment points at wrong subprogram for function", &N, F, &I, DL, Scope, SP); } |