File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
// RUN: 2>&1 | FileCheck %s -check-prefix=ERROR
7
7
8
8
// Using normal compilation as baseline.
9
- // RUN: not %clang -target x86_64-apple-macos11 -c %s -o %t.o -fmodules-cache-path=%t/mcp --serialize-diagnostics %t/t1.diag \
9
+ // RUN: not %clang -target x86_64-apple-macos11 -c %s -o %t.o -arch=nonexistent --serialize-diagnostics %t/t1.diag \
10
10
// RUN: 2>&1 | FileCheck %s -check-prefix=ERROR -check-prefix=DRIVER
11
11
// RUN: not env LLVM_CACHE_CAS_PATH=%t/cas %clang-cache \
12
- // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t.o -fmodules-cache-path=%t/mcp --serialize-diagnostics %t/t2.diag \
12
+ // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t.o -arch=nonexistent --serialize-diagnostics %t/t2.diag \
13
13
// RUN: 2>&1 | FileCheck %s -check-prefix=ERROR -check-prefix=DRIVER
14
14
// RUN: not env LLVM_CACHE_CAS_PATH=%t/cas cache-build-session %clang-cache \
15
- // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t.o -fmodules-cache-path=%t/mcp --serialize-diagnostics %t/t3.diag \
15
+ // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t.o -arch=nonexistent --serialize-diagnostics %t/t3.diag \
16
16
// RUN: 2>&1 | FileCheck %s -check-prefix=ERROR -check-prefix=DRIVER
17
17
18
18
// RUN: diff %t/t1.diag %t/t2.diag
Original file line number Diff line number Diff line change 38
38
39
39
// Make sure warnings are merged with driver ones.
40
40
// Using normal compilation as baseline.
41
- // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -fmodules-cache-path=%t/mcp --serialize-diagnostics %t/t1.diag \
41
+ // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -arch=nonexistent --serialize-diagnostics %t/t1.diag \
42
42
// RUN: 2>&1 | FileCheck %s -check-prefix=WARN
43
43
// RUN: env LLVM_CACHE_CAS_PATH=%t/cas %clang-cache \
44
- // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -fmodules-cache-path=%t/mcp --serialize-diagnostics %t/t2.diag \
44
+ // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -arch=nonexistent --serialize-diagnostics %t/t2.diag \
45
45
// RUN: 2>&1 | FileCheck %s -check-prefix=WARN
46
46
// RUN: diff %t/t1.diag %t/t2.diag
47
47
48
48
// Try again with cache hit.
49
49
// RUN: rm %t/t2.diag
50
50
// RUN: env LLVM_CACHE_CAS_PATH=%t/cas %clang-cache \
51
- // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -fmodules-cache-path=%t/mcp --serialize-diagnostics %t/t2.diag
51
+ // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -arch=nonexistent --serialize-diagnostics %t/t2.diag
52
52
// RUN: env LLVM_CACHE_CAS_PATH=%t/cas %clang-cache \
53
- // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -fmodules-cache-path=%t/mcp --serialize-diagnostics %t/t2.diag \
53
+ // RUN: %clang -target x86_64-apple-macos11 -c %s -o %t/t.o -arch=nonexistent --serialize-diagnostics %t/t2.diag \
54
54
// RUN: 2>&1 | FileCheck %s -check-prefix=WARN
55
55
// RUN: diff %t/t1.diag %t/t2.diag
56
56
You can’t perform that action at this time.
0 commit comments