aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-14 06:50:56 +0000
committerChris Lattner <sabre@nondot.org>2010-03-14 06:50:56 +0000
commit21f9c8de53936ad5aa9e1f37cc68efa493c2ca94 (patch)
tree26aa28ba91e015067ac62a3cc4de13eb30fe3021 /lib/CodeGen/AsmPrinter/DwarfException.cpp
parent5e81716425dc3373fbc834bfa7936a5c1205579b (diff)
fix a bug I introduced in r98459, causing some NNT failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index b5f7270ba5..4a64202c47 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -810,7 +810,7 @@ void DwarfException::EmitExceptionTable() {
// number of 16-byte bundles. The first call site is counted relative to
// the start of the procedure fragment.
Asm->OutStreamer.AddComment("Region start");
- EmitSectionOffset(EHFuncBeginSym, EndLabel, true);
+ EmitSectionOffset(BeginLabel, EHFuncBeginSym, true, true);
Asm->OutStreamer.AddComment("Region length");
EmitDifference(EndLabel, BeginLabel, true);