clang/test/CodeGen/print-pipeline-passes.c
raw| 1 | // Test that -print-pipeline-passes works in Clang |
| 2 | |
| 3 | // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -o /dev/null -mllvm -print-pipeline-passes -O0 %s 2>&1 | FileCheck %s |
| 4 | |
| 5 | // Don't try to check all passes, just a few to make sure that something is |
| 6 | // actually printed. |
| 7 | // CHECK: always-inline |
| 8 | // CHECK-SAME: annotation-remarks |
| 9 | void Foo(void) {} |