File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 114
114
// RUN: %clang -### -S -fprofile-instr-generate -fcoverage-mapping -fno-coverage-mapping %s 2>&1 | FileCheck -check-prefix=CHECK-DISABLE-COVERAGE %s
115
115
// RUN: %clang -### -S -fprofile-remapping-file=foo/bar.txt %s 2>&1 | FileCheck -check-prefix=CHECK-PROFILE-REMAP %s
116
116
// RUN: %clang -### -S -forder-file-instrumentation %s 2>&1 | FileCheck -check-prefix=CHECK-ORDERFILE-INSTR %s
117
- // RUN: %clang -### -flto -forder-file-instrumentation %s 2>&1 | FileCheck -check-prefix=CHECK-ORDERFILE-INSTR-LTO %s
117
+ // RUN: %clang -### --target=x86_64-linux-gnu - flto -forder-file-instrumentation %s 2>&1 | FileCheck -check-prefix=CHECK-ORDERFILE-INSTR-LTO %s
118
118
// CHECK-PROFILE-GENERATE: "-fprofile-instrument=clang"
119
119
// CHECK-PROFILE-GENERATE-LLVM: "-fprofile-instrument=llvm"
120
120
// CHECK-PROFILE-GENERATE-DIR: "-fprofile-instrument-path=/some/dir{{/|\\\\}}{{.*}}"
Original file line number Diff line number Diff line change 16
16
17
17
// llvm-bc and llvm-ll outputs need to match regular suffixes
18
18
// (unfortunately).
19
- // RUN: %clang %s -flto -save-temps -### 2> %t
19
+ // RUN: %clang --target=x86_64-linux-gnu %s -flto -save-temps -### 2> %t
20
20
// RUN: FileCheck -check-prefix=CHECK-COMPILELINK-SUFFIXES < %t %s
21
21
//
22
22
// CHECK-COMPILELINK-SUFFIXES: "-o" "{{.*}}lto.i" "-x" "c" "{{.*}}lto.c"
23
23
// CHECK-COMPILELINK-SUFFIXES: "-o" "{{.*}}lto.bc" {{.*}}"{{.*}}lto.i"
24
24
// CHECK-COMPILELINK-SUFFIXES: "-o" "{{.*}}lto.o" {{.*}}"{{.*}}lto.bc"
25
25
// CHECK-COMPILELINK-SUFFIXES: "{{.*}}a.{{(out|exe)}}" {{.*}}"{{.*}}lto.o"
26
26
27
- // RUN: %clang %s -flto -S -### 2> %t
27
+ // RUN: %clang --target=x86_64-linux-gnu %s -flto -S -### 2> %t
28
28
// RUN: FileCheck -check-prefix=CHECK-COMPILE-SUFFIXES < %t %s
29
29
//
30
30
// CHECK-COMPILE-SUFFIXES: "-o" "{{.*}}lto.s" "-x" "c" "{{.*}}lto.c"
You can’t perform that action at this time.
0 commit comments