clang/test/CodeGen/distributed-thin-lto/cs-irpgo.c
raw| 1 | // RUN: mkdir -p %t |
| 2 | // RUN: %clang -target x86_64-apple-darwin -fcs-profile-generate -flto=thin -c -o %t/main.bc %s |
| 3 | // RUN: llvm-lto2 run --thinlto-distributed-indexes %t/main.bc -o %t/index -r=%t/main.bc,_main,px |
| 4 | // RUN: %clang -target x86_64-apple-darwin -fcs-profile-generate -c -o %t/main.o -fthinlto-index=%t/main.bc.thinlto.bc %t/main.bc |
| 5 | |
| 6 | int main() { |
| 7 | return 0; |
| 8 | } |