| 1 | // RUN: touch %t.o |
|---|---|
| 2 | // |
| 3 | // RUN: %clang -target x86_64-unknown-linux -### %t.o -flto 2>&1 \ |
| 4 | // RUN: -Wl,-plugin-opt=foo -O3 \ |
| 5 | // RUN: -fprofile-sample-use=%s \ |
| 6 | // RUN: | FileCheck %s |
| 7 | // CHECK: -plugin-opt=sample-profile= |
| 8 |
| 1 | // RUN: touch %t.o |
|---|---|
| 2 | // |
| 3 | // RUN: %clang -target x86_64-unknown-linux -### %t.o -flto 2>&1 \ |
| 4 | // RUN: -Wl,-plugin-opt=foo -O3 \ |
| 5 | // RUN: -fprofile-sample-use=%s \ |
| 6 | // RUN: | FileCheck %s |
| 7 | // CHECK: -plugin-opt=sample-profile= |
| 8 |