|
11 | 11 | // RUN: sed -e "s|DIR|%t/dir2|g" -e "s|CLANG|%clang|g" -e "s|SDK|%S/Inputs/SDK|g" %t/cdb_pch.json.template > %t/dir2/cdb_pch.json
|
12 | 12 |
|
13 | 13 | // == Scan PCH
|
14 |
| -// RUN: clang-scan-deps -compilation-database %t/dir1/cdb_pch.json -format experimental-full \ |
| 14 | +// RUN: clang-scan-deps -compilation-database %t/dir1/cdb_pch.json -format experimental-full -optimize-args=none \ |
15 | 15 | // RUN: -cas-path %t/cas -module-files-dir %t/dir1/modules \
|
16 | 16 | // RUN: -prefix-map=%t/dir1/modules=/^modules -prefix-map=%t/dir1=/^src -prefix-map-sdk=/^sdk -prefix-map-toolchain=/^tc \
|
17 | 17 | // RUN: > %t/pch_dir1.txt
|
18 | 18 |
|
19 |
| -// RUN: clang-scan-deps -compilation-database %t/dir2/cdb_pch.json -format experimental-full \ |
| 19 | +// RUN: clang-scan-deps -compilation-database %t/dir2/cdb_pch.json -format experimental-full -optimize-args=none \ |
20 | 20 | // RUN: -cas-path %t/cas -module-files-dir %t/dir2/modules \
|
21 | 21 | // RUN: -prefix-map=%t/dir2/modules=/^modules -prefix-map=%t/dir2=/^src -prefix-map-sdk=/^sdk -prefix-map-toolchain=/^tc \
|
22 | 22 | // RUN: > %t/pch_dir2.txt
|
|
41 | 41 | // CACHE-HIT: compile job cache hit
|
42 | 42 |
|
43 | 43 | // == Scan TU, including PCH
|
44 |
| -// RUN: clang-scan-deps -compilation-database %t/dir1/cdb.json -format experimental-full \ |
| 44 | +// RUN: clang-scan-deps -compilation-database %t/dir1/cdb.json -format experimental-full -optimize-args=none \ |
45 | 45 | // RUN: -cas-path %t/cas -module-files-dir %t/dir1/modules \
|
46 | 46 | // RUN: -prefix-map=%t/dir1/modules=/^modules -prefix-map=%t/dir1=/^src -prefix-map-sdk=/^sdk -prefix-map-toolchain=/^tc \
|
47 | 47 | // RUN: > %t/dir1.txt
|
48 | 48 |
|
49 |
| -// RUN: clang-scan-deps -compilation-database %t/dir2/cdb.json -format experimental-full \ |
| 49 | +// RUN: clang-scan-deps -compilation-database %t/dir2/cdb.json -format experimental-full -optimize-args=none \ |
50 | 50 | // RUN: -cas-path %t/cas -module-files-dir %t/dir2/modules \
|
51 | 51 | // RUN: -prefix-map=%t/dir2/modules=/^modules -prefix-map=%t/dir2=/^src -prefix-map-sdk=/^sdk -prefix-map-toolchain=/^tc \
|
52 | 52 | // RUN: > %t/dir2.txt
|
|
0 commit comments