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
This commit is contained in:
Chris Lattner 2010-03-14 06:50:56 +00:00
parent 5e81716425
commit 21f9c8de53

View 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);