/llvm-project/libcxx/docs/ |
H A D | BuildingLibcxx.rst |
|
H A D | Modules.rst | 51 * ``LIBCXX_ENABLE_EXCEPTIONS`` [#note-no-windows]_ 57 .. [#note-no-windows] This configuration will probably not work on Windows 58 due to hard-coded compilation flags. 69 * The path to the compiler may not be a symlink, ``clang-scan-deps`` does 74 hard to solve and there is a work-around by first including all headers 75 `bug report <https://github.com/llvm/llvm-project/issues/61465>`__. 92 `bug report <https://github.com/llvm/llvm-project/issues/62943>`__. 118 .. code-block:: bash 120 $ git clone https://github.com/llvm/llvm-project.git 121 $ cd llvm-project [all …]
|
/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 - 'clang/include/clang/Basic/AttrDocs.td' 19 - 'clang/include/clang/Driver/ClangOptionDocs.td' 20 - 'clan [all...] |
/llvm-project/libc/docs/ |
H A D | full_cross_build.rst | 26 * **Standalone cross build** - Using this recipe one can build the libc using a 29 * **Bootstrap cross build** - In this recipe, one will build the ``clang`` 51 -------- [all...] |
H A D | overlay_mode.rst | 31 Building LLVM-libc as a standalone runtime 32 --------- [all...] |
/llvm-project/llvm-libgcc/docs/ |
H A D | LLVMLibgcc.rst | 1 .. llvm-libgcc: 4 llvm-libgcc 10 **Note that these instructions assume a Linux and bash-friendly environment. 11 YMMV if you’re on a non Linux-based platform.** 24 but different implementations, the two libraries end up [cross-talking, which 28 necessary functions from compiler-rt and libunwind into an archive and shared 31 in memory. Fortunately for us, compiler-rt and libunwind use the same ABI as the 32 libgcc family, so the problem is solvable at the llvm-project configuration 35 want to archive compiler-rt/unwind as libgcc. We achieve this by compiling 36 libunwind with all the symbols necessary for compiler-rt to emulate the libgcc [all …]
|
/llvm-project/libcxx/utils/ci/ |
H A D | oss-fuzz.sh | 1 #!/bin/bash -eu 4 # This script runs the continuous fuzzing tests on OSS-Fuzz. 8 …CXXFLAGS="${CXXFLAGS} -fsanitize=unsigned-integer-overflow -fsanitize-trap=unsigned-integer-overfl… 16 cmake -S ${MONOREPO_ROOT}/runtimes -B ${BUILD} \ 17 -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \ 18 -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 19 -DCMAKE_INSTALL_PREFIX="${INSTALL}" 20 cmake --build ${BUILD} --target install-cxx-headers 26 -std=c++20 \ 27 -DLIBCPP_OSS_FUZZ \ [all …]
|
H A D | run-buildbot | 2 # ===---------- [all...] |
H A D | apple-install-libcxx.sh | 2 # ===---------- [all...] |
/llvm-project/.github/workflows/containers/github-action-ci/ |
H A D | stage1.Dockerfile |
|
/llvm-project/libcxx/utils/ |
H A D | libcxx-lit | 3 set -e 9 ${PROGNAME} [-h|--help] [-b|--bootstrap] <build-directory> [lit options...] tests... 13 [-b|- [all...] |
/llvm-project/libc/docs/gpu/ |
H A D | building.rst | 17 it *must* be built with an up-to-date ``clang`` compiler. This is because the 21 ``nvptx64-nvidia-cuda`` for NVIDIA GPUs or ``amdgcn-amd-amdhsa`` for AMD GPUs. 22 Targeting these architectures is done through ``clang``'s cross-compiling 23 support using the ``--target=<triple>`` flag. The following sections will 30 - [all...] |
/llvm-project/libunwind/docs/ |
H A D | BuildingLibunwind.rst | 15 On Mac OS, the easiest way to get this library is to link with -lSystem. 16 However if you want to build tip-of-trunk from here (getting the bleeding 23 * ``cd where-you-want-llvm-to-live`` 24 * ``git clone https://github.com/llvm/llvm-project.git`` 35 * ``cmake - [all...] |
/llvm-project/llvm/cmake/modules/ |
H A D | CrossCompile.cmake | 17 "${CMAKE_CURRENT_BINARY_DIR}/${target_name}-stamps") 25 -DCMAKE_TOOLCHAIN_FILE=\"${LLVM_MAIN_SRC_DIR}/cmake/platforms/${toolchain}.cmake\") 28 -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} 29 -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} 40 set(build_type_flags "-DCMAKE_BUILD_TYPE=${buildtype}") 43 set(linker_flag "-DLLVM_USE_LINKER=${LLVM_USE_LINKER}") 46 # Propagate LLVM_EXTERNAL_CLANG_SOURCE_DIR so that clang-tblgen can be built 47 set(external_clang_dir "-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=${LLVM_EXTERNAL_CLANG_SOURCE_DIR}") 51 COMMAND ${CMAKE_COMMAND} -E make_directory ${${project_name}_${target_name}_BUILD} 77 "-DLLVM_EXTERNAL [all...] |
/llvm-project/offload/cmake/Modules/ |
H A D | LibomptargetGetDependencies.cmake | 15 # in an out-of-tree mode. 28 # openmp is built with -DLLVM_ENABLE_RUNTIMES="openmp" vs 29 # -DLLVM_ENABLE_PROJECTS="openmp", but openmp build 50 if(TARGET nvptx-arch) 51 get_property(LIBOMPTARGET_NVPTX_ARCH TARGET nvptx-arch PROPERTY LOCATION) 53 find_program(LIBOMPTARGET_NVPTX_ARCH NAMES nvptx-arch 74 if(TARGET amdgpu-arch) 75 get_property(LIBOMPTARGET_AMDGPU_ARCH TARGET amdgpu-arch PROPERTY LOCATION) 77 find_program(LIBOMPTARGET_AMDGPU_ARCH NAMES amdgpu-arch
|
/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 …]
|
H A D | test-release.sh | 2 #===-- test-release.sh - Test the LLVM release candidates ------ [all...] |
/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/ |
H A D | build_symbolizer.sh | 7 # Script compiles self-contained object file with symbolization code. 10 # libraries to symbolize code/data in-process. 14 # want to be doing "ld -r" followed by "objcopy -G" to create a relocatable 16 # present, see https://github.com/llvm/llvm-project/issues/30098. 18 set -x 19 set -e 20 set -u 23 SRC_DIR=$(readlink -f $SCRIPT_DIR/..) 25 if [[ $# -n [all...] |
/llvm-project/compiler-rt/www/ |
H A D | index.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=ISO-8859-1"> 7 <title>"compiler-r [all...] |
/llvm-project/lldb/docs/resources/ |
H A D | build.rst | 5 ---------- [all...] |
/llvm-project/clang/docs/ |
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 …]
|
H A D | AddressSanitizer.rst | 12 instrumentation module and a run-time library. The tool can detect the 15 * Out-of-bounds accesses to heap, stack and globals 16 * Use-after-free 17 * Use-after-return (clang flag ``-fsanitize-address-us [all...] |
H A D | DataFlowSanitizer.rst | 21 detect application-specific issues within their own code. 33 .. code-block:: console 35 mkdir libcxx-build 36 cd libcxx-build 39 cmake -GNinja -S <monorepo-root>/runtimes \ 40 -DCMAKE_C_COMPILER=clang \ 41 -DCMAKE_CXX_COMPILER=clang++ \ 42 -DLLVM_USE_SANITIZER="DataFlow" \ 43 -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" 65 -------- [all …]
|
/llvm-project/flang/docs/ |
H A D | GettingStarted.md | 1 <!--===- docs/GettingStarted.md 5 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 --> 12 --- 14 --- 36 compiler-rt. Note that compiler-rt is only needed to access libraries that 39 includig GNU and clang. But building compiler-rt requres using the clang 44 into a directory called llvm-project. The build will also 46 the built files), install (holds the installed files, and compiler-rt (holds 47 the result of building compiler-rt). [all …]
|
/llvm-project/bolt/docs/ |
H A D | OptimizingClang.md | 11 large applications measuring over hundreds of megabytes in size. However, medium-sized 12 programs can benefit too. Clang, one of the most popular open-source C/C++ compilers, 15 misses and can be significantly improved with BOLT, even on top of profile-guided and 16 link-time optimizations. 20 the compile-time performance gains are coming from, and verify that the speed-ups are 27 on how to obtain and build Clang in [Bootstrapping Clang-7 with PGO and LTO](#bootstrapping-clang-7-wit [all...] |