You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -1,36 +0,0 @@
|
||||
; RUN: llc -filetype=asm -o - -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
|
||||
; RUN: llc -filetype=asm -o - -mtriple=x86_64-unknown-linux-gnu \
|
||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
|
||||
|
||||
define i32 @fn() nounwind noinline uwtable "function-instrument"="xray-always" {
|
||||
%eventptr = alloca i8
|
||||
%eventsize = alloca i32
|
||||
store i32 3, i32* %eventsize
|
||||
%val = load i32, i32* %eventsize
|
||||
call void @llvm.xray.customevent(i8* %eventptr, i32 %val)
|
||||
; CHECK-LABEL: Lxray_event_sled_0:
|
||||
; CHECK: .byte 0xeb, 0x0f
|
||||
; CHECK-NEXT: pushq %rdi
|
||||
; CHECK-NEXT: movq {{.*}}, %rdi
|
||||
; CHECK-NEXT: pushq %rsi
|
||||
; CHECK-NEXT: movq {{.*}}, %rsi
|
||||
; CHECK-NEXT: callq __xray_CustomEvent
|
||||
; CHECK-NEXT: popq %rsi
|
||||
; CHECK-NEXT: popq %rdi
|
||||
|
||||
; PIC-LABEL: Lxray_event_sled_0:
|
||||
; PIC: .byte 0xeb, 0x0f
|
||||
; PIC-NEXT: pushq %rdi
|
||||
; PIC-NEXT: movq {{.*}}, %rdi
|
||||
; PIC-NEXT: pushq %rsi
|
||||
; PIC-NEXT: movq {{.*}}, %rsi
|
||||
; PIC-NEXT: callq __xray_CustomEvent@PLT
|
||||
; PIC-NEXT: popq %rsi
|
||||
; PIC-NEXT: popq %rdi
|
||||
ret i32 0
|
||||
}
|
||||
; CHECK-LABEL: xray_instr_map
|
||||
; CHECK-LABEL: Lxray_sleds_start0:
|
||||
; CHECK: .quad {{.*}}xray_event_sled_0
|
||||
|
||||
declare void @llvm.xray.customevent(i8*, i32)
|
Reference in New Issue
Block a user