File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change
1
+ // REQUIRES: x86-registered-target
1
2
// RUN: rm -rf %t && mkdir %t
2
3
3
- // RUN: %clang -cc1depscan -o %t/args.rsp -cc1-args -cc1 \
4
+ // RUN: %clang -cc1depscan -o %t/args.rsp -cc1-args -cc1 -triple x86_64-apple-darwin10 \
4
5
// RUN: -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb \
5
6
// RUN: -emit-obj -fcas-backend -fcas-path %t/cas %s -o - > /dev/null
6
7
Original file line number Diff line number Diff line change 1
1
// REQUIRES: ondisk_cas
2
+ // REQUIRES: x86-registered-target
2
3
3
4
// RUN: rm -rf %t
4
5
// RUN: split-file %s %t/dir1
314
315
[{
315
316
"file" : "DIR/tu.m" ,
316
317
"directory" : "DIR" ,
317
- "command" : "CLANG -fsyntax-only DIR/tu.m -I DIR -isystem DIR/System -fmodules -fimplicit-modules -fimplicit-module-maps -fmodules-cache-path=DIR/module-cache -Rcompile-job-cache"
318
+ "command" : "CLANG -target x86_64-apple-darwin10 - fsyntax-only DIR/tu.m -I DIR -isystem DIR/System -fmodules -fimplicit-modules -fimplicit-module-maps -fmodules-cache-path=DIR/module-cache -Rcompile-job-cache"
318
319
}]
319
320
320
321
//--- module.modulemap
Original file line number Diff line number Diff line change
1
+ // REQUIRES: x86-registered-target
1
2
// RUN: rm -rf %t
2
3
// RUN: mkdir %t
3
- // RUN: %clang -arch x86_64 -mmacosx-version-min=10 .7 -fsyntax-only %s -o %t.o -index-store-path %t/idx1 -fmodules -fmodules-cache-path=%t/mcp -I %S/Inputs/module -Rindex-store 2> %t.err1
4
- // RUN: %clang -arch x86_64 -mmacosx-version-min=10 .7 -fsyntax-only %s -o %t.o -index-store-path %t/idx2 -fmodules -fmodules-cache-path=%t/mcp -I %S/Inputs/module -Rindex-store 2> %t.err2
5
- // RUN: %clang -arch x86_64 -mmacosx-version-min=10 .7 -fsyntax-only %s -o %t.o -index-store-path %t/idx2 -fmodules -fmodules-cache-path=%t/mcp -I %S/Inputs/module -Rindex-store 2> %t.err3
4
+ // RUN: %clang -target x86_64-apple-macos10 .7 -fsyntax-only %s -o %t.o -index-store-path %t/idx1 -fmodules -fmodules-cache-path=%t/mcp -I %S/Inputs/module -Rindex-store 2> %t.err1
5
+ // RUN: %clang -target x86_64-apple-macos10 .7 -fsyntax-only %s -o %t.o -index-store-path %t/idx2 -fmodules -fmodules-cache-path=%t/mcp -I %S/Inputs/module -Rindex-store 2> %t.err2
6
+ // RUN: %clang -target x86_64-apple-macos10 .7 -fsyntax-only %s -o %t.o -index-store-path %t/idx2 -fmodules -fmodules-cache-path=%t/mcp -I %S/Inputs/module -Rindex-store 2> %t.err3
6
7
// RUN: FileCheck -input-file=%t.err1 -check-prefix=CREATING_MODULES %s -allow-empty
7
8
// RUN: FileCheck -input-file=%t.err2 -check-prefix=CREATING_INDEX_DATA_FROM_MODULE_FILES %s
8
9
// RUN: FileCheck -input-file=%t.err3 -check-prefix=EXISTING_INDEX_DATA_FROM_MODULE_FILES %s -allow-empty
Original file line number Diff line number Diff line change
1
+ // REQUIRES: x86-registered-target
1
2
// RUN: rm -rf %t.idx %t.mcp
2
- // RUN: %clang -arch x86_64 -mmacosx-version-min=10 .7 -c %s -o %t.o -index-store-path %t.idx -fmodules -fmodules-cache-path=%t.mcp -Xclang -fdisable-module-hash -I %S/Inputs/module
3
+ // RUN: %clang -target x86_64-apple-macos10 .7 -c %s -o %t.o -index-store-path %t.idx -fmodules -fmodules-cache-path=%t.mcp -Xclang -fdisable-module-hash -I %S/Inputs/module
3
4
// RUN: c-index-test core -print-unit %t.idx | FileCheck %s
4
5
5
6
@import ModDep;
You can’t perform that action at this time.
0 commit comments