mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
8 lines
284 B
Swift
8 lines
284 B
Swift
// RUN: %target-swift-frontend %s -profile-generate -emit-sil -o %t.sil
|
|
// RUN: %target-swift-frontend %t.sil -module-name=coverage_ignored -emit-ir -o - | %FileCheck %s -check-prefix=CHECK-IGNORED
|
|
|
|
// CHECK-IGNORED-NOT: llvm.instrprof
|
|
// CHECK-IGNORED-NOT: profc
|
|
func foo() {}
|
|
foo()
|