diff options
| author | Calixte Denizet <cdenizet@mozilla.com> | 2018-09-24 18:24:18 +0000 |
|---|---|---|
| committer | Calixte Denizet <cdenizet@mozilla.com> | 2018-09-24 18:24:18 +0000 |
| commit | fcd661d2786b7915919e5422da37a9539cc44882 (patch) | |
| tree | 1ac2cf58d6b4493cf74a69fc2f3075eb39ba71eb /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 9177cf411e759ae7f709d584c2fc4f7ac5cc2c93 (diff) | |
| download | llvm-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.cpp | 6 |
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? |
