From 21f9c8de53936ad5aa9e1f37cc68efa493c2ca94 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Mar 2010 06:50:56 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index b5f7270ba5e..4a64202c478 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);