diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-08-21 22:46:45 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-08-21 22:46:45 +0000 |
commit | b84498497b1c46c19a82f65eafe75a28a17716b1 (patch) | |
tree | 4351d257d49d025c34a57317e54904be02bf86da /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 2f3f76fdb14a25fa27773bf415f61d7b10d53d62 (diff) | |
download | bcm5719-llvm-b84498497b1c46c19a82f65eafe75a28a17716b1.tar.gz bcm5719-llvm-b84498497b1c46c19a82f65eafe75a28a17716b1.zip |
Update for LLVM API change to remove discriminator tracking from DILexicalBlock (in favor of DILexicalBlockFile - where a default arg is used to avoid the need for API churn of those callers)
llvm-svn: 216240
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index d621755fba6..0b20f541b68 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -2596,8 +2596,7 @@ void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) { llvm::DIDescriptor D = DBuilder.createLexicalBlock( llvm::DIDescriptor(LexicalBlockStack.empty() ? nullptr : LexicalBlockStack.back()), - getOrCreateFile(CurLoc), getLineNumber(CurLoc), getColumnNumber(CurLoc), - 0); + getOrCreateFile(CurLoc), getLineNumber(CurLoc), getColumnNumber(CurLoc)); llvm::MDNode *DN = D; LexicalBlockStack.push_back(DN); } |