1; RUN: llc %s -o - -verify-machineinstrs | FileCheck %s 2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 3target triple = "x86_64-unknown-linux-gnu" 4 5define void @test1() #0 { 6entry: 7 ret void 8 9; CHECK-LABEL: @test1 10; CHECK: callq __fentry__ 11; CHECK-NOT: mcount 12; CHECK: retq 13} 14 15define void @test2() #1 { 16entry: 17 br label %bb1 18bb1: 19 call void @address_taken(i64 ptrtoint (i8* blockaddress(@test2, %bb1) to i64), i32 512) 20 ret void 21 22; CHECK-LABEL: @test2 23; CHECK: callq __fentry__ 24; CHECK-NOT: mcount 25; CHECK: retq 26} 27 28declare void @address_taken(i64, i32) local_unnamed_addr 29attributes #0 = { "fentry-call"="true" } 30attributes #1 = { inlinehint minsize noredzone nounwind optsize sspstrong "fentry-call"="true" } 31