diff options
author | Devang Patel <dpatel@apple.com> | 2010-04-13 00:08:43 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-04-13 00:08:43 +0000 |
commit | cd9199eb3dd1a665ea642f3918020a53e5ecb673 (patch) | |
tree | f25c2f70f1e5eb7c575650199c5242fc0e7c4df3 /lib/CodeGen/CGStmt.cpp | |
parent | df721408f54f87a790fb986dfd64984472a1f892 (diff) |
Fix debug info for cleanup block.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 6604b91db9..07c96d82ca 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -160,7 +160,7 @@ RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, EmitStmt(*I); if (DI) { - DI->setLocation(S.getLBracLoc()); + DI->setLocation(S.getRBracLoc()); DI->EmitRegionEnd(CurFn, Builder); } |