emitNops(NoopsInSledCount);
OutStreamer->emitLabel(PostSled);
- recordSled(CurSled, MI, Kind, 0);
+ recordSled(CurSled, MI, Kind, 2);
}
void HexagonAsmPrinter::LowerPATCHABLE_FUNCTION_ENTER(const MachineInstr &MI) {
; CHECK-LABEL: .Ltmp1:
; CHECK: jumpr r31
}
-; CHECK-LABEL: xray_instr_map
-; CHECK-LABEL: .Lxray_sleds_start0:
-; CHECK: .word {{.*}}Lxray_sled_0
-; CHECK: .word {{.*}}Lxray_sled_1
+; CHECK: .section xray_instr_map,"ao",@progbits,foo
+; CHECK-NEXT: .Lxray_sleds_start0:
+; CHECK-NEXT: .Ltmp2:
+; CHECK-NEXT: .word .Lxray_sled_0-.Ltmp2
+; CHECK-NEXT: .word .Lfunc_begin0-(.Ltmp2+4)
+; CHECK-NEXT: .byte 0x00
+; CHECK-NEXT: .byte 0x01
+; CHECK-NEXT: .byte 0x02
+; CHECK-NEXT: .space 5
; CHECK-LABEL: .Lxray_sleds_end0:
; CHECK-LABEL: xray_fn_idx
-; CHECK: .word {{.*}}Lxray_sleds_start0
-; CHECK-NEXT: .word {{.*}}Lxray_sleds_end0
+; CHECK: .word .Lxray_sleds_start0{{$}}
+; CHECK-NEXT: .word .Lxray_sleds_end0{{$}}