| /llvm-project/clang/test/Driver/ |
| H A D | working-directory.c | 1 // RUN: not %clang -### -coverage -working-directory /no/such/dir/ input 2>&1 | FileCheck %s 2 // RUN: not %clang -### -coverage -working-directory %p/Inputs no_such_file.cpp -c 2>&1 | FileCheck… 3 // RUN: %clang -### -coverage -working-directory %p/Inputs pchfile.cpp -c 2>&1 | FileCheck %s --che… 5 // CHECK: unable to set working directory: /no/such/dir/ 7 // CHECK_NO_FILE: no such file or directory: 'no_such_file.cpp' 9 // CHECK_WORKS: "-fdebug-compilation-dir={{[^"]+}}test{{/|\\\\}}Driver{{/|\\\\}}Inputs" 10 // CHECK_WORKS: "-coverage-notes-file={{[^"]+}}test{{/|\\\\}}Driver{{/|\\\\}}Inputs{{/|\\\\}}pchfil… 11 // CHECK_WORKS: "-working-directory" "{{[^"]+}}test{{/|\\\\}}Driver{{/|\\\\}}Inputs"
|
| H A D | working-directory-and-abs.c | 1 // RUN: %clang -working-directory=%S %S/working-directory-and-abs.c -fsyntax-only
|
| H A D | gen-cdb-fragment.c | 1 // REQUIRES: x86-registered-target 2 // RUN: rm -rf %t.cdb 3 // RUN: %clang -target x86_64-apple-macos10.15 -c %s -o - -gen-cdb-fragment-path %t.cdb 4 // RUN: ls %t.cdb | FileCheck --check-prefix=CHECK-LS %s 5 // CHECK-LS: gen-cdb-fragment.c.{{.*}}.json 7 // RUN: cat %t.cdb/*.json | FileCheck --check-prefix=CHECK %s 8 // CHECK: { "directory": "{{.*}}", "file": "{{.*}}gen-cdb-fragment.c", "output": "-", "arguments": … 9 // RUN: cat %t.cdb/*.json | FileCheck --check-prefix=CHECK-FLAG %s 10 // CHECK-FLAG-NOT: -gen-cdb-fragment-path 12 // RUN: rm -rf %t.cdb [all …]
|
| /llvm-project/clang/test/Modules/ |
| H A D | prune-non-affecting-module-map-files.m | 1 // Check that the presence of non-affecting module map files does not affect the 4 // RUN: rm -rf %t && mkdir %t 5 // RUN: split-file %s %t 7 //--- a/module.modulemap 10 //--- b/module.modulemap 13 //--- c/module.modulemap 15 //--- c/c.h 18 //--- tu.m 21 //--- explicit-mms-common-args.rsp 22 -fmodule-map-file=b/module.modulemap -fmodule-map-file=c/module.modulemap -fmodules -fmodules-cache… [all …]
|
| /llvm-project/clang/test/PCH/ |
| H A D | working-directory.cpp | 2 // RUN: %clang_cc1 -working-directory %S -I. -include working-directory.h %s -Wunused 5 // RUN: %clang_cc1 -working-directory %S -x c++-header -emit-pch -o %t.pch -I. working-directory.h 6 // RUN: %clang_cc1 -include-pch %t.pch -fsyntax-only %s -Wunused
|
| /llvm-project/lldb/examples/customization/pwd-cd-and-system/ |
| H A D | utils.py | 7 # Store the previous working directory for the 'cd -' command. 25 """Change the working directory, or cd to ${HOME}. 26 You can also issue 'cd -' to change to the previous working directory.""" 30 elif new_dir == "-": 32 # Bad directory, not changing. 33 print("bad directory, not changing") 40 print("Current working directory: %s" % os.getcwd())
|
| /llvm-project/lldb/docs/use/ |
| H A D | remote.rst | 9 To enable remote debugging, LLDB employs a client-server architecture. The 11 client and server communicate using the gdb-remote protocol, usually 13 the LLDB-specific extensions are documented in docs/lldb-gdb-remote.txt file 14 inside LLDB source repository. Besides the gdb-remote stub, the server part of 27 --------------------------------- 39 lldb-server binary. This binary combines the functionality of the platform and 40 gdb-remote stub. A single binary facilitates deployment and reduces code size, 41 since the two functions share a lot of code. The lldb-server binary is also 44 lldb. On macOS and iOS, the remote-gdb functionality is implemented by the 45 debugserver binary, which you will need to deploy alongside lldb-server. [all …]
|
| /llvm-project/clang/test/Misc/ |
| H A D | working-directory.c | 1 // RUN: %clang_cc1 -working-directory %S working-directory.c -IInputs -fsyntax-only 3 #include "working-directory.h"
|
| /llvm-project/clang/test/ClangScanDeps/ |
| H A D | working-directory-option.c | 1 // Test that -working-directory works even when it differs from the working 2 // directory of the filesystem. 4 // RUN: rm -rf %t 5 // RUN: mkdir -p %t/other 6 // RUN: split-file %s %t 7 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.template > %t/cdb.json 9 // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full \ 12 // RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t 14 // CHECK: "file-deps": [ 15 // CHECK-NEXT: "[[PREFIX]]/cwd/t.c" [all …]
|
| /llvm-project/lld/test/ELF/linkerscript/ |
| H A D | input-relative.s | 2 ## For a relative pathname in INPUT() or GROUP(), the parent directory of 3 ## the current linker script has priority over current working directory and -L. 5 # RUN: rm -rf %t.dir && mkdir %t.dir && cd %t.dir 8 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o a.o 9 # RUN: echo '.globl b, cwd; b: cwd:' | llvm-mc -filetype=obj -triple=x86_64 - -o b.o 10 # RUN: echo '.globl b, dir; b: dir:' | llvm-mc -filetype=obj -triple=x86_64 - -o dir/b.o 11 # RUN: llvm-ar rc libb.a b.o 12 # RUN: llvm-ar rc dir/libb.a dir/b.o 14 ## A relative pathname is relative to the parent directory of the current linker script. 15 ## The directory has priority over current working directory and -L. [all …]
|
| /llvm-project/clang/test/Frontend/ |
| H A D | output-paths.c | 1 // RUN: not %clang_cc1 -emit-llvm -o %t.doesnotexist/somename %s 2> %t 2 // RUN: FileCheck -check-prefix=OUTPUTFAIL -DMSG=%errc_ENOENT -input-file=%t %s 6 // Check that -working-directory is respected when diagnosing output failures. 8 // RUN: rm -rf %t.d && mkdir -p %t.d/%basename_t-inner.d 9 // RUN: %clang_cc1 -working-directory %t.d -E -o %basename_t-inner.d/somename %s -verify 10 // expected-no-diagnostics 12 // RUN: %clang_cc1 -working-directory %t.d -E %s -o - | FileCheck %s
|
| /llvm-project/lldb/include/lldb/API/ |
| H A D | SBReproducer.h | 1 //===-- SBReproducer.h ------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 63 /// The working directory is set to the current working directory when the 65 /// working directory. This is used by the API test suite which temporarily 66 /// changes the directory to where the test lives. This is a NO-OP in every
|
| /llvm-project/clang-tools-extra/clangd/support/ |
| H A D | ThreadsafeFS.h | 1 //===--- ThreadsafeFS.h ------------------------------------------*- C++-*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 30 /// Obtain a vfs::FileSystem with an arbitrary initial working directory. 36 /// Obtain a vfs::FileSystem with a specified working directory. 37 /// If the working directory can't be set (e.g. doesn't exist), logs and 43 /// This is distinct from view(NoneType) to avoid GCC's -Woverloaded-virtual.
|
| /llvm-project/lldb/test/API/commands/process/launch/ |
| H A D | TestProcessLaunch.py | 20 self.runCmd("settings set auto-confirm true") 23 self.runCmd("settings clear auto-confirm") 33 in_file = os.path.join(self.getSourceDir(), "input-file.txt") 34 out_file = lldbutil.append_to_process_working_directory(self, "output-test.out") 35 err_file = lldbutil.append_to_process_working_directory(self, "output-test.err") 48 launch_command = "process launch -i '{0}' -o '{1}' -e '{2}' -w '{3}'".format( 54 'platform put-fil [all...] |
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | VirtualFileSystem.h | 1 //===- VirtualFileSystem.h - Virtual File System Layer -------- [all...] |
| /llvm-project/clang/unittests/Serialization/ |
| H A D | ModuleCacheTest.cpp | 1 //===- unittests/Serialization/ModuleCacheTest.cpp - CI tests -------- [all...] |
| /llvm-project/.github/workflows/ |
| H A D | pr-subscriber.yml | 6 - labeled 12 auto-subscribe: 13 runs-on: ubuntu-latest 14 if: github.repository == 'llvm/llvm-project' 16 - name: Checkout Automation Script 19 sparse-checkout: llvm/utils/git/ 22 - name: Setup Automation Script 23 working-directory: ./llvm/utils/git/ 25 pip install --require-hashes -r requirements.txt 27 - name: Update watchers [all …]
|
| H A D | issue-subscriber.yml | 6 - labeled 12 auto-subscribe: 13 runs-on: ubuntu-latest 14 if: github.repository == 'llvm/llvm-project' 16 - name: Checkout Automation Script 19 sparse-checkout: llvm/utils/git/ 22 - name: Setup Automation Script 23 working-directory: ./llvm/utils/git/ 25 pip install --require-hashes -r requirements.txt 27 - name: Update watchers [all …]
|
| H A D | merged-prs.yml | 9 # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ 12 - closed 16 runs-on: ubuntu-latest 18 pull-requests: write 19 if: >- 20 (github.repository == 'llvm/llvm-project') && 23 - name: Checkout Automation Script 26 sparse-checkout: llvm/utils/git/ 29 - name: Setup Automation Script 30 working-directory: ./llvm/utils/git/ [all …]
|
| /llvm-project/lldb/include/lldb/Host/ |
| H A D | Host.h | 1 //===-- Host.h -------- [all...] |
| /llvm-project/lldb/tools/darwin-debug/ |
| H A D | darwin-debug.cpp | 1 //===-- darwin-debug.cpp ----------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 48 {"disable-aslr", no_argument, NULL, 'd'}, 49 {"no-env", no_argument, NULL, 'e'}, 52 {"unix-socket", required_argument, NULL, 'u'}, 53 {"working-dir", required_argument, NULL, 'w'}, 59 " darwin-debug -- posix spawn a process that is stopped at the entry " in usage() 64 " darwin-debug --unix-socket=<SOCKET> [--arch=<ARCH>] " in usage() 65 "[--working-dir=<PATH>] [--disable-aslr] [--no-env] [--setsid] [--help] " in usage() [all …]
|
| /llvm-project/lldb/packages/Python/lldbsuite/test/ |
| H A D | dotest_args.py | 13 description="description", prefix_chars="+-", add_help=False 25 "-h", 26 "--help", 29 help="Print this help message and exit. Add '-v' for more detailed help.", 35 "-A", 36 "--arch", 44 "-C", 45 "--compiler", 53 "--sysroot", 63 "--apple-sdk", [all …]
|
| H A D | lldb_pylint_helper.py | 4 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 This facilitates working on the lldb sourcecode on multiple machines 20 # Third-party modules 26 # pylint: disable=line-too-long 27 """Adds lldb test-related paths to the python path. 29 Starting with the given directory and working upward through 30 each parent directory up to the root, it looks for the lldb 31 test directory. When found, the lldb test directory and its 32 child test_runner/lib directory will be added to the python 40 .pylintrc file in your home directory: [all …]
|
| /llvm-project/lldb/test/API/tools/lldb-dap/launch/ |
| H A D | TestDAP_launch.py | 2 Test lldb-dap setBreakpoints request 32 Tests the correct termination of lldb-dap upon a 'disconnect' 36 # The underlying lldb-dap process must be alive 39 # The lldb-dap process should finish even though 43 # Wait until the underlying lldb-dap process dies. 69 Tests the default launch of a simple program with a current working 70 directory. 88 "working directory '%s' not in '%s'" % (program_parent_dir, line), 90 self.assertTrue(found, "verified program working director [all...] |
| /llvm-project/clang/docs/ |
| H A D | JSONCompilationDatabase.rst | 16 - Build systems are inherently change driven, so running multiple tools 19 - Figuring out whether things have changed is often an IO bound 22 - Build systems are inherently sequential in the build graph, for 33 ``-MJ argument <clang -MJ\<arg>>``. You can concatenate those 45 <https://github.com/hedronvision/bazel-compile-commands-extractor>`_. 46 Bazel is otherwise resistant to Bear and other compiler-intercept 62 working directory of the compile run and the actual compile command. 69 { "directory": "/home/user/llvm/build", 70 …"arguments": ["/usr/bin/clang++", "-Irelative", "-DSOMEDEF=With spaces, quotes and \\-es.", "-c", … 73 { "directory": "/home/user/llvm/build", [all …]
|