|
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
|
|
45 | 45 | // CACHE-HIT: compile job cache hit
|
46 | 46 |
|
47 | 47 | // == Scan TU, including PCH
|
48 |
| -// RUN: clang-scan-deps -compilation-database %t/dir1/cdb.json -format experimental-full \ |
| 48 | +// RUN: clang-scan-deps -compilation-database %t/dir1/cdb.json -format experimental-full -optimize-args=none \ |
49 | 49 | // RUN: -cas-path %t/cas -module-files-dir %t/dir1/modules \
|
50 | 50 | // RUN: -prefix-map=%t/dir1/modules=/^modules -prefix-map=%t/dir1=/^src -prefix-map-sdk=/^sdk -prefix-map-toolchain=/^tc \
|
51 | 51 | // RUN: > %t/dir1.txt
|
52 | 52 |
|
53 |
| -// RUN: clang-scan-deps -compilation-database %t/dir2/cdb.json -format experimental-full \ |
| 53 | +// RUN: clang-scan-deps -compilation-database %t/dir2/cdb.json -format experimental-full -optimize-args=none \ |
54 | 54 | // RUN: -cas-path %t/cas -module-files-dir %t/dir2/modules \
|
55 | 55 | // RUN: -prefix-map=%t/dir2/modules=/^modules -prefix-map=%t/dir2=/^src -prefix-map-sdk=/^sdk -prefix-map-toolchain=/^tc \
|
56 | 56 | // RUN: > %t/dir2.txt
|
|
0 commit comments