Searched +full:cache +full:- +full:dependency +full:- +full:path (Results 1 – 25 of 139) sorted by relevance
123456
2 // RUN: rm -rf %t4 …-I. -x c++ -fmodule-name=test -fmodules -emit-module -fno-validate-pch -fmodules-strict-decluse %s…6 …-I. -x c++ -fmodule-name=test-base -fmodules -emit-module -fno-validate-pch -fmodules-strict-declu…7 …-I. -x c++ -fmodule-name=test -fmodules -emit-module -fno-validate-pch -fmodules-strict-decluse -f…9 …-I. -x c++ -fmodules -include Inputs/dependency-gen.h -x c++ /dev/null -fmodule-file=%t/explicit.p…12 header "Inputs/dependency-gen.h"13 use "test-base"14 use "test-base2"17 // For implicit use of a module via the module cache, the input files20 // IMPLICIT-DAG: {{[/\\]}}dependency-gen.modulemap[all …]
1 // RUN: rm -rf %t-mcp2 // RUN: mkdir -p %t-mcp4 …-x objective-c -isystem %S/Inputs/System/usr/include -dependency-file %t.d.1 -MT %s.o -I %S/Inputs…6 // CHECK: dependency-gen.m9 // CHECK-NOT: usr{{.}}include{{.}}module.modulemap10 // CHECK-NOT: stdint.h13 …-x objective-c -isystem %S/Inputs/System/usr/include -dependency-file %t.d.2 -MT %s.o -I %S/Inputs…14 // RUN: FileCheck %s -check-prefix=CHECK-SYS < %t.d.215 // CHECK-SYS: dependency-gen.m16 // CHECK-SYS: Inputs{{.}}module.modulemap[all …]
2 // RUN: rm -rf %t5 …-fmodules -fno-implicit-modules -fmodule-name=relative-dep-gen -emit-module -x c++ Inputs/relative…6 …-fmodules -fno-implicit-modules -fmodule-map-file=Inputs/relative-dep-gen.modulemap -fmodule-file=…7 …-fmodules -fmodules-cache-path=%t -fmodule-map-file=Inputs/relative-dep-gen.modulemap -dependency-…9 // RUN: FileCheck --check-prefix=CHECK-BUILD %s < %t/build.d10 // RUN: FileCheck --check-prefix=CHECK-USE --check-prefix=CHECK-EXPLICIT %s < %t/use-explicit.d11 // RUN: FileCheck --check-prefix=CHECK-USE --check-prefix=CHECK-IMPLICIT %s < %t/use-implicit.d13 …-fmodules -fno-implicit-modules -fmodule-name=relative-dep-gen -emit-module -x c++ Inputs/relative…14 …-fmodules -fno-implicit-modules -fmodule-map-file=Inputs/relative-dep-gen-cwd.modulemap -fmodule-f…15 …-fmodules -fmodules-cache-path=%t -fmodule-map-file=Inputs/relative-dep-gen-cwd.modulemap -depende…[all …]
1 // When a module depends on another, check that we dump the dependency header4 // RUN: rm -rf %t5 …RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -module-dependency-…6 // expected-no-diagnostics8 // RUN: FileCheck %s -check-prefix=VFS < %t/vfs/vfs.yaml
1 // RUN: rm -rf %t-mcp2 // RUN: mkdir -p %t-mcp3 // REQUIRES: x86-registered-target5 …-isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -module-file-deps -dependency-file %t.d -…7 // CHECK: dependency-gen-pch.m.o8 // CHECK-NEXT: dependency-gen-pch.m9 // CHECK-NEXT: Inputs{{.}}module.modulemap10 // CHECK-NEXT: diamond_top.pcm11 // CHECK-NEXT: Inputs{{.}}diamond_top.h
1 // RUN: rm -rf %t2 // RUN: not %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -I %…5 // RUN: rm -rf %t6 // RUN: not %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emi…9 // CHECK-NEXT: While building module 'recursive2' imported from {{.*Inputs[/\]}}recursive1.h:1:10 // CHECK-NEXT: In file included from <module-includes>:1:11 // CHECK-NEXT: recursive2.h:1:10: fatal error: cyclic dependency in module 'recursive1': recursive1…
1 // Test that the virtual file "__inferred_module.map" doesn't show up as dependency.3 // REQUIRES: x86-registered-target4 // RUN: rm -rf %t-mcp5 …-isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -dependency-file %t.d -MT %s.o -F %S/Inpu…7 // CHECK-NOT: __inferred_module
14 # Lit uses psutil to do per-test timeouts.35 # In order to run check-lldb-* we need the correct map_config directives in36 # llvm-lit. Because this is a standalone build, LLVM doesn't know about LLDB,37 # and the lldb mappings are missing. We build our own llvm-lit, and tell LLVM38 # to use the llvm-lit in the lldb build directory.39 if (EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)40 set(LLVM_EXTERNAL_LIT ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/llvm-lit)50 set(LLDB_TEST_BUILD_DIRECTORY "${PROJECT_BINARY_DIR}/lldb-test-buil[all...]
1 // RUN: rm -rf %t2 // RUN: split-file %s %t5 // RUN: clang-scan-deps -compilation-database %t/cdb.json \6 // RUN: -format experimental-full > %t/deps.json7 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck -DPREFIX=%/t %s8 // RUN: clang-scan-deps -compilation-database %t/cdb.json \9 // RUN: -format experimental-full -dependency-target foo > %t/deps_mt1.json10 // RUN: cat %t/deps_mt1.json | sed 's:\\\\\?:/:g' | FileCheck -DPREFIX=%/t %s -check-prefix=DEPS_MT111 // RUN: clang-scan-deps -compilation-database %t/cdb.json \12 // RUN: -format experimental-full -dependency-target foo -dependency-target bar > %t/deps_mt2.json[all …]
4 // RUN: rm -rf %t5 // RUN: split-file %s %t8 // RUN: clang-scan-deps -compilation-database %t/cdb.json -j 1 \9 // RUN: -format experimental-full > %t/deps.json10 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck -DPREFIX=%/t %s13 // CHECK-NEXT: "modules": [15 // CHECK: "command-line": [16 // CHECK: "-dependency-file"18 // CHECK: "context-hash": "[[HASH1:.*]]"20 // CHECK-NEXT: }[all …]
1 // Check that the path of an imported modulemap file is not influenced by2 // modules outside that module's dependency graph. Specifically, the "Foo"4 // see the symlinked path.8 // RUN: rm -rf %t9 // RUN: split-file %s %t10 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json11 // RUN: ln -s module %t/include/symlink-to-module13 // RUN: clang-scan-deps -compilation-database %t/cdb.json -j 1 \14 // RUN: -format experimental-full -mode=preprocess-dependency-directives \15 // RUN: -optimize-args=all -module-files-dir %t/build > %t/deps.json[all …]
1 // RUN: rm -rf %t2 // RUN: split-file %s %t3 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.template > %t/cdb.json5 // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full -mode preproces…7 // RUN: FileCheck %s -input-file %t/result.txt12 // CHECK-NEXT: {13 // CHECK: "command-line": [14 // CHECK-NOT: "-fvisibility="15 // CHECK-NOT: "-ftype-visibility="19 // CHECK-NOT: "name": "A"[all …]
1 // Check that a module from -fmodule-name= does not accidentally pick up extra4 // RUN: rm -rf %t5 // RUN: split-file %s %t10 // RUN: clang-scan-deps -compilation-database %t/cdb_pch.json \11 // RUN: -format experimental-full -mode preprocess-dependency-directives \15 // RUN: %deps-to-rsp %t/deps_pch.json --module-name A > %t/A.rsp16 // RUN: %deps-to-rsp %t/deps_pch.json --module-name B > %t/B.rsp17 // RUN: %deps-to-rsp %t/deps_pch.json --tu-index 0 > %t/pch.rsp23 // RUN: clang-scan-deps -compilation-database %t/cdb.json \24 // RUN: -format experimental-full -mode preprocess-dependency-directives \[all …]
4 // RUN: rm -rf %t5 // RUN: split-file %s %t7 //--- cdb.json.template11 "command": "clang DIR/tu.c -fmodules -fmodules-cache-pat[all...]
1 // RUN: rm -rf %t2 // RUN: split-file %s %t3 // RUN: sed -e "s|DIR|%/t|g" %t/cdb1.json.template > %t/cdb1.json5 // RUN: clang-scan-deps -compilation-database %t/cdb1.json -format experimental-full -mode preproce…7 // RUN: FileCheck %s -input-file %t/result1.txt13 // CHECK-NEXT: {14 // CHECK: "command-line": [15 // CHECK-NOT: "-arcmt-action=check"16 // CHECK-NOT: "-objcmt-migrate-literals"17 // CHECK-NOT: "-mt-migrate-directory"[all …]
1 // This test checks that pruning of header search paths produces consistent dependency graphs.4 // Otherwise, we could get either of the following dependency graphs depending on the search path6 // X:<hash1> -> Y:<hash2>7 // X:<hash1> -> Y:<hash3>12 // dependency graphs:13 // X:<hash1> -> Y:<hash2>14 // X:<hash4> -> Y:<hash3>16 // RUN: rm -rf %t && mkdir %t17 // RUN: split-fil[all...]
1 // RUN: rm -rf %t.dir2 // RUN: split-file %s %t.dir3 // RUN: sed -e "s|DIR|%/t.dir|g" %t.dir/build/compile-commands.json.in > %t.dir/build/compile-comma…4 // RUN: sed -e "s|DIR|%/t.dir|g" %t.dir/build/vfs.yaml.in > %t.dir/build/vfs.yaml5 // RUN: clang-scan-deps -compilation-database %t.dir/build/compile-commands.json \6 // RUN: -j 1 -format experimental-full -mode preprocess-dependency-directives > %t.db7 // RUN: %deps-to-rsp %t.db --module-name=A > %t.A.cc1.rsp10 // CHECK-NOT: build/module.modulemap12 // CHECK-NOT: build/module.modulemap14 //--- build/compile-commands.json.in[all …]
1 // Ensure that the spelling of a path seen outside a module (e.g. header via3 // Note: the spelling of the modulemap path still depends on the includer, since8 // RUN: rm -rf %t9 // RUN: split-file %s %t10 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json11 // RUN: ln -s A.h %t/Z.h13 // RUN: clang-scan-deps -compilation-databas[all...]
1 // Check that we canonicalize the module map path without changing the module6 // RUN: rm -rf %t7 // RUN: split-file %s %t8 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json9 // RUN: ln -s module %t/symlink-to-module10 // RUN: ln -s ../actual.modulemap %t/module/module.modulemap11 // RUN: ln -s A %t/module/F.framework/Versions/Current12 // RUN: ln -s Versions/Current/Modules %t/module/F.framework/Modules13 // RUN: ln -s Versions/Current/Headers %t/module/F.framework/Headers15 // RUN: clang-scan-deps -compilation-database %t/cdb.json -j 1 \[all …]
1 // RUN: rm -rf %t-dir2 // RUN: mkdir -p %t-dir3 // RUN: echo '@import test;' > %t-dir/prefix.h4 // RUN: echo 'void foo(void);' > %t-dir/test.h5 // RUN: cp %S/modified-module-dependency.module.map %t-dir/module.modulemap8 …c1 -x objective-c -I %t-dir -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-dir/cache -fd…10 // Modify the dependency.11 // RUN: echo ' ' >> %t-dir/test.h14 …-x objective-c -I %t-dir -include-pch %t-dir/prefix.pch -fmodules -fimplicit-module-maps -fmodules…15 // RUN: FileCheck %s < %t-dir/log
30 # "Symbol version prefix for libLLVM.so and libclang-cpp.so"36 "default, even for 64-bit targets. This can result in linker "37 "instability and out of memory errors. To use the 64-bit "38 "host compiler, pass -Thost=x64 on the CMake command line.")57 set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )65 # If we find that the cache contains CMAKE_CXX_STANDARD it means that it's a old CMakeCache.txt67 if($CACHE{CMAKE_CXX_STANDARD} AND $CACHE{CMAKE_CXX_STANDARD} LESS ${LLVM_REQUIRED_CXX_STANDARD})68 message(WARNING "Resetting cache value for CMAKE_CXX_STANDARD to ${LLVM_REQUIRED_CXX_STANDARD}")69 unset(CMAKE_CXX_STANDARD CACHE)[all...]
1 //===- DependencyScanningFilesystem.h - clang-scan-deps fs ===---*- C++ -*-234 Cache; global() variable [all...]
1 //===- HeaderSearchOptions.h ---------70 std::string Path; global() member 291 AddPath(StringRef Path,frontend::IncludeDirGroup Group,bool IsFramework,bool IgnoreSysRoot) AddPath() argument [all...]
1 // This test is for cases where we lookup a file by its 'real' path before we2 // use its VFS-mapped path. If we accidentally use the real path in header5 // the dependency files by real path.7 // RUN: rm -rf %t %t-cache %t.pch8 // RUN: mkdir -p %t/SomeFramework.framework/Modules10 // RUN: sed -e "s@INPUT_DIR@%{/S:regex_replacement}/Inputs@g" -e "s@OUT_DIR@%{/t:regex_replacement}…13 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \14 // RUN: -ivfsoverlay %t.yaml -fsyntax-only %s -verify -Rmodule-include-translation \15 // RUN: -Werror=non-modular-include-in-framework-module19 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \[all …]
9 release-version:20 release-version:30 release-documentation:32 runs-on: ubuntu-latest34 upload: ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}36 - name: Checkout LLVM39 - name: Setup Python env40 uses: actions/setup-python@v542 cache[all...]