Home
last modified time | relevance | path

Searched +full:overlay +full:- +full:relative (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project/clang/test/VFS/
H A Drelative-path.c1 // RUN: mkdir -p %t
3 // RUN: sed -e "s@INPUT_DIR@%{/S:regex_replacement}/Inputs@g" -e "s@OUT_DIR@%{/t:regex_replacement}…
4 // RUN: %clang_cc1 -Werror -I . -ivfsoverlay %t.yaml -fsyntax-only %s
7 // RUN: sed -e "s@OVERLAY_DIR@true@g" -e "s@EXTERNAL_DIR@.@g" %S/Inputs/root-relative-overlay.yaml …
8 // RUN: %clang_cc1 -Werror -I %t -ivfsoverlay %t/root-relative-overlay.yaml -fsyntax-only %s
10 // RUN: sed -e "s@OVERLAY_DIR@false@g" -e "s@EXTERNAL_DIR@%{/t:regex_replacement}@g" %S/Inputs/root
11 // RUN: %clang_cc1 -Werror -I %t -ivfsoverlay %t/root-relative-overlay2.yaml -fsyntax-only %s
H A Ddirectory.c1 // RUN: rm -rf %t
2 // RUN: mkdir -p %t/Underlying
3 // RUN: mkdir -p %t/Overlay
4 // RUN: mkdir -p %t/Middle
11 // RUN: echo '// C.h in Overlay' > %t/Overlay/C.h
13 // 1) Underlying -> Overlay (C.h found, B.h falling back to Underlying)
14 // RUN: sed -e "s@INPUT_DIR@%{/t:regex_replacement}/Overlay@g" -e "s@OUT_DIR@%{/t:regex_replacement…
15 // RUN: %clang_cc1 -Werror -I %t/Underlying -ivfsoverlay %t/vfs.yaml -E -C %s 2>&1 | FileCheck --ch…
16 // RUN: %clang_cc1 -Werror -I %t/Underlying -ivfsoverlay %t/vfs.yaml -DNESTED -E -C %s 2>&1 | FileC…
17 …: sed -e "s@INPUT_DIR@Overlay@g" -e "s@OUT_DIR@%{/t:regex_replacement}/Underlying@g" %S/Inputs/vfs…
[all …]
/llvm-project/clang/test/VFS/Inputs/
H A Droot-relative-overlay.yaml3 'case-sensitive': false,
4 'overlay-relative': OVERLAY_DIR,
5 'root-relative': 'overlay-dir',
8 'external-contents': 'EXTERNAL_DIR/actual_header.h'
H A Dvfsoverlay-directory-relative.yaml4 'overlay-relative': true,
7 'type': 'directory-remap',
8 'external-contents': 'INPUT_DIR'
H A Dvfsoverlay-root-relative.yaml4 'overlay-relative': true,
10 'external-contents': 'actual_header.h',
/llvm-project/clang/test/Modules/
H A Dcrash-vfs-path-traversal.m1 // REQUIRES: crash-recovery, shell
2 // UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}}
4 // FIXME: Canonicalizing paths to remove relative traversal components
6 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
7 // XFAIL: target={{.*-windows-gnu}}
9 // RUN: rm -rf %t
10 // RUN: mkdir -p %t/i %t/m %t
13 // RUN: not %clang -fsyntax-only %s -I %S/Inputs/crash-recovery -isysroot %/t/i/ \
14 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
16 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
[all …]
H A Dcrash-vfs-relative-overlay.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
4 // XFAIL: target={{.*-windows-gnu}}
6 // RUN: rm -rf %t
7 // RUN: mkdir -p %t/i %t/m %t
10 // RUN: not %clang -fsyntax-only -nostdinc %s \
11 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \
12 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
14 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
15 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
[all …]
H A Dcrash-vfs-path-symlink-component.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
4 // XFAIL: target={{.*-windows-gnu}}
9 // RUN: rm -rf %t
10 // RUN: mkdir -p %t/i %t/m %t %t/sysroot
11 // RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/
12 // RUN: ln -s include/tcl-private %t/i/usr/x
15 // RUN: not %clang -fsyntax-only %s -I %/t/i -isysroot %/t/sysroot/ \
16 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
18 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
[all …]
H A Dcrash-vfs-include-pch.m1 // REQUIRES: crash-recovery, shell, system-darwin
3 // RUN: rm -rf %t
4 // RUN: mkdir -p %t/m %t/out
6 // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-use
[all...]
H A Dcrash-vfs-headermaps.m1 // REQUIRES: crash-recovery, shell, system-darwin
3 // RUN: rm -rf %t
4 // RUN: mkdir -p %t/m %t/i/Foo.framework/Headers
6 // RUN: %hmaptool write %S/../Preprocessor/Inputs/headermap-rel/foo.hmap.json %t/i/foo.hmap
9 // RUN: not %clang -fsyntax-only -fmodules -fmodules-cache-path=%t/m %s \
10 // RUN: -I %t/i/foo.hmap -F %t/i 2>&1 | FileCheck %s
12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
20 // CHECK-NEXT: note: diagnostic msg: {{.*}}.m
[all …]
H A Dcrash-vfs-ivfsoverlay.m1 // REQUIRES: crash-recovery, system-darwin
3 // RUN: rm -rf %t
4 // RUN: mkdir -p %t/m
6 // RUN: sed -e "s@INPUT_DIR@%{/t:regex_replacement}@g" -e "s@OUT_DIR@%{/t:regex_replacement}/exampl…
11 // RUN: not %clang -fsyntax-only -nostdinc %s \
12 // RUN: -I %S/Inputs/crash-recovery/usr/include \
13 // RUN: -ivfsoverlay %t/srcvfs.yaml \
14 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
16 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
17 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
[all …]
H A Dcrash-vfs-run-reproducer.m1 // REQUIRES: crash-recovery, shell, system-darwin
3 // RUN: rm -rf %t
4 // RUN: mkdir -p %t/i %t/m %t
7 // RUN: not %clang -fsyntax-only -nostdinc %s \
8 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \
9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
[all …]
H A Dcrash-vfs-relative-incdir.m1 // REQUIRES: crash-recovery, shell, system-darwin
3 // RUN: rm -rf %t
4 // RUN: mkdir -p %t/m
5 // RUN: cd %S/Inputs/crash-recovery/usr
8 // RUN: not %clang -fsyntax-only -nostdinc %s -Iinclude \
9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
[all …]
/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h1 //===- VirtualFileSystem.h - Virtual File System Layer --------
[all...]
H A DFileCollector.h1 //===-- FileCollector.h -----------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
55 /// - a copy of the file inside Root
56 /// - a record in RedirectingFileSystem mapping that maps:
57 /// current real path -> path to the copy in Root
62 /// We generate file copies and mapping lazily - see writeMapping and copyFiles.
67 /// In order to preserve the relative topology of files we use their real paths
68 /// as relative paths inside of the Root.
134 /// The root directory where the VFS overlay lives.
/llvm-project/utils/bazel/
H A Dconfigure.bzl3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 """Helper macros to configure the LLVM overlay project."""
7 # Directory of overlay files relative to WORKSPACE
8 DEFAULT_OVERLAY_PATH = "llvm-project-overlay"
[all...]
/llvm-project/clang/test/ClangScanDeps/
H A Dmodules-implementation-vfs.m4 // RUN: rm -rf %t
5 // RUN: split-file %s %t
7 //--- real/A.modulemap
9 //--- real/A.private.modulemap
12 //--- frameworks/A.framework/Headers/A.h
14 //--- frameworks/A.framework/PrivateHeaders/A_Private.h
17 //--- frameworks/B.framework/Headers/B.h
19 //--- frameworks/B.framework/Modules/module.modulemap
22 //--- overlay.json.template
24 "case-sensitive": "false",
[all …]
/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp1 //===--- ModuleDependencyCollector.cpp - Collect module dependencies ------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
18 #include "llvm/Config/llvm-config.h"
38 // Run this through the FileManager in order to respect 'use-external-name' in visitInputFile()
39 // in case we have a VFS overlay. in visitInputFile()
41 Filename = FE->getName(); in visitInputFile()
63 Collector.addFile(File->getName()); in InclusionDirective()
119 // Default to use relative overlay directories in the VFS yaml file. This in writeFileMap()
[all …]
H A DPrecompiledPreamble.cpp1 //===--- PrecompiledPreamble.cpp - Build precompiled preambles --*- C++ -*-===//
5 // SPDX-Licens
63 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( createVFSOverlayForPreamblePCH() local
[all...]
/llvm-project/llvm/cmake/platforms/
H A DWinMsvc.cmake1 # Cross toolchain configuration for using clang-cl on non-Windows hosts to
5 # cmake -G Ninja
6 # -DCMAKE_TOOLCHAIN_FILE=/path/to/this/file
7 # -DHOST_ARCH=[aarch64|arm64|armv7|arm|i686|x86|x86_64|x64]
8 # -DLLVM_NATIVE_TOOLCHAIN=/path/to/llvm/installation
9 # -DLLVM_WINSYSROOT=/path/to/win/sysroot
10 # -DMSVC_VER=vc tools version folder name
11 # -DWINSDK_VER=windows sdk version folder name
19 # copy of clang-c
[all...]
/llvm-project/libc/docs/dev/
H A Dcode_style.rst15 #. **Non-const variables** - This includes function arguments, struct and
16 class data members, non-const globals and local variables. They all use the
18 #. **const and constexpr variables** - They use the capitalized
20 #. **Function and methods** - They use the ``snake_case`` style like the
21 non-const variables.
22 #. **Internal type names** - These are types which are internal to the libc
24 #. **Public names** - These are the names as prescribed by the standards and
33 down to the compiler with the ``-D`` command line flag. They start with the
40 * ``src/__support/macros/properties/`` - Build related properties like
44 * ``architectures.h`` - Target architecture properties.
[all …]
/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp1 //===- VirtualFileSystem.cpp - Virtual File System Layer --------
[all...]
/llvm-project/clang/include/clang/Lex/
H A DHeaderSearchOptions.h1 //===- HeaderSearchOptions.h ---------
[all...]
/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.h1 //===-- ObjectFilePECOFF.h --------
[all...]
/llvm-project/llvm/docs/
H A DCMake.rst11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake
34 We use here the command-line, non-interactive CMake interface.
45 .. code-block:: console
53 .. code-block:: console
70 components are built; see the `Frequently Used LLVM-related
76 .. code-block:: console
78 $ cmake --buil
[all...]

12