Home
last modified time | relevance | path

Searched +full:cache +full:- +full:dependency +full:- +full:path (Results 1 – 25 of 139) sorted by relevance

123456

/llvm-project/clang/test/Modules/
H A Ddependency-gen.modulemap2 // RUN: rm -rf %t
4-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 files
20 // IMPLICIT-DAG: {{[/\\]}}dependency-gen.modulemap
[all …]
H A Ddependency-gen.m1 // RUN: rm -rf %t-mcp
2 // RUN: mkdir -p %t-mcp
4-x objective-c -isystem %S/Inputs/System/usr/include -dependency-file %t.d.1 -MT %s.o -I %S/Inputs…
6 // CHECK: dependency-gen.m
9 // CHECK-NOT: usr{{.}}include{{.}}module.modulemap
10 // CHECK-NOT: stdint.h
13-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.2
15 // CHECK-SYS: dependency-gen.m
16 // CHECK-SYS: Inputs{{.}}module.modulemap
[all …]
H A Drelative-dep-gen.cpp2 // RUN: rm -rf %t
5-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.d
10 // RUN: FileCheck --check-prefix=CHECK-USE --check-prefix=CHECK-EXPLICIT %s < %t/use-explicit.d
11 // RUN: FileCheck --check-prefix=CHECK-USE --check-prefix=CHECK-IMPLICIT %s < %t/use-implicit.d
13-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 …]
H A Ddependency-dump-dependent-module.m1 // When a module depends on another, check that we dump the dependency header
4 // RUN: rm -rf %t
5 …RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -module-dependency-
6 // expected-no-diagnostics
8 // RUN: FileCheck %s -check-prefix=VFS < %t/vfs/vfs.yaml
H A Ddependency-gen-pch.m1 // RUN: rm -rf %t-mcp
2 // RUN: mkdir -p %t-mcp
3 // REQUIRES: x86-registered-target
5-isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -module-file-deps -dependency-file %t.d -
7 // CHECK: dependency-gen-pch.m.o
8 // CHECK-NEXT: dependency-gen-pch.m
9 // CHECK-NEXT: Inputs{{.}}module.modulemap
10 // CHECK-NEXT: diamond_top.pcm
11 // CHECK-NEXT: Inputs{{.}}diamond_top.h
H A Drecursive.c1 // RUN: rm -rf %t
2 // RUN: not %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -I %…
5 // RUN: rm -rf %t
6 // 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…
H A Ddependency-gen-inferred-map.m1 // Test that the virtual file "__inferred_module.map" doesn't show up as dependency.
3 // REQUIRES: x86-registered-target
4 // RUN: rm -rf %t-mcp
5-isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -dependency-file %t.d -MT %s.o -F %S/Inpu…
7 // CHECK-NOT: __inferred_module
/llvm-project/lldb/test/
H A DCMakeLists.txt14 # Lit uses psutil to do per-test timeouts.
35 # In order to run check-lldb-* we need the correct map_config directives in
36 # 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 LLVM
38 # 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...]
/llvm-project/clang/test/ClangScanDeps/
H A Dgenerate-modules-path-args.c1 // RUN: rm -rf %t
2 // RUN: split-file %s %t
5 // RUN: clang-scan-deps -compilation-database %t/cdb.json \
6 // RUN: -format experimental-full > %t/deps.json
7 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck -DPREFIX=%/t %s
8 // RUN: clang-scan-deps -compilation-database %t/cdb.json \
9 // RUN: -format experimental-full -dependency-target foo > %t/deps_mt1.json
10 // RUN: cat %t/deps_mt1.json | sed 's:\\\\\?:/:g' | FileCheck -DPREFIX=%/t %s -check-prefix=DEPS_MT1
11 // 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 …]
H A Dmodules-context-hash-outputs.c4 // RUN: rm -rf %t
5 // RUN: split-file %s %t
8 // RUN: clang-scan-deps -compilation-database %t/cdb.json -j 1 \
9 // RUN: -format experimental-full > %t/deps.json
10 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck -DPREFIX=%/t %s
13 // CHECK-NEXT: "modules": [
15 // CHECK: "command-line": [
16 // CHECK: "-dependency-file"
18 // CHECK: "context-hash": "[[HASH1:.*]]"
20 // CHECK-NEXT: }
[all …]
H A Dmodules-symlink-dir-from-module.c1 // Check that the path of an imported modulemap file is not influenced by
2 // modules outside that module's dependency graph. Specifically, the "Foo"
4 // see the symlinked path.
8 // RUN: rm -rf %t
9 // RUN: split-file %s %t
10 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json
11 // RUN: ln -s module %t/include/symlink-to-module
13 // 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 …]
H A Dstrip-visibility.c1 // RUN: rm -rf %t
2 // RUN: split-file %s %t
3 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.template > %t/cdb.json
5 // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full -mode preproces…
7 // RUN: FileCheck %s -input-file %t/result.txt
12 // CHECK-NEXT: {
13 // CHECK: "command-line": [
14 // CHECK-NOT: "-fvisibility="
15 // CHECK-NOT: "-ftype-visibility="
19 // CHECK-NOT: "name": "A"
[all …]
H A Dmodules-pch-imports.c1 // Check that a module from -fmodule-name= does not accidentally pick up extra
4 // RUN: rm -rf %t
5 // RUN: split-file %s %t
10 // 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.rsp
16 // RUN: %deps-to-rsp %t/deps_pch.json --module-name B > %t/B.rsp
17 // RUN: %deps-to-rsp %t/deps_pch.json --tu-index 0 > %t/pch.rsp
23 // RUN: clang-scan-deps -compilation-database %t/cdb.json \
24 // RUN: -format experimental-full -mode preprocess-dependency-directives \
[all …]
H A Dmodules-has-include-umbrella-header.c4 // RUN: rm -rf %t
5 // RUN: split-file %s %t
7 //--- cdb.json.template
11 "command": "clang DIR/tu.c -fmodules -fmodules-cache-pat
[all...]
H A Dstrip-input-args.m1 // RUN: rm -rf %t
2 // RUN: split-file %s %t
3 // RUN: sed -e "s|DIR|%/t|g" %t/cdb1.json.template > %t/cdb1.json
5 // RUN: clang-scan-deps -compilation-database %t/cdb1.json -format experimental-full -mode preproce…
7 // RUN: FileCheck %s -input-file %t/result1.txt
13 // 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 …]
H A Dheader-search-pruning-transitive.c1 // 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 path
6 // 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 %t
17 // RUN: split-fil
[all...]
H A Dmodulemap-via-vfs.m1 // RUN: rm -rf %t.dir
2 // RUN: split-file %s %t.dir
3 // 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.yaml
5 // RUN: clang-scan-deps -compilation-database %t.dir/build/compile-commands.json \
6 // RUN: -j 1 -format experimental-full -mode preprocess-dependency-directives > %t.db
7 // RUN: %deps-to-rsp %t.db --module-name=A > %t.A.cc1.rsp
10 // CHECK-NOT: build/module.modulemap
12 // CHECK-NOT: build/module.modulemap
14 //--- build/compile-commands.json.in
[all …]
H A Dmodules-file-path-isolation.c1 // Ensure that the spelling of a path seen outside a module (e.g. header via
3 // Note: the spelling of the modulemap path still depends on the includer, since
8 // RUN: rm -rf %t
9 // RUN: split-file %s %t
10 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json
11 // RUN: ln -s A.h %t/Z.h
13 // RUN: clang-scan-deps -compilation-databas
[all...]
H A Dmodules-symlink-dir.c1 // Check that we canonicalize the module map path without changing the module
6 // RUN: rm -rf %t
7 // RUN: split-file %s %t
8 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.in > %t/cdb.json
9 // RUN: ln -s module %t/symlink-to-module
10 // RUN: ln -s ../actual.modulemap %t/module/module.modulemap
11 // RUN: ln -s A %t/module/F.framework/Versions/Current
12 // RUN: ln -s Versions/Current/Modules %t/module/F.framework/Modules
13 // RUN: ln -s Versions/Current/Headers %t/module/F.framework/Headers
15 // RUN: clang-scan-deps -compilation-database %t/cdb.json -j 1 \
[all …]
/llvm-project/clang/test/PCH/
H A Dmodified-module-dependency.m1 // RUN: rm -rf %t-dir
2 // RUN: mkdir -p %t-dir
3 // RUN: echo '@import test;' > %t-dir/prefix.h
4 // RUN: echo 'void foo(void);' > %t-dir/test.h
5 // RUN: cp %S/modified-module-dependency.module.map %t-dir/module.modulemap
8 …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.h
14-x objective-c -I %t-dir -include-pch %t-dir/prefix.pch -fmodules -fimplicit-module-maps -fmodules
15 // RUN: FileCheck %s < %t-dir/log
/llvm-project/llvm/
H A DCMakeLists.txt30 # "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.txt
67 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...]
/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h1 //===- DependencyScanningFilesystem.h - clang-scan-deps fs ===---*- C++ -*-
234 Cache; global() variable
[all...]
/llvm-project/clang/include/clang/Lex/
H A DHeaderSearchOptions.h1 //===- HeaderSearchOptions.h ---------
70 std::string Path; global() member
291 AddPath(StringRef Path,frontend::IncludeDirGroup Group,bool IsFramework,bool IgnoreSysRoot) AddPath() argument
[all...]
/llvm-project/clang/test/VFS/
H A Dreal-path-found-first.m1 // This test is for cases where we lookup a file by its 'real' path before we
2 // use its VFS-mapped path. If we accidentally use the real path in header
5 // the dependency files by real path.
7 // RUN: rm -rf %t %t-cache %t.pch
8 // RUN: mkdir -p %t/SomeFramework.framework/Modules
10 // 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-module
19 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
[all …]
/llvm-project/.github/workflows/
H A Drelease-documentation.yml9 release-version:
20 release-version:
30 release-documentation:
32 runs-on: ubuntu-latest
34 upload: ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}
36 - name: Checkout LLVM
39 - name: Setup Python env
40 uses: actions/setup-python@v5
42 cache
[all...]

123456