// Use the assembler to compute the number of table entries through label
// difference and division.
- MCSymbol *TableBegin = Ctx.createTempSymbol("lsda_begin");
- MCSymbol *TableEnd = Ctx.createTempSymbol("lsda_end");
+ MCSymbol *TableBegin =
+ Ctx.createTempSymbol("lsda_begin", /*AlwaysAddSuffix=*/true);
+ MCSymbol *TableEnd =
+ Ctx.createTempSymbol("lsda_end", /*AlwaysAddSuffix=*/true);
const MCExpr *LabelDiff =
MCBinaryExpr::createSub(MCSymbolRefExpr::create(TableEnd, Ctx),
MCSymbolRefExpr::create(TableBegin, Ctx), Ctx);
; CHECK: jmp .LBB1_[[epilogue]]
; CHECK: .seh_handlerdata
-; CHECK-NEXT: .long (.Ltmp14-.Ltmp13)/16
-; CHECK-NEXT: .Ltmp13:
+; CHECK-NEXT: .long (.Llsda_end0-.Llsda_begin0)/16
+; CHECK-NEXT: .Llsda_begin0:
; CHECK-NEXT: .long .Ltmp0@IMGREL
; CHECK-NEXT: .long .Ltmp1@IMGREL+1
; CHECK-NEXT: .long 1
; CHECK-NEXT: .long .Ltmp3@IMGREL+1
; CHECK-NEXT: .long "?filt$0@0@main@@"@IMGREL
; CHECK-NEXT: .long .LBB1_6@IMGREL
-; CHECK-NEXT: .Ltmp14:
+; CHECK-NEXT: .Llsda_end0:
; CHECK: .text
; CHECK: .seh_endproc