mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-26 18:26:51 -04:00
c0a66ac414
With -pg -mfentry -mnop-mcount, a nop is emitted instead of the call to fentry. Review: Ulrich Weigand https://reviews.llvm.org/D67765 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372950 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
270 B
LLVM
12 lines
270 B
LLVM
; RUN: not llc %s -mtriple=s390x-linux-gnu -o - 2>&1 | FileCheck %s
|
|
;
|
|
; CHECK: LLVM ERROR: mnop-mcount only supported with fentry-call
|
|
|
|
define void @test1() #0 {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { "instrument-function-entry-inlined"="mcount" "mnop-mcount"="true" }
|
|
|