diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-01-09 23:00:28 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-01-09 23:00:28 +0000 |
commit | f353d3ecd0329884110a8bd39f28b5cc111c9a69 (patch) | |
tree | 070b18a0745ca81118c1a5e32351cdcadcceb79e /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | a10379ad49b9a102d9f6ab1bdafba67dc42f430b (diff) | |
download | bcm5719-llvm-f353d3ecd0329884110a8bd39f28b5cc111c9a69.tar.gz bcm5719-llvm-f353d3ecd0329884110a8bd39f28b5cc111c9a69.zip |
Revert "DebugInfo: Generalize debug info location handling" and related commits
This reverts commit r225000, r225021, r225083, r225086, r225090.
The root change (r225000) still has several issues where it's caused
calls to be emitted without debug locations. This causes assertion
failures if/when those calls are inlined.
I'll work up some test cases and fixes before recommitting this.
llvm-svn: 225555
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index 09352f12160..73bb43654b4 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -86,13 +86,13 @@ static void EmitOMPIfClause(CodeGenFunction &CGF, const Expr *Cond, // Emit the 'else' code if present. { // There is no need to emit line number for unconditional branch. - ApplyDebugLocation DL(CGF); + SuppressDebugLocation SDL(CGF.Builder); CGF.EmitBlock(ElseBlock); } CodeGen(/*ThenBlock*/ false); { // There is no need to emit line number for unconditional branch. - ApplyDebugLocation DL(CGF); + SuppressDebugLocation SDL(CGF.Builder); CGF.EmitBranch(ContBlock); } // Emit the continuation block for code after the if. |