Dehao Chen | 1997d86 | 2016-06-21 19:16:41 +0000 | [diff] [blame] | 1 | // Test if PGO sample use passes are invoked. |
2 | // | ||||
Dehao Chen | f856dbd | 2017-07-07 22:40:37 +0000 | [diff] [blame] | 3 | // Ensure Pass PGOInstrumentationGenPass is invoked. |
4 | // RUN: %clang_cc1 -O2 -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s | ||||
5 | // CHECK: Remove unused exception handling info | ||||
6 | // CHECK: Sample profile pass |