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
12// RUN: rm -rf %t && mkdir %t
23
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 \
45// RUN: -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb \
56// RUN: -emit-obj -fcas-backend -fcas-path %t/cas %s -o - > /dev/null
67
Original file line number Diff line number Diff line change 11// REQUIRES: ondisk_cas
2+ // REQUIRES: x86-registered-target
23
34// RUN: rm -rf %t
45// RUN: split-file %s %t/dir1
314315[{
315316 "file" : "DIR/tu.m" ,
316317 "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"
318319}]
319320
320321//--- module.modulemap
Original file line number Diff line number Diff line change 1+ // REQUIRES: x86-registered-target
12// RUN: rm -rf %t
23// 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
67// RUN: FileCheck -input-file=%t.err1 -check-prefix=CREATING_MODULES %s -allow-empty
78// RUN: FileCheck -input-file=%t.err2 -check-prefix=CREATING_INDEX_DATA_FROM_MODULE_FILES %s
89// 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
12// 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
34// RUN: c-index-test core -print-unit %t.idx | FileCheck %s
45
56@import ModDep;
You can’t perform that action at this time.
0 commit comments