fix a bug I introduced in r98459, causing some NNT failures.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 06:50:56 +0000 (06:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 06:50:56 +0000 (06:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98470 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfException.cpp

index b5f7270ba5e7b5b7f866a5ffd13476851b89e0cc..4a64202c4784d53de4bcc0be56fee7415942d3be 100644 (file)
@@ -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);