Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/CodeGen/X86/patchpoint-invoke.ll
Show All 39 Lines | |||||
; Verify that the unwind data covers the entire patchpoint region: | ; Verify that the unwind data covers the entire patchpoint region: | ||||
; CHECK-NEXT: .long .Ltmp0-[[FUNC_BEGIN]] | ; CHECK-NEXT: .long .Ltmp0-[[FUNC_BEGIN]] | ||||
; CHECK-NEXT: .long [[PP_END]]-.Ltmp0 | ; CHECK-NEXT: .long [[PP_END]]-.Ltmp0 | ||||
; Verify that the stackmap section got emitted: | ; Verify that the stackmap section got emitted: | ||||
; CHECK-LABEL: __LLVM_StackMaps: | ; CHECK-LABEL: __LLVM_StackMaps: | ||||
; Header | ; Header | ||||
; CHECK-NEXT: .byte 1 | ; CHECK-NEXT: .byte 2 | ||||
; CHECK-NEXT: .byte 0 | ; CHECK-NEXT: .byte 0 | ||||
; CHECK-NEXT: .short 0 | ; CHECK-NEXT: .short 0 | ||||
; Num Functions | ; Num Functions | ||||
; CHECK-NEXT: .long 1 | ; CHECK-NEXT: .long 1 | ||||
; Num LargeConstants | ; Num LargeConstants | ||||
; CHECK-NEXT: .long 0 | ; CHECK-NEXT: .long 0 | ||||
; Num Callsites | ; Num Callsites | ||||
; CHECK-NEXT: .long 1 | ; CHECK-NEXT: .long 1 | ||||
; CHECK-NEXT: .quad patchpoint_invoke | ; CHECK-NEXT: .quad patchpoint_invoke | ||||
declare void @llvm.experimental.stackmap(i64, i32, ...) | declare void @llvm.experimental.stackmap(i64, i32, ...) | ||||
declare void @llvm.experimental.patchpoint.void(i64, i32, i8*, i32, ...) | declare void @llvm.experimental.patchpoint.void(i64, i32, i8*, i32, ...) | ||||
declare i64 @llvm.experimental.patchpoint.i64(i64, i32, i8*, i32, ...) | declare i64 @llvm.experimental.patchpoint.i64(i64, i32, i8*, i32, ...) | ||||
declare i32 @__gxx_personality_v0(...) | declare i32 @__gxx_personality_v0(...) |