diff options
| author | David Blaikie <dblaikie@gmail.com> | 2013-02-02 00:34:16 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2013-02-02 00:34:16 +0000 |
| commit | ef50169a036f3973d0f1e2ca4cb14edd0486c40e (patch) | |
| tree | 147aac29ea696e9276c413cdbbb2ba1266881fcb /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 00c69a597cd9ca62c392f8e09c2698e2740d7241 (diff) | |
Basics
llvm-svn: 174246
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 729cdba4dee9..119b90aa0816 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -191,6 +191,7 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) { // Emit debug descriptor for function end. if (CGDebugInfo *DI = getDebugInfo()) { DI->EmitFunctionEnd(Builder); + DI->setLocation(EndLoc); } EmitFunctionEpilog(*CurFnInfo); |
