/llvm-project/libunwind/docs/ |
H A D | BuildingLibunwind.rst | 4 Building libunwind 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 19 The basic steps needed to build libunwind are: 21 #. Checkout LLVM, libunwind, and related projects: 23 * ``cd where-you-wan [all...] |
H A D | README.txt | 1 libunwind Documentation 4 The libunwind documentation is written using the Sphinx documentation generator. It is 7 To build the documents into html configure libunwind with the following cmake options: 9 * -DLLVM_ENABLE_SPHINX=ON 10 * -DLIBUNWIND_INCLUDE_DOCS=ON 12 After configuring libunwind with these options the make rule `docs-libunwind-html`
|
H A D | conf.py | 1 # -*- coding: utf-8 -*- 3 # libunwind documentation build configuration file. 21 # -- General configuration ----------------------------------------------------- 37 # source_encoding = 'utf-8-sig' 43 project = "libunwind" 44 copyright = "2011-%d, LLVM Project" % date.today().year 60 # non-false value, then it is used: 63 today_fmt = "%Y-%m-%d" 72 # If true, '()' will be appended to :func: etc. cross-reference text. 90 # -- Options for HTML output --------------------------------------------------- [all …]
|
/llvm-project/.github/workflows/ |
H A D | docs.yml | 4 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 name: "Test documentation build" 14 - 'main' 16 - 'llvm/docs/**' 17 - 'clang/docs/**' 18 - 'clang/include/clang/Basic/AttrDocs.td' 19 - 'clan [all...] |
H A D | libcxx-build-and-test.yaml | 1 # This file defines pre-commit CI for libc++, libc++abi, and libunwind (on Github). 4 # when a job fails early in the pipeline. This is why the jobs are marked as `continue-on-error: false`. 7 # Stages 1 & 2 are meant to be "smoke tests", and are meant to catch most build/test failures quickly and without using 11 # Therefore, we "fail-fast" for any failures during stages 1 & 2, meaning any job failing cancels all other running jobs, 13 # However, stage 3 does not fail fast, as it's more likely that any one job failing is a flake or a configuration-specific 15 name: Build and Test libc++ 19 - 'libcxx/**' 20 - 'libcxxab [all...] |
/llvm-project/libunwind/ |
H A D | CMakeLists.txt | 6 set(LLVM_SUBPROJECT_TITLE "libunwind") 28 message(FATAL_ERROR "Libunwind doesn't build for MSVC targets, and that is almost certainly not what you want to do " 29 "anyway since libunwind is tied to the Itanium C++ ABI, and MSVC targets must use the MS C++ ABI.") 39 option(LIBUNWIND_ENABLE_CET "Build libunwind with CET enabled." OFF) 40 option(LIBUNWIND_ENABLE_GCS "Build libunwind with GCS enabled." OFF) 41 option(LIBUNWIND_ENABLE_ASSERTIONS "Enable assertions independent of build mode." ON) 44 option(LIBUNWIND_ENABLE_SHARED "Build libunwin [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.** 18 Enabling libunwind as a replacement for libgcc on Linux has proven to be 23 _Unwind_Backtrace][1]. Since libgcc_{eh.a,s.so} and libunwind have the same ABI, 24 but different implementations, the two libraries end up [cross-talking, which 27 To solve this problem, libunwind needs libgcc "front" that is, link the 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 [all …]
|
/llvm-project/llvm/utils/gn/secondary/libunwind/src/ |
H A D | BUILD.gn | 2 import("//compiler-rt/target.gni") 5 # Build libunwind as a shared library. 8 # Build libunwind as a static library. 13 "../include/libunwind.h", 19 "../include/mach-o/compact_unwind_encoding.h", 32 "Unwind-EHABI.cpp", 33 "Unwind-EHABI.h", 34 "Unwind-seh.cpp", 35 "Unwind-sjlj.c", 36 "Unwind-wasm.c", [all …]
|
/llvm-project/libcxx/utils/ci/ |
H A D | run-buildbot | 2 # ===---------- [all...] |
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… 11 BUILD=cxx_build_dir 15 mkdir ${BUILD} 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 [all …]
|
/llvm-project/llvm/docs/ |
H A D | HowToBuildWindowsItaniumPrograms.rst | 2 How to build Windows Itanium applications. 18 * libc++-abi. 19 * libunwind. 25 Note: compiler-rt is not used. This functionality is supplied by the MS VCRT. 31 * Clang with support for the windows-itanium triple. 32 * COFF LLD with support for the -autoimport switch. 37 SJLJ exceptions, "-fsjlj-exceptions", are the only currently supported model. 39 link.exe (the MS linker) is unsuitable as it doesn't support auto-importing which 44 A reasonable work-aroun [all...] |
/llvm-project/llvm-libgcc/ |
H A D | CMakeLists.txt | 10 # Check if llvm-libgcc is built as a standalone project 12 project(llvm-libgcc LANGUAGES C CXX ASM) 15 set(LLVM_LIBGCC_COMPILER_RT_BINARY_DIR "compiler-rt") 16 set(LLVM_LIBGCC_LIBUNWIND_BINARY_DIR "libunwind") 18 set(LLVM_LIBGCC_COMPILER_RT_BINARY_DIR "../compiler-rt") 19 set(LLVM_LIBGCC_LIBUNWIND_BINARY_DIR "../libunwind") 31 set(LLVM_LIBGCC_LIBUNWIND_PATH "${CMAKE_CURRENT_LIST_DIR}/../libunwind" 32 CACHE PATH "Specify path to libunwind source.") 33 set(LLVM_LIBGCC_COMPILER_RT_PATH "${CMAKE_CURRENT_LIST_DIR}/../compiler-rt" 34 CACHE PATH "Specify path to compiler-rt source.") [all …]
|
/llvm-project/libcxxabi/ |
H A D | CMakeLists.txt | 1 # See www/CMake.html for instructions on how to build libcxxabi with CMake. 30 # Require out of source build. 33 "${PROJECT_NAME} requires an out of source build. Please create a separate 34 build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there." 51 When disabled, libc++abi does not support stack unwinding and other exceptions-related features." ON) 52 option(LIBCXXABI_ENABLE_ASSERTIONS "Enable assertions independent of build mode." ON) 55 option(LIBCXXABI_USE_LLVM_UNWINDER "Build and use the LLVM unwinder." ON) 56 if (LIBCXXABI_USE_LLVM_UNWINDER AND NOT "libunwind" IN_LIST LLVM_ENABLE_RUNTIMES) 57 message(FATAL_ERROR "LIBCXXABI_USE_LLVM_UNWINDER is set to ON, but libunwind is not specified in LLVM_ENABLE_RUNTIMES.") 60 option(LIBCXXABI_USE_COMPILER_RT "Use compiler-r [all...] |
/llvm-project/clang/cmake/caches/ |
H A D | CrossWinToARMLinux.cmake | 3 # Set up a CMakeCache for a cross Windows to ARM Linux toolchain build. 5 # This cache file can be used to build a cross toolchain to ARM Linux 8 # NOTE: the build requires a development ARM Linux root filesystem to use 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-clan [all...] |
H A D | Fuchsia.cmake | 1 # This file sets up a CMakeCache for a Fuchsia toolchain build. 9 set(_FUCHSIA_ENABLE_PROJECTS "bolt;clang;clang-tools-extra;lld;llvm;polly") 84 set(CLANG_DEFAULT_OBJCOPY llvm-objcopy CACHE STRING "") 85 set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "") 86 set(CLANG_DEFAULT_UNWINDLIB libunwind CACHE STRING "") 113 set(BUILTINS_CMAKE_ARGS -DCMAKE_SYSTEM_NAME=Windows CACHE STRING "") 114 set(RUNTIMES_CMAKE_ARGS -DCMAKE_SYSTEM_NAME=Windows CACHE STRING "") 115 set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx" CACHE STRING "") 130 set(LLVM_ENABLE_RUNTIMES "compiler-r [all...] |
H A D | VectorEngine.cmake | 1 # This file sets up a CMakeCache for the simple VE build. 9 # cmake -G Ninja -DCMAKE_BUILD_TYPE=Release 10 # -C <llvm_src_root>/clang/cmake/caches/VectorEngine.cmake 11 # <llvm_src_root>/llvm-project/llvm 12 # Build: 16 # Disable ZLIB, and ZSTD for VE since there is no pre-compiled libraries. 20 # Enable per-target runtimes directory 24 set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra" CACHE STRING "") 25 set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind;openmp" CACHE STRING "") 30 # Not use default here to use RUNTIMES_x86_64-unknown-linux-gnu_* variables. [all …]
|
/llvm-project/clang/test/Driver/ |
H A D | aix-link-options-on-non-aix.c | 1 /// AIX-specific link options are rejected for other targets. 2 // RUN: not %clang -### --target=powerpc64-unknown-linux-gnu \ 3 // RUN: --sysroot %S/Inputs/aix_ppc_tree --unwindlib=libunwind --rtlib=compiler-rt \ 4 // RUN: -b one -K -mxcoff-build-id=a %s 2>&1 | FileCheck %s --implicit-check-not=error: 5 // RUN: not %clang -### --target=powerpc64-unknown-linux-gnu -c \ 6 // RUN: --sysroot %S/Inputs/aix_ppc_tree --unwindlib=libunwind --rtlib=compiler-rt \ 7 // RUN: -b one -K -mxcoff-build-id=a %s 2>&1 | FileCheck %s --implicit-check-not=error: 8 // CHECK: error: unsupported option '-b' for target '{{.*}}' 9 // CHECK: error: unsupported option '-K' for target '{{.*}}' 10 // CHECK: error: unsupported option '-mxcoff-build-id=' for target '{{.*}}'
|
/llvm-project/llvm/utils/gn/secondary/libcxxabi/src/ |
H A D | BUILD.gn | 7 # Build libc++abi with definitions for operator new/delete. 10 # Build libcxxabi as a shared library. 13 # Build libcxxabi as a static library. 69 "-std=c++23", 70 "-nostdinc++", 86 cflags = [ "-fPIC" ] 87 ldflags = [ "-nostdlib++" ] 96 "//compiler-rt/lib/builtins", 98 "//libunwind/src:unwind_shared", 101 configs -= [ [all …]
|
/llvm-project/libunwind/src/ |
H A D | CMakeLists.txt | 4 libunwind.cpp 5 Unwind-EHABI.cpp 6 Unwind-seh.cpp 17 UnwindLevel1-gcc-ext.c 18 Unwind-sjlj.c 19 Unwind-wasm.c 23 # We need to set `-fexceptions` here so that key 27 # libunwind. See #56825 and #120657 for context. 28 COMPILE_FLAGS "-st [all...] |
/llvm-project/runtimes/ |
H A D | CMakeLists.txt | 1 # This file handles building LLVM runtime sub-projects. 4 # This file can be used in two ways: the bootstrapping build calls it from 5 # llvm/runtimes/CMakeLists.txt where we reuse the build tree of the top-level 6 # build or it can be directly invoked in this directory. In the latter case we 7 # might be building against a LLVM install tree and might not have a valid build 8 # tree set up yet. We can detect whether we are using the bootstrapping build 12 message(STATUS "Performing bootstrapping runtimes build.") 14 message(STATUS "Performing standalone runtimes build.") 16 # Add path for custom and the LLVM build' [all...] |
/llvm-project/llvm/utils/release/ |
H A D | test-release.sh | 2 #===-- test-release.sh - Test the LLVM release candidates ------ [all...] |
/llvm-project/libcxx/docs/ |
H A D | BuildingLibcxx.rst |
|
/llvm-project/llvm/utils/gn/secondary/libcxx/src/ |
H A D | BUILD.gn | 3 import("//llvm/utils/gn/build/symlink_or_copy.gni") 6 # Build libc++ with definitions for operator new/delete. 9 # Build libc++ as a shared library. 12 # Build libc++ as a static library. 15 # Build filesystem as part of libc++. 18 # Build libc++experimental.a. 21 # Use compiler-rt builtins. 40 "-Wall", 41 "-Wextra", 42 "- [all...] |
/llvm-project/llvm/projects/ |
H A D | CMakeLists.txt | 7 if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND 11 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind) AND 12 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/test-suite) AND 14 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/cross-project-tests)) 21 # Also add in libc++ and compiler-rt trees if present (and we have 27 # enable the in-tree build when targeting clang-cl. 31 add_llvm_external_project(libunwind) 38 add_llvm_external_project(compiler-rt) 46 add_llvm_external_project(cross-project-tests)
|
/llvm-project/libunwind/test/ |
H A D | lit.cfg.py | 1 # All the Lit configuration is handled in the site configs -- this file is only 2 # left as a canary to catch invocations of Lit that do not go through llvm-lit. 4 # Invocations that go through llvm-lit will automatically use the right Lit 5 # site configuration inside the build directory. 8 "You seem to be running Lit directly -- you should be running Lit through " 9 "<build>/bin/llvm-lit, which will ensure that the right Lit configuration " 11 "how to run the libunwind tests."
|