/llvm-project/.github/workflows/ |
H A D | docs.yml | 4 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 14 - 'main' 16 - 'llvm/docs/**' 17 - 'clang/docs/**' 18 - 'clan [all...] |
/llvm-project/llvm/utils/release/ |
H A D | build-docs.sh | 2 #===-- build-docs.sh - Tag the LLVM release candidates ---------------------===# 6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 #===------------------------------------------------------------------------===# 14 # * dnf install doxygen texlive-epstopdf ghostscript \ 15 # ninja-build gcc-c++ 16 # * pip install --user -r ./llvm/docs/requirements.txt 18 # * apt-get install doxygen \ 19 # ninja-build graphviz texlive-font-utils 20 # * pip install --user -r ./llvm/docs/requirements.txt 21 #===------------------------------------------------------------------------===# [all …]
|
/llvm-project/clang/docs/ |
H A D | ThinLTO.rst | 13 runtime performance through whole-program analysis and cross-module 22 locations for later cross-module function importing. Fast and efficient 23 whole-program analysis is then performed on the combined summary index. 34 <http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html>`_. 43 ---------- 50 <https://llvm.org/docs/CMake.html>`_. 53 ------- 59 - **gold (via the gold-plugin)**: 62 <https://llvm.org/docs/GoldPlugin.html>`_. 63 - **ld64**: [all …]
|
H A D | Toolchain.rst | 25 This document currently describes Clang configurations on POSIX-like 26 operating systems with the GCC-compatible ``clang`` driver. When 27 targeting Windows with the MSVC-compatible ``clang-cl`` driver, some 33 .. FIXME: Describe DWARF-related tools 41 The ``-E`` flag instructs Clang to stop after this step. 44 builds a source-level intermediate representation ("AST"), producing a 45 :ref:`precompiled header (PCH) <usersmanual-precompiled-headers>`, 49 The ``-precompile`` flag instructs Clang to stop after this step. This is 52 * **IR generation**: This converts the source-level intermediate representation 53 into an optimizer-specific intermediate representation (IR); for Clang, this [all …]
|
/llvm-project/ |
H A D | README.md | 3 …ds.dev/projects/github.com/llvm/llvm-project/badge)](https://securityscorecards.dev/viewer/?uri=gi… 5 …-project/actions/workflows/libcxx-build-and-test.yaml/badge.svg?branch=main&event=schedule)](https… 10 construction of highly optimized compilers, optimizers, and run-time 19 C-like languages use the [Clang](https://clang.llvm.org/) frontend. This 20 component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode 21 -- and from there into object files, using LLVM. 25 the [LLD linker](https://lld.llvm.org), and more. 30 [Getting Started with LLVM](https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-b… 34 the [Contributing to LLVM](https://llvm.org/docs/Contributing.html) guide. 40 [LLVM Office Hours](https://llvm.org/docs/GettingInvolved.html#office-hours) or [all …]
|
/llvm-project/utils/bazel/ |
H A D | README.md | 3 *Warning* The Bazel build is experimental and best-effort, supported in line 5 [LLVM's peripheral support tier](https://llvm.org/docs/SupportPolicy.html). 10 up-to-date is on the people who use the Bazel build. 12 [Bazel](https://bazel.build/) is a multi-language build system focused on 22 [proposal](https://github.com/llvm/llvm-www/blob/main/proposals/LP0002-BazelBuildConfiguration.md) 27 1. `git clone https://github.com/llvm/llvm-project.git; cd llvm-projec [all...] |
/llvm-project/llvm/docs/ |
H A D | GettingStarted.rst | 19 C-like languages use the `Clang <https://clang.llvm.org/>`_ front end. This 21 -- and from there into object files, using LLVM. 25 the `LLD linker <https://lld.llvm.org>`_, and more. 34 * ``git clone https://github.com/llvm/llvm-project.git`` 37 ``git clone --config core.autocrlf=false 38 https://github.com/llvm/llvm-project.git`` 39 * To save storage and speed-u [all...] |
H A D | CMake.rst | 11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake 34 We use here the command-line, non-interactive CMake interface. 36 #. `Download <http://www.cmake.org/cmake/resources/software.html>`_ and install 45 .. code-block:: console 53 .. code-block:: console 70 components are built; see the `Frequently Used LLVM-related 76 .. code-block:: console 78 $ cmake - [all...] |
H A D | HowToAddABuilder.rst | 28 commits from the llvm-zorg repository. 52 with the "config owner". We do expect "resource owners" - who are generally 53 the contact listed in a workers attributes - to proxy requests to the relevant 74 of parallelism (-j param) would give the fastest build. You can build 77 #. Install buildbot-worker (currently we are using buildbot version 2.8.4). 79 as ``pip3 install buildbot-worker==2.8.4``. 81 #. Create a designated user account, your buildbot-worker will be running under, 84 #. Choose the buildbot-worker root directory (all builds will be placed under 85 it), buildbot-worker access name and password the build master will be using 86 to authenticate your buildbot-worke [all...] |
H A D | HowToBuildWithPGO.rst | 2 How To Build Clang and LLVM with Profile-Guided Optimizations 8 PGO (Profile-Guided Optimization) allows your compiler to better optimize code 13 to other subprojects, such as LLD. 15 If you want to build other software with PGO, see the `end-user documentation 16 for PGO <https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization>`_. 22 See https://llvm.org/docs/AdvancedBuilds.html#multi-stage-pgo 29 compiler-rt. Despite the name, it performs four clean builds of Clang, so it 30 can take a while to run to completion. Please see the script's ``--help`` for 32 If you want to get the most out of PGO for a particular use-case (e.g. compiling 39 This script also supports a ``--dry-run`` option, which causes it to print [all …]
|
/llvm-project/libc/docs/ |
H A D | contributing.rst | 7 LLVM-libc is being developed as part of the LLVM project so contributions 9 `contribution guidelines <https://llvm.org/docs/Contributing.html>`_. Below is 12 #. **Beginner Bugs** - Help us tackle 13 `good first issues <https://github.com/llvm/llvm-project/issues?q=is%3Aopen+is%3Aissue+label%3Alibc+label%3A%22good+first+issue%22>`__. 20 #. **Cleanup code-style** - The libc project follows the general 21 `LLVM style <https://llvm.org/docs/CodingStandards.html>`_ but differs in a 22 few aspects: We use ``snake_case`` for non-constan [all...] |
H A D | full_host_build.rst | 19 build for developing LLVM-libc, then we will explain how to build LLVM-libc as 26 Below is the list of commands for a simple recipe to build LLVM-libc for 35 ``gcc-multilib`` package creates this symlink, or you can do it manually with 37 ``sudo ln -s /usr/include/<HOST TRIPLE>/asm /usr/include/asm`` 38 (your host triple will probably be similar to ``x86_64-linux-gnu``) 40 .. code-block:: sh 42 $> cd llvm-project # The llvm-projec [all...] |
/llvm-project/lldb/docs/resources/ |
H A D | build.rst | 5 ---------- [all...] |
/llvm-project/lld/docs/ |
H A D | conf.py | 1 # -*- coding: utf-8 -*- 3 # lld documentation build configuration file. 21 # -- General configuration ----------------------------------------------------- 37 # source_encoding = 'utf-8-sig' 43 project = "lld" 44 copyright = "2011-%d, LLVM Project" % date.today().year 51 # non-false value, then it is used: 54 today_fmt = "%Y-%m-%d" 63 # If true, '()' will be appended to :func: etc. cross-reference text. 81 # -- Options for HTML output --------------------------------------------------- [all …]
|
H A D | index.rst | 1 LLD - The LLVM Linker 4 LLD is a linker from the LLVM project that is a drop-in replacement 8 The linker supports ELF (Unix), PE/COFF (Windows), Mach-O (macOS) and 9 WebAssembly in descending order of completeness. Internally, LLD consists of 16 ---- [all...] |
H A D | NewLLD.rst | 5 --------------------------- 7 You can embed LLD to your program by linking against it and calling the linker's 8 entry point function ``lld::lldMain``. 23 ------------ 28 This is a list of design choices we've made for ELF and COFF LLD. 29 We believe that these high-level design choices achieved a right balance 39 to abstract the differences wouldn't be worth its complexity and run-time 47 Therefore, the high-level design matters more than local optimizations. 48 Since we are trying to create a high-performance linker, 61 LLD's handling of archive files (the files with ".a" file extension) is [all …]
|
/llvm-project/lld/test/ELF/ |
H A D | edata-etext.s | 2 # RUN: rm -rf %t && split-file %s %t 3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/a.s -o %t/a.o 4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/b.s -o %t/b.o 5 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/c.s -o %t/c.o 6 # RUN: ld.lld %t/a.o -o %t/a 7 # RUN: llvm-objdump -t --section-headers %t/a | FileCheck %s 10 ## 1) Address of _etext is the first location after the last read-only loadable segment. 14 ## of _edata." (https://docs.oracle.com/cd/E53394_01/html/E54766/u-etext-3c.html). 18 # CHECK-NEXT: Idx Name Size VMA Type 19 # CHECK-NEXT: 0 00000000 0000000000000000 [all …]
|
/llvm-project/llvm/docs/Proposals/ |
H A D | VariableNames.rst | 12 inevitably be some details that are flawed. You can help - you can edit this 15 <http://lists.llvm.org/pipermail/llvm-dev/2019-February/130083.html>`_. 26 <../CodingStandards.html#name-types-functions-variables-and-enumerators-properly>`_ 43 The proliferation of acronyms leads to hard-to-read code such as `this 44 <https://github.com/llvm/llvm-project/blob/0a8bc14ad7f3209fe702d18e250194cd90188596/llvm/lib/Transf… 61 This work-in-progress proposal is to change the coding standard for variable 65 …<https://github.com/llvm/llvm-project/blob/8b72080d4d7b13072f371712eed333f987b7a18e/llvm/lib/CodeG… 74 but here we use the terminology from clang-tidy). 91 ------------------------------ 114 While switching coding standard will make it easier to use non-acronym names for [all …]
|
/llvm-project/lld/docs/ELF/ |
H A D | start-stop-gc.rst | 1 -z start-stop-gc 4 If your ``-Wl,--gc-sections`` build fail with a linker error like this: 8 …mbol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://l… 11 suffice under ``--gc-sections``. 20 GNU ld 2.37 added ``-z start-stop-gc`` to restore the traditional behavior 21 ld.lld 13.0.0 defaults to ``-z start-stop-gc`` and supports ``-z nostart-stop-gc`` 25 allowed GC (like ``-z start-stop-gc``). 28 ----------------------------------- 33 .. code-block:: c 42 .. code-block:: c [all …]
|
H A D | linker_script.rst | 4 LLD implements a large subset of the GNU ld linker script notation. The LLD 6 documented in the ld `manual <https://sourceware.org/binutils/docs/ld/Scripts.html>`_ 7 We consider it a bug if the lld implementation does not agree with the manual 14 The lld implementation policy for properties of linker scripts that are not 17 it is appropriate for LLD. Intentional deviations will be documented in this 47 section-command 48 section-command 52 Each section-comman [all...] |
/llvm-project/lld/test/ELF/linkerscript/ |
H A D | orphan-memory.test | 3 RUN: split-file %s %ts 4 RUN: llvm-mc -filetype=obj -triple=x86_64 %ts/s -o %t.o 9 ## Also check that a non-SHF_ALLOC orphan section '.nonalloc' is not placed in 14 RUN: ld.lld -o %t -T %ts/t %t.o 15 RUN: llvm-readelf -S %t | FileCheck %s 18 CHECK: .text PROGBITS 0000000000008000 {{[0-9a-f]+}} 000004 19 CHECK: .data PROGBITS 0000000000009000 {{[0-9a-f]+}} 000008 20 CHECK: .data2 PROGBITS 0000000000009008 {{[0-9a-f]+}} 00000c 21 CHECK: .init_array INIT_ARRAY 0000000000009014 {{[0-9a-f]+}} 000010 22 CHECK: .nonalloc PROGBITS 0000000000000000 {{[0-9a-f]+}} 000010 [all …]
|
/llvm-project/libc/docs/gpu/ |
H A D | using.rst | 27 ---------- [all...] |
/llvm-project/flang/docs/ |
H A D | FlangDriver.md | 1 <!--===- docs/FlangDriver.md 5 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 --> [all...] |
/llvm-project/llvm/utils/gn/build/ |
H A D | BUILD.gn | 10 # llvm/utils/prepare-code-coverage-artifact.py \ 11 # --compilation-dir=out/gn \ 12 # .../llvm-profdata .../llvm-cov out/gn/profiles/ report/ \ 13 # out/gn/bin/llvm-undname ... 14 # to generate a HTML repor [all...] |
/llvm-project/clang/cmake/caches/ |
H A D | CrossWinToARMLinux.cmake | 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_DIR=<full-path-t [all...] |