| /third_party/rust/crates/clang-sys/ |
| D | README.md | 1 # clang-sys 3 [](https://crates.io/crates/clang-sys) 4 [](https://docs.rs/clang-sys) 5 [](https://github… 6  10 …t idiomatic Rust wrapper for these bindings, see [`clang-rs`](https://github.com/KyleMayes/clang-r… 14 ## [Documentation](https://docs.rs/clang-sys) 26 * `clang_3_5` - requires `libclang` 3.5 or later 27 * `clang_3_6` - requires `libclang` 3.6 or later 29 * `clang_15_0` - requires `libclang` 15.0 or later [all …]
|
| D | build.rs | 1 // SPDX-License-Identifier: Apache-2.0 3 //! Finds `libclang` static or shared libraries and links to them. 8 //! find the required static or shared libraries. 10 //! * `LLVM_CONFIG_PATH` - provides a path to an `llvm-config` executable 11 //! * `LIBCLANG_PATH` - provides a path to a directory containing a `libclang` 12 //! shared library or a path to a specific `libclang` shared library 13 //! * `LIBCLANG_STATIC_PATH` - provides a path to a directory containing LLVM 46 /// Copies the code used to find and link to `libclang` shared libraries into 70 if let Some(output) = common::run_llvm_config(&["--includedir"]) { in main()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
| D | Magic.h | 1 //===- llvm/BinaryFormat/Magic.h - File magic identification ----*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 #include "llvm/ADT/StringRef.h" 13 #include "llvm/ADT/Twine.h" 17 namespace llvm { 18 /// file_magic - An "enum class" enumeration of file types based on magic (the 28 elf_shared_object, ///< ELF dynamically linked shared lib [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/x86_64-gnu-llvm-14/ |
| D | Dockerfile | 5 RUN apt-get update && apt-get install -y --no-install-recommends \ 7 gcc-multilib \ 9 ninja-build \ 12 ca-certificates \ 18 llvm-14-tools \ 19 llvm-14-dev \ 20 libedit-dev \ 21 libssl-dev \ 22 pkg-config \ 23 zlib1g-dev \ [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/ |
| D | Dockerfile | 5 RUN apt-get update && apt-get install -y --no-install-recommends \ 7 gcc-multilib \ 9 ninja-build \ 12 ca-certificates \ 18 llvm-15-tools \ 19 llvm-15-dev \ 20 libedit-dev \ 21 libssl-dev \ 22 pkg-config \ 23 zlib1g-dev \ [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/x86_64-gnu-llvm-16/ |
| D | Dockerfile | 5 RUN apt-get update && apt-get install -y --no-install-recommends \ 7 gcc-multilib \ 9 ninja-build \ 12 ca-certificates \ 18 llvm-16-tools \ 19 llvm-16-dev \ 20 libedit-dev \ 21 libssl-dev \ 22 pkg-config \ 23 zlib1g-dev \ [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
| D | README.txt | 5 ------------ 10 some simple analysis on the mangled name, or (in LLVM) use the opaque 14 --------------------------------------------------------------------- 17 llvm/include/llvm/Demangle. The simple reason for this is that both projects 20 spec. LLVM needs a copy for a bunch of places, but doesn't want to use the 22 and b) probably isn't that up-to-date on the latest language features. 24 The copy of the demangler in LLVM has some extra stuff that aren't needed in 26 shared generic components. Despite these differences, we want to keep the "core" 31 then run the cp-to-llvm.sh script in src/demangle. This script takes as an 32 argument the path to llvm, and re-copies the changes you made to libcxxabi over. [all …]
|
| /third_party/mesa3d/docs/relnotes/ |
| D | 10.2.rst | 16 ------------- 20 c87bfb6dd5cbcf1fdef42e5ccd972581 MesaLib-10.2.0.tar.gz 21 7aaba90bd7169a94ae2fe83febdec963 MesaLib-10.2.0.tar.bz2 22 58b203aca15dadc25ab4d1126db1052b MesaLib-10.2.0.zip 25 ------------ 29 - GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and 31 - GL_ARB_multi_bind on all drivers 32 - GL_ARB_sample_shading on nv50 (GT21x only), nvc0 33 - GL_ARB_separate_shader_objects (desktop OpenGL) and 35 - GL_ARB_stencil_texturing on i965/gen8+ [all …]
|
| /third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/ |
| D | ndk-stl-config.cmake | 1 # Copy shared STL files to Android Studio output directory so they can be 5 # find_package(ndk-stl REQUIRED) 9 # find_package(ndk-stl REQUIRED PATHS ".") 18 "${ANDROID_NDK}/sources/cxx-stl/${lib_path}/libs/${ANDROID_ABI}/lib${so_base}.so" 26 # The GAbi++ runtime (shared). 27 message(FATAL_ERROR "gabi++_shared was not configured by ndk-stl package") 29 # The STLport runtime (shared). 32 # The GNU STL (shared). 33 configure_shared_stl("gnu-libstdc++/4.9" "gnustl_shared") 35 # The LLVM libc++ runtime (shared). [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
| D | PPCTargetObjectFile.cpp | 1 //===-- PPCTargetObjectFile.cpp - PPC Object Info -------------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 #include "llvm/IR/Mangler.h" 11 #include "llvm/MC/MCContext.h" 12 #include "llvm/MC/MCExpr.h" 13 #include "llvm/MC/MCSectionELF.h" 15 using namespace llvm; [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
| D | DwarfFile.h | 1 //===- llvm/CodeGen/DwarfFile.h - Dwarf Debug Framework ---------*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 #include "llvm/ADT/DenseMap.h" 14 #include "llvm/ADT/SmallVector.h" 15 #include "llvm/ADT/StringRef.h" 16 #include "llvm/CodeGen/DIE.h" 17 #include "llvm/IR/Metadata.h" [all …]
|
| /third_party/rust/rust/compiler/rustc_codegen_llvm/src/back/ |
| D | lto.rs | 5 use crate::llvm::{self, build_string}; 33 pub const THIN_LTO_KEYS_INCR_COMP_FILE_NAME: &str = "thin-lto-past-keys.bin"; 35 pub fn crate_type_allows_lto(crate_type: CrateType) -> bool { in crate_type_allows_lto() 45 ) -> Result<(Vec<CString>, Vec<(SerializedModule<ModuleBuffer>, CString)>), FatalError> { in prepare_lto() 74 // We save off all the bytecode and LLVM module ids for later processing in prepare_lto() 144 fn get_bitcode_slice_from_object_data(obj: &[u8]) -> Result<&[u8], LtoBitcodeFromRlib> { in get_bitcode_slice_from_object_data() 147 unsafe { llvm::LLVMRustGetBitcodeSliceFromObjectData(obj.as_ptr(), obj.len(), &mut len) }; in get_bitcode_slice_from_object_data() 152 // `bc` must be a sub-slice of `obj`. in get_bitcode_slice_from_object_data() 160 llvm_err: llvm::last_error().unwrap_or_else(|| "unknown LLVM error".to_string()), in get_bitcode_slice_from_object_data() 171 ) -> Result<LtoModuleCodegen<LlvmCodegenBackend>, FatalError> { in run_fat() [all …]
|
| /third_party/mesa3d/ohos/ |
| D | meson_cross_process64.py | 2 # -*- coding: utf-8 -*- 36 '--target=aarch64-linux-ohosmusl', 37 '--sysroot=sysroot_stub', 38 '-fno-emulated-tls', 39 '-fPIC', 40 '-g', 41 '-O2', 42 '-D_FORTIFY_SOURCE=2', 43 '-fstack-protector-all', 48 '--target=aarch64-linux-ohosmusl', [all …]
|
| /third_party/nghttp2/ |
| D | Dockerfile.android | 4 # $ sudo docker build -t nghttp2-android - < Dockerfile.android 11 # $ sudo docker run -v /path/to/dest:/out nghttp2-android cp /root/build/nghttp2/src/nghttpx /out 14 # Only use standalone-toolchain for reduce size 19 ENV NDK /root/android-ndk-$NDK_VERSION 20 ENV TOOLCHAIN $NDK/toolchains/llvm/prebuilt/linux-x86_64 21 ENV TARGET aarch64-linux-android 23 ENV AR $TOOLCHAIN/bin/llvm-ar 24 ENV CC $TOOLCHAIN/bin/$TARGET$API-clang 25 ENV CXX $TOOLCHAIN/bin/$TARGET$API-clang++ 27 ENV RANDLIB $TOOLCHAIN/bin/llvm-ranlib [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| D | DynamicLibrary.h | 1 //===-- llvm/Support/DynamicLibrary.h - Portable Dynamic Library -*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 18 namespace llvm { 25 /// might be known as shared libraries, shared objects, dynamic shared 29 /// defined symbols. This is typically used to provide "plug-in" support. 35 /// or for unloading libraries when the LLVM library is unloaded. [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
| D | WasmAsmParser.cpp | 1 //===- WasmAsmParser.cpp - Wasm Assembly Parser -----------------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 // -- 17 //===----------------------------------------------------------------------===// 19 #include "llvm/BinaryFormat/Wasm.h" 20 #include "llvm/MC/MCContext.h" 21 #include "llvm/MC/MCParser/MCAsmLexer.h" 22 #include "llvm/MC/MCParser/MCAsmParser.h" [all …]
|
| D | COFFAsmParser.cpp | 1 //===- COFFAsmParser.cpp - COFF Assembly Parser ---------------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 #include "llvm/ADT/StringRef.h" 10 #include "llvm/ADT/StringSwitch.h" 11 #include "llvm/ADT/Triple.h" 12 #include "llvm/ADT/Twine.h" 13 #include "llvm/BinaryFormat/COFF.h" [all …]
|
| /third_party/openssl/fuzz/ |
| D | README.md | 7 --------- 9 How to fuzz OpenSSL with [libfuzzer](http://llvm.org/docs/LibFuzzer.html), 13 ----------------------------------- 15 Install `clang`, which [ships with `libfuzzer`](http://llvm.org/docs/LibFuzzer.html#fuzzer-usage) 18 sudo apt-get install clang 23 `/usr/lib/llvm-7/lib/clang/7.0.1/lib/linux/libclang_rt.fuzzer-x86_64.a`. 25 CC=clang ./config enable-fuzz-libfuzzer \ 26 --with-fuzzer-lib=$PATH_TO_LIBFUZZER \ 27 -DPEDANTIC enable-asan enable-ubsan no-shared \ 28 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION \ [all …]
|
| /third_party/rust/rust/tests/run-make/raw-dylib-inline-cross-dylib/ |
| D | Makefile | 1 # Regression test for calling an inline function that uses a raw-dylib function. 3 # only-windows 7 # We'd be using the llvm-objdump instead of the system objdump to ensure compatibility 8 # with the LLVM bitcode generated by rustc but on Windows piping/IO redirection under MSYS2 is won… 12 $(RUSTC) --crate-type dylib --crate-name raw_dylib_test lib.rs -C prefer-dynamic 13 $(RUSTC) --crate-type dylib --crate-name raw_dylib_test_wrapper lib_wrapper.rs -C prefer-dynamic 14 $(RUSTC) --crate-type bin driver.rs -L "$(TMPDIR)" -C prefer-dynamic 16 $(OBJDUMP) -p $(TMPDIR)/driver.exe | $(CGREP) -v -e "inline_library_function" 17 $(OBJDUMP) -p $(TMPDIR)/driver.exe | $(CGREP) -v -e "inline_library_function_calls_inline" 19 $(OBJDUMP) -p $(TMPDIR)/driver.exe | $(CGREP) -e "library_function" [all …]
|
| /third_party/rust/rust/src/ci/docker/ |
| D | README.md | 14 ./src/ci/docker/run.sh x86_64-gnu 21 DEPLOY=1 ./src/ci/docker/run.sh x86_64-gnu 24 **NOTE**: Re-using the same `obj` dir with different docker images with 25 the same target triple (e.g. `dist-x86_64-linux` and `dist-various-1`) 26 may result in strange linker errors, due shared library versions differing between platforms. 33 - Each host architecture has its own `host-{arch}` directory, and those 36 - `host-{arch}/disabled` contains images that are not built on CI. 37 - `scripts` contains files shared by multiple Docker images. 45 1. Stop the virtual machine from the terminal with `docker-machine stop` 48 repository in the `E:\rust` folder, please add a shared folder from [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/dist-x86_64-linux/ |
| D | build-clang.sh | 3 set -ex 5 source shared.sh 7 LLVM=llvmorg-16.0.0 9 mkdir llvm-project 10 cd llvm-project 12 curl -L https://github.com/llvm/llvm-project/archive/$LLVM.tar.gz | \ 13 tar xzf - --strip-components=1 15 mkdir clang-build 16 cd clang-build 23 # We need compiler-rt for the profile runtime (used later to PGO the LLVM build) [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/dist-various-2/ |
| D | build-x86_64-fortanix-unknown-sgx-toolchain.sh | 3 set -eu 4 source shared.sh 6 target="x86_64-fortanix-unknown-sgx" 9 curl https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add - 10 add-apt-repository -y 'deb https://apt.llvm.org/focal/ llvm-toolchain-focal-11 main' 11 apt-get update 12 apt-get install -y --no-install-recommends \ 13 build-essential \ 14 ca-certificates \ 17 clang-11
|
| /third_party/mesa3d/.gitlab-ci/build/ |
| D | gitlab-ci.yml | 1 # Shared between windows and Linux 2 .build-common: 3 extends: .container+build-rules 7 # Build jobs don't take more than 1-3 minutes. 5-8 min max on a fresh runner 22 - _build/meson-logs/*.txt 23 - _build/meson-logs/strace 24 - _build/.ninja_log 25 - artifacts 28 .build-linux: 29 extends: .build-common [all …]
|
| /third_party/nghttp2/doc/sources/ |
| D | building-android-binary.rst | 5 `Android NDK <https://developer.android.com/ndk>`_ cross-compiler on 13 We offer ``android-config`` script to make the build easier. To make 17 .. code-block:: text 19 $ unzip android-ndk-$NDK_VERSION-linux.zip 20 $ cd android-ndk-$NDK_VERSION 23 The dependent libraries, such as OpenSSL, libev, and c-ares should be 33 Before running ``android-config``, ``NDK`` environment variable must 41 .. code-block:: sh 45 . $NGHTTP2/android-env 50 ./Configure no-shared --prefix=$PREFIX android-arm64 [all …]
|
| /third_party/rust/rust/compiler/rustc_llvm/ |
| D | build.rs | 31 fn detect_llvm_link() -> (&'static str, &'static str) { in detect_llvm_link() 33 // possibly overridden by `configure --enable-llvm-link-shared`. in detect_llvm_link() 35 ("dylib", "--link-shared") in detect_llvm_link() 37 ("static", "--link-static") in detect_llvm_link() 41 // Because Cargo adds the compiler's dylib path to our library search path, llvm-config may 42 // break: the dylib path for the compiler, as of this writing, contains a copy of the LLVM 43 // shared library, which means that when our freshly built llvm-config goes to load it's 44 // associated LLVM, it actually loads the compiler's LLVM. In particular when building the first 45 // compiler (i.e., in stage 0) that's a problem, as the compiler's LLVM is likely different from 47 // perfect -- we might actually want to see something from Cargo's added library paths -- but [all …]
|