1; RUN: llc %s -mtriple=s390x-linux-gnu -mcpu=z10 -o - -verify-machineinstrs \ 2; RUN: | FileCheck %s 3 4define void @test1() #0 { 5entry: 6 ret void 7 8; CHECK-LABEL: test1: 9; CHECK: .section __mcount_loc,"a",@progbits 10; CHECK: .quad .Ltmp0 11; CHECK: .text 12; CHECK: .Ltmp0: 13; CHECK: brasl %r0, __fentry__@PLT 14; CHECK: br %r14 15} 16 17define void @test2() #1 { 18entry: 19 ret void 20 21; CHECK-LABEL: test2: 22; CHECK: .section __mcount_loc,"a",@progbits 23; CHECK: .quad .Ltmp1 24; CHECK: .text 25; CHECK: .Ltmp1: 26; CHECK: .Ltmp2: 27; CHECK: brcl 0, .Ltmp2 28; CHECK: br %r14 29} 30 31attributes #0 = { "fentry-call"="true" "mrecord-mcount" } 32attributes #1 = { "fentry-call"="true" "mnop-mcount" "mrecord-mcount" } 33