File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44// RUN: not %clang -### --target=x86_64-pc-windows -fxray-instrument -c %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR
55
66/// Checking -fxray-instrument with offloading and -Xarch_host
7- // RUN: %clang -### -Xarch_host -fxray-instrument -c %s -o /dev/null 2>&1 | FileCheck %s
8- // RUN: not %clang -### -x hip --offload-arch=gfx906 -nogpulib -nogpuinc -fxray-instrument -c %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR
9- // RUN: %clang -### -x hip --offload-arch=gfx906 -nogpulib -nogpuinc -Xarch_host -fxray-instrument -c %s -o /dev/null 2>&1 | FileCheck %s
7+ // RUN: %clang -### --target=x86_64-unknown-linux-gnu - Xarch_host -fxray-instrument -c %s -o /dev/null 2>&1 | FileCheck %s
8+ // RUN: not %clang -### --target=x86_64-unknown-linux-gnu - x hip --offload-arch=gfx906 -nogpulib -nogpuinc -fxray-instrument -c %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR
9+ // RUN: %clang -### --target=x86_64-unknown-linux-gnu - x hip --offload-arch=gfx906 -nogpulib -nogpuinc -Xarch_host -fxray-instrument -c %s -o /dev/null 2>&1 | FileCheck %s
1010
1111// CHECK: "-cc1" {{.*}}"-fxray-instrument"
1212// ERR: error: unsupported option '-fxray-instrument' for target
You can’t perform that action at this time.
0 commit comments