aboutsummaryrefslogtreecommitdiffstats
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
commitc6169fc4776a1474166362fd2343f2296b298d75 (patch)
tree26aa28ba91e015067ac62a3cc4de13eb30fe3021 /lib/CodeGen/AsmPrinter/DwarfException.cpp
parent3e8cf986852d23757aca6172589f1554d517e13f (diff)
downloadexternal_llvm-c6169fc4776a1474166362fd2343f2296b298d75.zip
external_llvm-c6169fc4776a1474166362fd2343f2296b298d75.tar.gz
external_llvm-c6169fc4776a1474166362fd2343f2296b298d75.tar.bz2
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 b5f7270..4a64202 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);