/llvm-project/.github/workflows/ |
H A D | libclang-python-tests.yml | 1 name: Libclang Python Binding Tests 10 - 'main' 12 - 'clang/bindings/python/**' 13 - 'clang/tools/libclang/**' 14 - 'clang/CMakeList.txt' 15 - ' [all...] |
H A D | docs.yml | 4 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 14 - 'main' 16 - 'llvm/docs/**' 17 - 'clang/docs/**' 18 - 'clang/includ [all...] |
H A D | pr-code-format.yml | 1 name: "Check code formatting" 9 - main 10 - 'users/**' 14 runs-on: ubuntu-latest 15 timeout-minutes: 30 17 group: ${{ github.workflow }}-${{ github.event.pull_request.number }} 18 cancel-in-progress: true 19 if: github.repository == 'llvm/llvm-projec [all...] |
/llvm-project/clang/bindings/python/tests/ |
H A D | CMakeLists.txt | 1 # Test target to run Python test suite from main build. 3 # Avoid configurations including '-include' from interfering with 5 add_custom_target(check-clang-python 6 COMMAND ${CMAKE_COMMAND} -E env 9 "${Python3_EXECUTABLE}" -m unittest discover 14 set_target_properties(check [all...] |
/llvm-project/lldb/docs/resources/ |
H A D | build.rst | 5 ---------- [all...] |
H A D | test.rst | 5 ---------- [all...] |
/llvm-project/llvm/utils/release/ |
H A D | build_llvm_release.bat | 8 echo used for the releases at https://github.com/llvm/llvm-project/releases
10 echo Usage: build_llvm_release.bat --version ^<version^> [--x86,--x64, --arm64] [- [all...] |
/llvm-project/lldb/docs/ |
H A D | index.rst | 8 LLDB is a next generation, high-performance debugger. It is built as a set of 10 `LLVM Project <https://llvm.org>`_, such as the Clang expression parser and 14 Objective-C and C++ on the desktop and iOS devices and simulator. 19 .. _"Apache 2.0 License with LLVM exceptions": https://llvm.org/docs/DeveloperPolicy.html#new-llvm-project-license-framework 22 --- [all...] |
/llvm-project/llvm/docs/ |
H A D | GettingStartedVS.rst | 20 test the LLVM tools and the Clang front end. 22 The second piece is the `Clang <https://clang.llvm.org/>`_ front end. This 24 bitcode. Clang typically uses LLVM libraries to optimize the bitcode and emit 38 -------- 47 -------- 57 If you would like to run the LLVM tests you will need `Python 58 <http://www.python.org/>`_. Version 3.8 and newer are known to work. You can 59 install Python with Visual Studio 2019, from the Microsoft store or from 60 the `Python web site <http://www.python.org/>`_. We recommend the latter since it 63 You will need `Git for Windows <https://git-scm.com/>`_ with bash tools, too. [all …]
|
H A D | TestingGuide.rst | 26 software required to build LLVM, as well as `Python <http://python.org>`_ 3.8 or 35 and ``llvm/test`` respectively and are expected to always pass -- they should be 39 "test-suite") and are in the ``test-suite`` 40 `repository on GitHub <https://github.com/llvm/llvm-test-suite.git>`_. 42 tests" in places, which is less ambiguous than "test-suite" and remains 46 - [all...] |
/llvm-project/clang/test/Driver/ |
H A D | ftime-trace.cpp | 1 // RUN: rm -rf %t && mkdir -p %t && cd %t 2 // RUN: %clangxx -S -no-canonical-prefixes -ftime-trace -ftime-trac [all...] |
H A D | response-file.c | 1 // Check that clang is able to process short response files 2 // Since this is a short response file, clang must not use a response file 5 // RUN: echo "-DTEST" > %t.0.txt 6 // RUN: %clang -E @%t.0.txt %s -v 2>&1 | FileCheck %s -check-prefix=SHORT 7 // SHORT-NOT: Arguments passed via response file 10 // Check that clang is able to process long response files, routing a long 14 // *huge*), so just check that invoking cc1 succeeds under these conditions. 16 // RUN: %python -c 'print(*("-DTEST" for x in range(300000)))' >%t.1.txt 17 // RUN: %clang -E @%t.1.txt %s -v 2>&1 | FileCheck %s -check-prefix=LONG
|
/llvm-project/clang/www/ |
H A D | get_started.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 5 <META http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <title>Clang - Getting Started</title> 12 <!--#include virtual="menu.html.incl"--> 16 <h1>Getting Started: Building and Running Clang</h1> 18 <p>This page gives you the shortest path to checking out Clang and demos a few 21 involved</a> with the Clang community. If you run into problems, please file 22 bugs on <a href="https://github.com/llvm/llvm-project/issues">the LLVM bug tracker</a>.</p> 24 <h2 id="download">Release Clang Versions</h2> 26 <p>Clang is released as part of regular LLVM releases. You can download the release versions from <… [all …]
|
H A D | hacking.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 3 <!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ --> 6 <META http-equiv="Content-Type" content="text/html; charset=utf-8"> 7 <title>Hacking on clang</title> 11 pre { margin-lef [all...] |
/llvm-project/lldb/test/API/ |
H A D | lit.cfg.py | 1 # -*- Python -*- 15 config.name = "lldb-api" 41 subprocess.check_output([config.cmake_cxx_compiler, "-print-resource-dir"]) 42 .decode("utf- [all...] |
/llvm-project/clang/docs/ |
H A D | ExternalClangExamples.rst | 2 External Clang Examples 9 done with Clang that might serve as useful guides (or starting points) from 11 banal (but necessary) as how to set up your build to integrate Clang. 13 Clang's library-based design is deliberately aimed at facilitating use by 14 external projects, and we are always interested in improving Clang to 16 where Clang is used are: 18 - Static analysis. 19 - Documentation/cross-referenc [all...] |
/llvm-project/llvm/test/Transforms/Inline/ML/ |
H A D | development-training-log.ll | 4 ; RUN: rm -rf %t_savedmodel %t 5 ; RUN: %python %S/../../../../lib/Analysis/models/gen-inline-oz-test-model.py %t_savedmodel 6 ; RUN: %python %S/../../../../lib/Analysis/models/saved-model-to-tflite.py %t_savedmodel %t 8 …-enable-ml-inliner=development -passes=scc-oz-module-inliner -training-log=%t1 -ml-inliner-model-u… 9 ; RUN: %python %S/../../../../lib/Analysis/models/log_reader.py %t1 | FileCheck %s 10 …-enable-ml-inliner=development -passes=scc-oz-module-inliner -training-log=%t2 -ml-inliner-model-u… 11 ; RUN: %python %S/../../../../lib/Analysis/models/log_reader.py %t2 | FileCheck %s --check-prefixes… 12 …-enable-ml-inliner=development -passes=scc-oz-module-inliner -training-log=%t3 -ml-inliner-ir2nati… 13 ; RUN: %python %S/../../../../lib/Analysis/models/log_reader.py %t3 | FileCheck %s 14 ; RUN: opt -enable-ml-inliner=development -passes=scc-oz-module-inliner -training-log=%t4 -ml-inlin… [all …]
|
/llvm-project/clang/test/Analysis/ |
H A D | check-analyzer-fixit.py | 1 #!/usr/bin/env python 3 # ===- check-analyzer-fixit.py - Static Analyzer test helper ---*- python -*-===# 7 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 9 # ===------------------------------------------------------------------------===# 11 # This file copy-pasted mostly from the Clang-Tidy's 'check_clang_tidy.py'. 13 # ===------------------------------------------------------------------------===# 16 Clang Static Analyzer test helper 19 This script runs the Analyzer in fix-it mode and verify fixes, warnings, notes. 22 check-analyzer-fixit.py <source-file> <temp-file> [analyzer arguments] 25 // RUN: %check-analyzer-fixit %s %t -analyzer-checker=core [all …]
|
/llvm-project/lldb/packages/Python/lldbsuite/test/ |
H A D | dotest.py | 2 A simple testing framework for lldb using python's unit testing framework. 4 Tests for lldb are written as python scripts which take advantage of the script 10 To specify the directories where "Test*.py" python test scripts are located, 16 ./dotest.py -h 35 # Third-party modules 79 This is an example of using the -f option to pinpoint to a specific test class 82 $ ./dotest.py -f ClassTypesTestCase.test_with_dsym_and_run_command 83 --- 640 def check(obj, parts): global() function [all...] |
/llvm-project/clang/cmake/caches/ |
H A D | CrossWinToARMLinux.cmake | 11 # The build generates a proper clang configuration file with stored 12 # --sysroot argument for specified target triple. Also it is possible 14 # -DCLANG_CONFIG_FILE_USER_DIR=<full-path-to-clang-configs> 16 # -DCLANG_CONFIG_FILE_SYSTEM_DI [all...] |
/llvm-project/openmp/libompd/gdb-plugin/ |
H A D | README.txt | 10 …Compile the program to be debugged with '-g' and '-fopenmp' options as shown for a sample C source… 11 $ clang -g -fopenmp xyz.c -o xyz.out 14 …e debugged needs to have a dynamic link dependency on 'libomp.so' for OpenMP-specific debugging to… 15 The user can check this using ldd on the generated binary i.e. xyz.out 19 …$ gdb -x <build_dir/libompd/gdb-plugin/python-module/ompd/__init__.py> or <installed_dir/share/gdb… 21 - The gdb command 'help ompd' lists the subcommands available for OpenMP-specific debugging. 22 …- The command 'ompd init' needs to be run first to load the libompd.so available in the $LD_LIBRAR… 23 …- The 'ompd init' command starts the program run, and the program stops at a temporary breakpoint … 24 - The user can 'continue' from the temporary breakpoint for further debugging. 25 …- The user may place breakpoints at the OpenMP internal locations 'ompd_bp_thread_begin' and 'ompd… [all …]
|
/llvm-project/clang/tools/clang-format/ |
H A D | git-clang-format | 3 # ===- git-clang-format - ClangFormat Git Integration ----- [all...] |
/llvm-project/openmp/libompd/test/ |
H A D | CMakeLists.txt | 3 if(NOT OPENMP_TEST_COMPILER_ID STREQUAL "Clang") 4 message(STATUS "LIBOMPD: Can only test with Clang compiler") 5 message(WARNING "LIBOMPD: The check-libompd target will not be available!") 9 set(PYTHON_PLUGIN ${ompd_BINARY_DIR}/gdb-plugin/python-module) 14 add_openmp_testsuite(check-ompd "Running OMPD tests"
|
/llvm-project/cross-project-tests/ |
H A D | lit.cfg.py | 16 config.name = "cross-project-tests" 42 "debuginfo-tests", 43 "llgdb-tests", 84 llvm_config.use_clang(required=("clang" in config.llvm_enabled_projects)) 90 if "compiler-rt" in config.llvm_enabled_projects: 91 config.available_features.add("compiler-rt") 93 # Check which debuggers are available: 105 config.cross_project_tests_src_root, "debuginfo-tests", "dexter", "dexter.py" 109 dexter_test_cmd += ' - 175 add_host_triple(clang) global() argument [all...] |
/llvm-project/compiler-rt/test/ubsan_minimal/ |
H A D | lit.common.cfg.py | 1 # -*- Python -*- 19 config.name = "UBSan-Minimal-" + config.target_arch 23 return " " + " ".join([config.clang] + compile_flags) + " " 27 clang_ubsan_cflags = ["-fsanitize-minima [all...] |