/llvm-project/llvm/utils/ |
H A D | check-each-file | 9 program=$2 10 linker=./link-$program 11 echo "Building $program with llvm-native-gcc" 12 rm -f $program 13 gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx 14 echo "Erasing $program and re-linking it" 15 rm -f $program 16 echo "rm -f $program" > $linker 17 gmake -n $program >> $linker 23 echo "$program appears to need a dummy __main function; adding one" [all …]
|
/llvm-project/lldb/test/API/tools/lldb-dap/launch/ |
H A D | TestDAP_launch.py | 18 Tests the default launch of a simple program. No arguments, 21 program = self.getBuildArtifact("a.out") 22 self.build_and_launch(program) 24 # Now get the STDOUT and verify our program argument is correct 26 self.assertTrue(output and len(output) > 0, "expect program output") 28 self.assertIn(program, lines[0], "make sure program path is in first argument") 51 Tests the default launch of a simple program that stops at the 54 program = self.getBuildArtifact("a.out") 55 self.build_and_launch(program, stopOnEntr [all...] |
/llvm-project/llvm/test/CodeGen/WebAssembly/ |
H A D | multivalue-stackify.py | 38 def get_num_defs(program): argument 40 for _, defs in program: 45 def possible_ops(program): argument 46 program_defs = get_num_defs(program) 60 program = queue.popleft() 61 if len(program) == MAX_PROGRAM_OPS: 63 for op in possible_ops(program): 65 new_program = program + [op] 70 def get_num_terminal_ops(program): argument 72 for _, defs in program: [all …]
|
/llvm-project/flang/test/Driver/ |
H A D | include-header.f90 | 20 ! UNINCLUDED-NOT:program b 21 ! UNINCLUDED-NOT:program c 23 ! SINGLEINCLUDE:program MainDirectoryOne 24 ! SINGLEINCLUDE-NOT:program X 25 ! SINGLEINCLUDE-NOT:program B 26 ! SINGLEINCLUDE:program MainDirectoryTwo 27 ! SINGLEINCLUDE-NOT:program Y 28 ! SINGLEINCLUDE-NOT:program C 30 ! MAINDIRECTORY:program MainDirectoryOne 31 ! MAINDIRECTORY-NOT:program SubDirectoryOn [all...] |
H A D | multiple-input-files.f90 | 32 ! FLANG-LABEL: Program arithmetic 35 ! FLANG-NEXT: End Program arithmetic 37 ! FLANG-LABEL: program hello 39 ! FLANG-NEXT:end program hello 46 ! FC1-OUTPUT1-LABEL: Program arithmetic 49 ! FC1-OUTPUT1-NEXT: End Program arithmetic 51 ! FC1-OUTPUT2-LABEL:program hello 53 ! FC1-OUTPUT2-NEXT:end program hello 57 ! FC1-OUTPUT3-LABEL:program hello 59 ! FC1-OUTPUT3-NEXT:end program hell [all...] |
/llvm-project/llvm/utils/bugpoint/ |
H A D | RemoteRunSafely.sh | 3 # Program: RemoteRunSafely.sh 5 # Synopsis: This script simply runs another program remotely using ssh. 6 # It always returns the another program exit code or exit with 7 # code 255 which indicates that the program could not be executed. 12 # <program> <args...> 15 # <hostname> is the remote host to execute the program, 18 # <program> is the path to the program to run, 19 # <args...> are the arguments to pass to the program. 26 "<program> <args...>" 69 PROGRAM=$(basename $1) [all …]
|
/llvm-project/lldb/test/API/tools/lldb-dap/attach/ |
H A D | TestDAP_attach.py | 19 def spawn_and_wait(program, delay): argument 23 [program], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE 48 program = self.getBuildArtifact("a.out") 50 [program], 71 program = tempfile.mktemp() 72 shutil.copyfile(orig_program, program) 73 shutil.copymode(orig_program, program) 81 if os.path.exists(program): 82 os.unlink(program) 88 popen = self.spawnSubprocess(program, [pid_file_pat [all...] |
H A D | TestDAP_attachByPortNum.py | 64 program = self.getBuildArtifact("a.out") 70 args += [program] 85 self.attach(program=program, gdbRemotePort=port, sourceInitFile=True) 96 program = self.getBuildArtifact("a.out") 106 program=program, 124 program = self.getBuildArtifact("a.out") 128 program=program, gdbRemotePort=port, sourceInitFile=True, expectFailure=True 143 program = self.getBuildArtifact("a.out") 146 args = [program] 153 program=program, gdbRemotePort=port, sourceInitFile=True, expectFailure=True
|
/llvm-project/clang/test/Driver/ |
H A D | whole-program-vtables.c | 1 // RUN: not %clang -target x86_64-unknown-linux -fwhole-program-vtables -### %s 2>&1 | FileCheck --… 2 // RUN: not %clang_cl --target=x86_64-pc-win32 -fwhole-program-vtables -### -- %s 2>&1 | FileCheck … 3 // NO-LTO: invalid argument '-fwhole-program-vtables' only allowed with '-flto' 5 // RUN: %clang -target x86_64-unknown-linux -fwhole-program-vtables -flto -### %s 2>&1 | FileCheck … 6 // RUN: not %clang_cl --target=x86_64-pc-win32 -fwhole-program-vtables -flto -### -- %s 2>&1 | File… 7 // LTO: "-fwhole-program-vtables" 9 /// -funified-lto does not imply -flto, so we still get an error that fwhole-program-vtables has no… 10 // RUN: not %clang --target=x86_64-pc-linux-gnu -fwhole-program-vtables -funified-lto -### %s 2>&1 … 11 // RUN: not %clang --target=x86_64-pc-linux-gnu -fwhole-program-vtables -fno-unified-lto -### %s 2>… 13 // RUN: %clang -target x86_64-unknown-linux -fwhole-program-vtables -fno-whole-program-vtables -flt… [all …]
|
/llvm-project/lldb/tools/lldb-dap/ |
H A D | package.json | 145 "program": "./bin/lldb-dap", 147 "program": "./bin/lldb-dap.exe" 152 "program" 155 "program": { 157 "description": "Path to the program to debug." 164 "description": "Program arguments.", 169 "description": "Program working directory.", 176 "description": "Additional environment variables to set when launching the program. E.g. `{ \"FOO\": \"1\" }`", 186 "description": "Additional environment variables to set when launching the program. E.g. `[\"FOO=1\", \"BAR\"]`", 207 "description": "Don't retrieve STDIN, STDOUT and STDERR as the program i 130 "program": "./bin/lldb-dap", global() string 132 "program": "./bin/lldb-dap.exe" global() string 140 "program": { global() object 276 "program": { global() object 395 "program": "${workspaceRoot}/<your program>", global() string 409 "program": "^\"\\${workspaceRoot}/${1:<your program>}\"", global() string [all...] |
H A D | README.md | 37 "program": "/tmp/a.out", 63 "program": "/tmp/a.out", 79 "program": "/tmp/a.out", 91 "program": "/tmp/a.out", 101 This loads the coredump file `/cores/123.core` associated with the program 110 "program": "/tmp/a.out" 117 the current machine, that is debugging the program `/tmp/a.out` and listening 125 "program": "/tmp/a.out", 139 "program": "/tmp/a.out", 147 `hostnmame`. Which is debugging the program `/tm [all...] |
/llvm-project/llvm/docs/CommandGuide/ |
H A D | llvm-ar.rst | 4 .. program:: llvm-ar 9 :program:`llvm-ar` [-]{dmpqrstx}[abcDilLNoOPsSTuUvV] [relpos] [count] archive [files...] 14 The :program:`llvm-ar` command is similar to the common Unix utility, 15 :program:`ar`. It archives several files, such as objects and LLVM bitcode 16 files into a single archive library that can be linked into a program. However, 17 the archive can contain any kind of file. By default, :program:`llvm-ar` 21 The :program:`llvm-ar` command can be used to *read* archive files in SVR4, GNU, 28 Here's where :program:`llvm-ar` departs from previous :program:`ar` 39 [l] - ignored in :program:`ar` 43 Since :program:`llvm-ar` supports bitcode files, the symbol table it creates [all …]
|
H A D | lit.rst | 4 .. program:: lit 9 :program:`lit` [*options*] [*tests*] 14 :program:`lit` is a portable tool for executing LLVM and Clang style test 16 :program:`lit` is designed to be a lightweight testing tool with as simple a 19 :program:`lit` should be run with one or more *tests* to run specified on the 24 tests have been run :program:`lit` will print summary information on the number 26 :program:`lit` program will execute with a non-zero exit code if any tests 29 By default :program:`lit` will use a succinct progress display and will only 31 options controlling the :program [all...] |
H A D | lli.rst | 4 .. program:: lli 9 :program:`lli` [*options*] [*filename*] [*program args*] 14 :program:`lli` directly executes programs in LLVM bitcode format. It takes a program 18 :program:`lli` is *not* an emulator. It will not execute IR of different architectures 21 The JIT compiler takes the same arguments as other tools, like :program:`llc`, 24 If `filename` is not specified, then :program:`lli` reads the LLVM bitcode for the 25 program from standard input. 27 The optional *args* specified on the command line are passed to the program as 35 Override the ``argv[0]`` value passed into the executing program. 48 Causes :program:`lli` to load the plugin (shared object) named *pluginfilename* and use [all …]
|
H A D | llvm-remarkutil.rst | 4 .. program:: llvm-remarkutil 9 :program:`llvm-remarkutil` [*subcommmand*] [*options*] 31 .. program:: llvm-remarkutil bitstream2yaml 33 USAGE: :program:`llvm-remarkutil` bitstream2yaml <input file> -o <output file> 45 .. program:: llvm-remarkutil yaml2bitstream 47 USAGE: :program:`llvm-remarkutil` yaml2bitstream <input file> -o <output file> 60 .. program:: llvm-remarkutil instruction-count 62 USAGE: :program:`llvm-remarkutil` instruction-count <input file> --parser=<bitstream|yaml> [--use-d… 91 .. program:: llvm-remarkutil annotation-count 93 USAGE: :program:`llvm-remarkutil` annotation-count <input file> --parser=<bitstream|yaml> --annotat… [all …]
|
H A D | llvm-readobj.rst | 4 .. program:: llvm-readobj 9 :program:`llvm-readobj` [*options*] [*input...*] 14 The :program:`llvm-readobj` tool displays low-level format-specific information 17 If ``input`` is "``-``", :program:`llvm-readobj` reads from standard 23 :program:`llvm-readelf` is an alias for the :manpage:`llvm-readobj` tool with a 25 Following is a list of differences between :program:`llvm-readelf` and 26 :program:`llvm-readobj`: 28 - :program:`llvm-readelf` uses `GNU` for the :option:`--elf-output-style` option 29 by default. :program:`llvm-readobj` uses `LLVM`. 30 - :program:`llvm-readelf` allows single-letter grouped flags (e.g. [all …]
|
H A D | llvm-cov.rst | 4 .. program:: llvm-cov 9 :program:`llvm-cov` *command* [*args...*] 14 The :program:`llvm-cov` tool shows code coverage information for 19 If the program is invoked with a base name of ``gcov``, it will behave as if 20 the :program:`llvm-cov gcov` command were called. Otherwise, a command should 31 .. program:: llvm-cov gcov 41 :program:`llvm-cov gcov` [*options*] *SOURCEFILE* 46 The :program:`llvm-cov gcov` tool reads code coverage data files and displays 51 To use :program:`llvm-cov gcov`, you must first build an instrumented version 60 generated when you run the instrumented program, with a separate ``.gcda`` [all …]
|
H A D | llvm-dwarfutil.rst | 4 .. program:: llvm-dwarfutil 9 :program:`llvm-dwarfutil` [*options*] *input* *output* 14 :program:`llvm-dwarfutil` is a tool to copy and manipulate debug info. 20 If "-" is specified for the input file, the input is read from the program's 22 is written to the standard output stream of the program. 71 :program:`llvm-dwarfutil` with that option equals to the 76 :program:`llvm-objcopy` --only-keep-debug in-file out-file.debug 77 :program:`llvm-objcopy` --strip-debug in-file out-file 78 :program:`llvm-objcopy` --add-gnu-debuglink=out-file.debug out-file 104 Print the version of this program. [all …]
|
/llvm-project/flang/test/Parser/ |
H A D | end.f | 2 ! CHECK: end.f:3:7: error: Program unit END statement may not be continued in fixed form source 5 ! CHECK: end.f:6:7: error: Program unit END statement may not be continued in fixed form source 8 ! CHECK: end.f:9:7: error: Program unit END statement may not be continued in fixed form source 10 + program 11 ! CHECK: end.f:12:7: error: Program unit END statement may not be continued in fixed form source 13 + program 15 ! CHECK: end.f:16:7: error: Program unit END statement may not be continued in fixed form source 16 end program 18 ! CHECK: end.f:19:7: error: Initial line of continued statement must not appear to be a program uni… 21 ! CHECK: end.f:22:7: error: Initial line of continued statement must not appear to be a program uni… [all …]
|
/llvm-project/mlir/include/mlir/Analysis/ |
H A D | DataFlowFramework.h | 54 /// Program point represents a specific location in the execution of a program. 55 /// A sequence of program points can be combined into a control flow graph. 57 /// Creates a new program point at the given location. 61 /// Creates a new program point at the given operation. 68 /// Create a empty program point. 71 /// Create a new program point from the given program point. 87 /// Returns true if this program point is set. 90 /// Two program point [all...] |
/llvm-project/lldb/docs/man/ |
H A D | lldb.rst | 6 .. program:: lldb 11 | :program:`lldb` [*options*] *executable* 16 :program:`lldb` is a next generation, high-performance debugger. It is built as 20 :program:`lldb` is the default debugger in Xcode on macOS and supports 137 Tells the debugger to use the specified architecture when starting and running the program. 177 Tells the debugger to use the file <filename> as the program to be debugged. 263 lldb --arch x86_64 /path/to/program program argument -- --arch armv7 267 lldb --arch x86_64 -- /path/to/program program argument --arch armv7 269 Passing one of the attach options causes :program:`lldb` to immediately attach 275 Passing --repl starts :program:`lldb` in REPL mode. [all …]
|
H A D | lldb-server.rst | 6 .. program:: lldb-server 11 | :program:`lldb-server` v[ersion] 12 | :program:`lldb-server` g[dbserver] [*options*] 13 | :program:`lldb-server` p[latform] [*options*] 18 :program:`lldb-server` provides the server counterpart of the LLVM debugger. 19 The server runs and monitors the debugged program, while the user interfaces 47 | :program:`lldb-server` g[dbserver] [*options*] [[*host*]:*port*] [[--] *program* *args*...] 103 .. option:: -- program args 105 Launch a program fo [all...] |
/llvm-project/llvm/tools/bugpoint/ |
H A D | BugDriver.cpp | 48 // program. If this filename is set, it is used as the reference diff source, 53 cl::desc("Specify a reference program output " 57 /// If we reduce or update the program somehow, call this method to update 59 /// as the current program. 61 Program = std::move(M); in setNewProgram() 81 Program(nullptr), Interpreter(nullptr), SafeInterpreter(nullptr), in BugDriver() 122 std::unique_ptr<Module> OldProgram = std::move(Program); in swapProgramIn() 123 Program = std::move(M); in swapProgramIn() 133 assert(!Program && "Cannot call addSources multiple times!"); in addSources() 137 Program = parseInputFile(Filenames[0], Context); in addSources() [all …]
|
/llvm-project/llvm/test/tools/llvm-profdata/ |
H A D | sample-overlap.test | 2 ; OVERLAP0:Program level: 3 ; OVERLAP0: Whole program profile similarity: 100.000% 4 ; OVERLAP0: Whole program sample overlap: 100.000% 23 ; OVERLAP1:Program level: 24 ; OVERLAP1: Whole program profile similarity: 100.000% 25 ; OVERLAP1: Whole program sample overlap: 10.000% 44 ; OVERLAP2:Program level: 45 ; OVERLAP2: Whole program profile similarity: 63.720% 46 ; OVERLAP2: Whole program sample overlap: 29.649% 69 ; OVERLAP3:Program level: [all …]
|
/llvm-project/llvm/lib/Support/ |
H A D | Program.cpp | 1 //===-- Program.cpp - Implement OS Program Concept --------------*- C++ -*-===// 9 // This file implements the operating system Program concept. 13 #include "llvm/Support/Program.h" 25 static bool Execute(ProcessInfo &PI, StringRef Program, 32 int sys::ExecuteAndWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteAndWait() argument 41 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteAndWait() 57 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait() argument 67 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteNoWait() 75 bool sys::commandLineFitsWithinSystemLimits(StringRef Program, in commandLineFitsWithinSystemLimits() argument 81 return commandLineFitsWithinSystemLimits(Program, StringRefArgs); in commandLineFitsWithinSystemLimits() [all …]
|