forked from OSchip/llvm-project
fix a bug I introduced in r98459, causing some NNT failures.
llvm-svn: 98470
This commit is contained in:
parent
b65a14802c
commit
04857fab70
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue