aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorCalixte Denizet <cdenizet@mozilla.com>2018-09-24 18:24:18 +0000
committerCalixte Denizet <cdenizet@mozilla.com>2018-09-24 18:24:18 +0000
commitfcd661d2786b7915919e5422da37a9539cc44882 (patch)
tree1ac2cf58d6b4493cf74a69fc2f3075eb39ba71eb /clang/lib/CodeGen/CodeGenFunction.cpp
parent9177cf411e759ae7f709d584c2fc4f7ac5cc2c93 (diff)
downloadllvm-fcd661d2786b7915919e5422da37a9539cc44882.zip
llvm-fcd661d2786b7915919e5422da37a9539cc44882.tar.gz
llvm-fcd661d2786b7915919e5422da37a9539cc44882.tar.bz2
[CodeGen] Revert commit https://reviews.llvm.org/rL342717
llvm-svn: 342912
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 8fa0bad..77f978f 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -317,7 +317,7 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
if (OnlySimpleReturnStmts)
DI->EmitLocation(Builder, LastStopPoint);
else
- DI->EmitLocation(Builder, EndLoc, true /* ImplicitCode */);
+ DI->EmitLocation(Builder, EndLoc);
}
// Pop any cleanups that might have been associated with the
@@ -333,7 +333,7 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
// the ret after it's been at EndLoc.
if (CGDebugInfo *DI = getDebugInfo())
if (OnlySimpleReturnStmts)
- DI->EmitLocation(Builder, EndLoc, true /* ImplicitCode */);
+ DI->EmitLocation(Builder, EndLoc);
PopCleanupBlocks(PrologueCleanupDepth);
}
@@ -1179,7 +1179,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD,
}
// Emit a location at the end of the prologue.
if (CGDebugInfo *DI = getDebugInfo())
- DI->EmitLocation(Builder, StartLoc, true /* ImplicitCode */);
+ DI->EmitLocation(Builder, StartLoc);
// TODO: Do we need to handle this in two places like we do with
// target-features/target-cpu?