1; RUN: opt -S -passes='default<O1>' -pseudo-probe-for-profiling -debug-pass-manager < %s 2>&1 | FileCheck %s 2; RUN: opt -S -passes='default<O2>' -pseudo-probe-for-profiling -debug-pass-manager < %s 2>&1 | FileCheck %s 3; RUN: opt -S -passes='thinlto-pre-link<O1>' -pseudo-probe-for-profiling -debug-pass-manager < %s 2>&1 | FileCheck %s 4; RUN: opt -S -passes='thinlto-pre-link<O2>' -pseudo-probe-for-profiling -debug-pass-manager < %s 2>&1 | FileCheck %s 5 6define void @foo() { 7 ret void 8} 9 10;; Check the SampleProfileProbePass is enabled under the -pseudo-probe-for-profiling switch. 11;; The switch can be used to test a specific pass order in a particular setup, e.g, in unique-internal-linkage-names.ll 12; CHECK: Running pass: SampleProfileProbePass 13