You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
30
external/llvm/test/CodeGen/X86/fentry-insertion.ll
vendored
Normal file
30
external/llvm/test/CodeGen/X86/fentry-insertion.ll
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
; RUN: llc %s -o - | FileCheck %s
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
define void @test1() #0 {
|
||||
entry:
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: @test1
|
||||
; CHECK: callq __fentry__
|
||||
; CHECK-NOT: mcount
|
||||
; CHECK: retq
|
||||
}
|
||||
|
||||
define void @test2() #1 {
|
||||
entry:
|
||||
br label %bb1
|
||||
bb1:
|
||||
call void @address_taken(i64 ptrtoint (i8* blockaddress(@test2, %bb1) to i64), i32 512)
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: @test2
|
||||
; CHECK: callq __fentry__
|
||||
; CHECK-NOT: mcount
|
||||
; CHECK: retq
|
||||
}
|
||||
|
||||
declare void @address_taken(i64, i32) local_unnamed_addr
|
||||
attributes #0 = { "fentry-call"="true" }
|
||||
attributes #1 = { inlinehint minsize noredzone nounwind optsize sspstrong "fentry-call"="true" }
|
Reference in New Issue
Block a user