You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
544 B
14 lines
544 B
;; Emit the runtime hook even if there are no counter increments.
|
|
|
|
; RUN: opt < %s -mtriple=x86_64-apple-macosx10.10.0 -instrprof -S | FileCheck %s -check-prefixes=ALL,DARWIN
|
|
; RUN: opt < %s -mtriple=x86_64-apple-macosx10.10.0 -passes=instrprof -S | FileCheck %s -check-prefixes=ALL,DARWIN
|
|
; RUN: opt < %s -mtriple=x86_64-linux-unknown -passes=instrprof -S | FileCheck %s -check-prefixes=ALL,LINUX
|
|
; ALL-NOT: @__profc
|
|
; ALL-NOT: @__profd
|
|
; DARWIN: @__llvm_profile_runtime
|
|
; LINUX-NOT: @__llvm_profile_runtime
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|