diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-01 19:09:49 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-01 19:09:49 +0000 |
commit | 357aafb566cdaf5ac689d787f08db998545ce1e1 (patch) | |
tree | 4ab90c3ed7a6288290e8bda8738e2c1f36de88c6 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | d0ef72808ce5474add9ecbf8d7d6b5e7620b6d8e (diff) | |
download | bcm5719-llvm-357aafb566cdaf5ac689d787f08db998545ce1e1.tar.gz bcm5719-llvm-357aafb566cdaf5ac689d787f08db998545ce1e1.zip |
Fix exception handling line table problems introduced by r173593
r173593 made us a little too eager to associate all code at the end of a
function with the user-written 'return' line. This caused problems with
breakpoints as they'd be set in exception handling code preceeding the
actual non-exception return handling code, leading to the breakpoint never
being hit in non-exceptional execution.
This change restores the pre-r173593 exception handling line information where
the cleanup code is associated with the '}' not the return line.
llvm-svn: 174206
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 15fd10ccc43..94faac01ad2 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1413,7 +1413,7 @@ public: /// EmitReturnBlock - Emit the unified return block, trying to avoid its /// emission when possible. - bool EmitReturnBlock(); + void EmitReturnBlock(); /// FinishFunction - Complete IR generation of the current function. It is /// legal to call this function even if there is no current insertion point. |