fix a bug I introduced in r98459, causing some NNT failures.

llvm-svn: 98470
This commit is contained in:
Chris Lattner 2010-03-14 06:50:56 +00:00
parent b65a14802c
commit 04857fab70
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ void DwarfException::EmitExceptionTable() {
// number of 16-byte bundles. The first call site is counted relative to // number of 16-byte bundles. The first call site is counted relative to
// the start of the procedure fragment. // the start of the procedure fragment.
Asm->OutStreamer.AddComment("Region start"); Asm->OutStreamer.AddComment("Region start");
EmitSectionOffset(EHFuncBeginSym, EndLabel, true); EmitSectionOffset(BeginLabel, EHFuncBeginSym, true, true);
Asm->OutStreamer.AddComment("Region length"); Asm->OutStreamer.AddComment("Region length");
EmitDifference(EndLabel, BeginLabel, true); EmitDifference(EndLabel, BeginLabel, true);