diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-12-17 18:02:04 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-12-17 18:02:04 +0000 |
commit | 06b2c54db9132bc7b6e599c2a3252ea7f2a8b33b (patch) | |
tree | 1f82c3bcffe8b94b88453af46106a2aae3c897b5 /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | e4c9cf04f5be0547938e5442caa10a3f56073a8f (diff) | |
download | bcm5719-llvm-06b2c54db9132bc7b6e599c2a3252ea7f2a8b33b.tar.gz bcm5719-llvm-06b2c54db9132bc7b6e599c2a3252ea7f2a8b33b.zip |
Revert "DebugInfo: Generalize debug info location handling"
Fails an ASan bootstrap - I'll try to reproduce locally & sort that out
before recommitting.
This reverts commit r224385.
llvm-svn: 224441
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. |