| /llvm-project-15.0.7/openmp/runtime/tools/ |
| H A D | check-depends.pl | 31 my ( $tool, $bulk, $n ) = @_; 56 my $tool = "ldd"; 66 parse_error( $tool, @bulk, $i ); 98 my $tool; 105 $tool = "readelf"; 119 or parse_error( $tool, @bulk, $i ); 126 or parse_error( $tool, @bulk, $i ); 129 or parse_error( $tool, @bulk, $i ); 165 my $tool = "otool"; 174 $tool = "otool64"; [all …]
|
| H A D | check-execstack.pl | 28 my $tool; 30 $tool = "x86_64-k1om-linux-readelf"; 32 $tool = "readelf"; 34 execute( [ $tool, "-l", "-W", $file ], -stdout => \@output );
|
| /llvm-project-15.0.7/llvm/utils/gn/build/ |
| H A D | compiled_action.gni | 8 # tool (required) 9 # [label] Label of the tool to run. This should be an executable, and 11 # tool will be built for the host. 18 # to action()'s `args`, except that `tool` is implicitly added as first 30 # tool = "//tools/something:mytool" 39 # You would typically declare your tool like this: 47 # saves unnecessarily compiling your tool for the target platform. If you 48 # need a target build of your tool as well, omit the if statement. 53 assert(defined(invoker.tool), "must set 'tool' in $target_name") 66 host_tool = invoker.tool + "($host_toolchain)"
|
| /llvm-project-15.0.7/clang/tools/diag-build/ |
| H A D | diag-build.sh | 69 tool=$1 72 if [[ -z "$tool" ]]; then 75 elif [[ "$tool" == "xcodebuild" ]]; then 78 elif [[ "$tool" == "make" ]]; then 82 echo "Warning: unknown build system '$tool'" 1>&2 97 eval $tool $dry_run $set_compiler $@ 2>/dev/null | 109 if [[ "$tool" != "xcodebuild" ]]; then
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ |
| H A D | tool-name.test | 14 # OBJCOPY: OVERVIEW: llvm-objcopy tool 23 # STRIP: OVERVIEW: llvm-strip tool 26 # RUN: ln -s llvm-install-name-tool %t/llvm-install-name-tool-10 27 # RUN: ln -s llvm-install-name-tool %t/install_name_tool.exe 29 # RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL %s 30 # RUN: %t/llvm-install-name-tool-10 --help | FileCheck --check-prefix=INSTALL %s 33 # INSTALL: OVERVIEW: llvm-install-name-tool tool 43 # BITCODE-STRIP: OVERVIEW: llvm-bitcode-strip tool
|
| H A D | tool-help-message.test | 17 # RUN: llvm-install-name-tool -h | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full… 18 # RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-… 19 # RUN: not llvm-install-name-tool 2>&1 | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --matc… 20 # RUN: not llvm-install-name-tool -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG-LONG %s 21 # RUN: not llvm-install-name-tool --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG-LONG %s 22 # RUN: not llvm-install-name-tool -add_rpath @executable 2>&1 | FileCheck %s --check-prefix=NO-INPU… 23 # RUN: not llvm-install-name-tool -add_rpath @executable f1 f2 2>&1 | FileCheck %s --check-prefix=M… 38 # INSTALL-NAME-TOOL-USAGE: USAGE: llvm-install-name-tool [options] input
|
| /llvm-project-15.0.7/openmp/tools/multiplex/ |
| H A D | README.md | 2 The OMPT-Multiplexing header file allows a tool to load a second tool to 3 overcome the restriction of the OpenMP to only load one tool at a time. 29 … of first tool must include the following with the convention, that the environment variable conta… 34 Note that functions and variables with prefix "ompt_multiplex" are reserved by the tool 40 …$ OMP_TOOL_LIBRARIES=/path/to/first/tool.so EXAMPLE_TOOL_LBRARIES=/path/to/second/tool.so ./progra… 53 This will reverse the calling order of the current tool and its client. In order to avoid this, one…
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/ |
| H A D | install-name-tool-prepend-rpath.test | 4 # RUN: llvm-install-name-tool -add_rpath @executable_path/. %t.i386 5 # RUN: llvm-install-name-tool -prepend_rpath first_rpath %t.i386 9 # RUN: llvm-install-name-tool -add_rpath @executable_path/. %t.x86_64 10 # RUN: llvm-install-name-tool -prepend_rpath first_rpath %t.x86_64 23 # RUN: llvm-install-name-tool -prepend_rpath first_rpath %t.dylib 30 # RUN: not llvm-install-name-tool -prepend_rpath first_rpath %t.i386 2>&1 | \ 36 # RUN: not llvm-install-name-tool -prepend_rpath @executable_X \ 43 # RUN: not llvm-install-name-tool -prepend_rpath foo \ 50 # RUN: not llvm-install-name-tool -prepend_rpath foo \ 58 # RUN: llvm-install-name-tool -prepend_rpath abcd %t.x86_64
|
| H A D | install-name-tool-rpath.test | 6 # RUN: llvm-install-name-tool -rpath @executable_a/. @executable_A/. %t 27 # RUN: llvm-install-name-tool -rpath @executable_A/. ABCD %t 35 # RUN: llvm-install-name-tool -rpath @executable_d/. @executable_D/. \ 46 # RUN: llvm-install-name-tool -rpath @executable_D/. @executable_d/. \ 58 # RUN: not llvm-install-name-tool -rpath @executable_test/. @executable/. \ 73 # RUN: not llvm-install-name-tool -rpath @executable_d/. ABCD %t 2>&1 | \ 80 # RUN: not llvm-install-name-tool -rpath DDD1/. @exec_d/. \ 88 # RUN: not llvm-install-name-tool -rpath @executable_d/. DD/. \ 96 # RUN: not llvm-install-name-tool -rpath @executable_e/. EE/. \ 104 # RUN: not llvm-install-name-tool %t -rpath @executable_e/. 2>&1 | \ [all …]
|
| H A D | install-name-tool-add-rpath.test | 4 # RUN: llvm-install-name-tool -add_rpath @executable_path/. %t.i386 8 # RUN: llvm-install-name-tool -add_rpath @executable_path/. %t.x86_64 15 # RUN: not llvm-install-name-tool -add_rpath @executable_path/. %t.i386 2>&1 \ 20 # RUN: not llvm-install-name-tool -add_rpath @executable_path/. 2>&1 \ 26 # RUN: not llvm-install-name-tool -add_rpath @executable_X \ 34 # RUN: llvm-install-name-tool -add_rpath abcd %t.x86_64
|
| H A D | install-name-tool-delete-rpath.test | 6 # RUN: llvm-install-name-tool -delete_rpath @executable_a/. %t 16 # RUN: llvm-install-name-tool -delete_rpath @executable_b/. \ 25 # RUN: llvm-install-name-tool -delete_rpath @executable_d/. \ 33 # RUN: not llvm-install-name-tool -delete_rpath @executable_a/. %t 2>&1 | \ 39 # RUN: not llvm-install-name-tool -add_rpath @executable_b/. \ 47 # RUN: llvm-install-name-tool -delete_all_rpaths %t2 54 # RUN: llvm-install-name-tool --delete_all_rpaths -add_rpath @executable_b/. %t3
|
| H A D | install-name-tool-change.test | 7 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/long/long/dylib/LOAD %t.copy 15 # RUN: llvm-install-name-tool -change /usr/dylib/WEAK /usr/sh/WEAK \ 24 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/LOAD \ 33 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/XX/LOAD \ 42 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/JOJO/LOAD \ 51 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/COMMON \ 59 # RUN: llvm-install-name-tool -change /usr/COMMON /usr/ONCE %t.copy 67 # RUN: llvm-install-name-tool -change /usr/JOJO/LOAD /usr/XX/LOAD \ 72 # RUN: not llvm-install-name-tool %t -change /usr/ONCE 2>&1 | \ 76 # RUN: not llvm-install-name-tool %t -change 2>&1 | \
|
| /llvm-project-15.0.7/llvm/tools/llvm-driver/ |
| H A D | llvm-driver.cpp | 19 #define LLVM_DRIVER_TOOL(tool, entry) int entry##_main(int argc, char **argv); argument 23 #define LLVM_DRIVER_TOOL(tool, entry) " " tool "\n" argument 57 #define LLVM_DRIVER_TOOL(tool, entry) \ in findTool() argument 58 if (Is(tool)) \ in findTool()
|
| H A D | CMakeLists.txt | 6 foreach(tool ${LLVM_DRIVER_TOOLS}) 7 string(REPLACE "-" "_" tool_entry ${tool}) 8 string(REPLACE "llvm-" "" tool ${tool}) 9 set(def_decl "${def_decl}LLVM_DRIVER_TOOL(\"${tool}\", ${tool_entry})\n")
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/ |
| H A D | CMakeLists.txt | 51 # Create a separate config for each tool we support. 52 foreach(tool ${SUPPORTED_TOOLS}) 53 string(TOUPPER ${tool} tool_toupper) 55 list(APPEND SANITIZER_COMMON_TEST_DEPS ${tool}) 61 if(${tool} STREQUAL "asan") 64 if(OS_NAME MATCHES "SunOS" AND ${tool} STREQUAL "asan") 71 set(SANITIZER_COMMON_LIT_TEST_MODE ${tool}) 74 set(CONFIG_NAME ${tool}-${arch}-${OS_NAME}) 93 ${tool} STREQUAL "lsan" AND
|
| /llvm-project-15.0.7/llvm/utils/gn/build/toolchain/ |
| H A D | BUILD.gn | 34 tool("cc") { 42 tool("cxx") { 50 tool("objcxx") { 58 tool("asm") { 66 tool("alink") { 131 tool("link") { 148 tool("copy") { 287 tool("cc") { 294 tool("cxx") { 352 tool("link") { [all …]
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibTooling.rst | 6 This document will provide a basic walkthrough of how to write a tool using 40 Writing a standalone tool 44 possibly break, it's time to create a standalone tool. For a standalone tool 69 static llvm::cl::OptionCategory MyToolCategory("my-tool options"); 95 // the tool constructor. 104 Putting it together --- the first tool 108 version of this example tool is also checked into the clang tree at 125 static cl::OptionCategory MyToolCategory("my-tool options"); 142 Running the tool on some code 188 ``$(dirname /path/to/tool)/../lib/clang/3.3/include`` relative to the tool [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-debuginfod-find/ |
| H A D | debuginfod.test | 6 # RUN: --tool-cmd 'llvm-debuginfod-find --dump --executable abcdef' | \ 9 # RUN: --tool-cmd 'llvm-debuginfod-find --dump --source=/directory/file.c abcdef' | \ 12 # RUN: --tool-cmd 'llvm-debuginfod-find --dump --debuginfo abcdef' | \ 30 # This script is used to test the debuginfod client within a host tool. 31 # It first stands up a Python HTTP static file server and then executes the tool. 32 # This way the tool can make debuginfod HTTP requests to the static file server. 42 # Serves files at the server_path, then runs the tool with specified args. 70 parser.add_argument('--tool-cmd', required=True, type=str)
|
| /llvm-project-15.0.7/polly/test/ |
| H A D | update_check.py | 281 tool, filecheck = m.group('tool', 'filecheck') 283 tool = shlex.split(tool) 285 tool[0] = complete_exename(known.bindir, tool[0]) 287 tool[0] = complete_exename(llvm_tools_dir, tool[0]) 297 for toolarg in tool: 309 tool = newtool 313 while i < len(tool): 314 if tool[i] == '<': 315 inpfile = tool[i + 1] 316 del tool[i:i + 2] [all …]
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/ |
| H A D | Main.py | 103 tool_name = options.tool 135 def tool_main(context, tool, args): argument 136 with Timer(tool.name): 137 options, defaults = tool.parse_command_line(args) 142 context.version = version(tool.name) 156 tool.handle_base_options(defaults) 162 return_code = tool.go()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/test/ |
| H A D | BUILD.gn | 73 "//clang-tools-extra/clang-apply-replacements/tool:clang-apply-replacements", 74 "//clang-tools-extra/clang-change-namespace/tool:clang-change-namespace", 75 "//clang-tools-extra/clang-doc/tool:clang-doc", 76 "//clang-tools-extra/clang-include-fixer/find-all-symbols/tool:find-all-symbols", 77 "//clang-tools-extra/clang-include-fixer/tool:clang-include-fixer", 78 "//clang-tools-extra/clang-move/tool:clang-move", 79 "//clang-tools-extra/clang-query/tool:clang-query", 80 "//clang-tools-extra/clang-reorder-fields/tool:clang-reorder-fields", 81 "//clang-tools-extra/clang-tidy/tool:clang-tidy",
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | bugpoint.rst | 1 bugpoint - automatic test case reduction tool 50 **--tool-args** *tool args* 52 Pass all arguments specified after **--tool-args** to the LLVM tool under test 58 bugpoint [bugpoint args] --tool-args -- [tool args] 60 The "``--``" right after the **--tool-args** option tells **bugpoint** to 61 consider any options starting with "``-``" to be part of the **--tool-args** 64 **--safe-tool-args** *tool args* 66 Pass all arguments specified after **--safe-tool-args** to the "safe" execution 67 tool. 69 **--gcc-tool-args** *gcc tool args* [all …]
|
| H A D | llvm-install-name-tool.rst | 1 llvm-install-name-tool - LLVM tool for manipulating install-names and rpaths 4 .. program:: llvm-install-name-tool 9 :program:`llvm-install-name-tool` [*options*] *input* 14 :program:`llvm-install-name-tool` is a tool to manipulate dynamic shared library 68 Display the version of the :program:`llvm-install-name-tool` executable. 73 :program:`llvm-install-name-tool` exits with a non-zero exit code if there is an error.
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | CFIVerify.rst | 11 This document provides an overview of an external tool to verify the protection 13 (``-fsanitize=cfi``). This tool, provided a binary or DSO, should infer whether 17 This tool should also be added as part of Clang's continuous integration testing 24 This tool will be present as a part of the LLVM toolchain, and will reside in 38 This tool will continuously validate that CFI directives are properly 49 It may be possible in the future to extend this tool to flag unnecessary CFI 57 This tool will disassemble binaries and DSO's from their machine code format and 58 analyse the disassembled machine code. The tool will inspect virtual calls and 59 indirect function calls. This tool will also inspect indirect jumps, as inlined 64 The tool would operate by searching for indirect control flow instructions in [all …]
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | OptimizerDriver.cpp | 166 std::string tool = OptCmd; in runPasses() local 170 tool = *Path; in runPasses() 174 if (tool.empty()) { in runPasses() 178 if (!sys::fs::exists(tool)) { in runPasses() 179 errs() << "Specified `opt' binary does not exist: " << tool << "\n"; in runPasses() 190 Prog = tool; in runPasses() 202 Args.push_back(tool); in runPasses() 204 Args.push_back(tool); in runPasses()
|