/aosp_15_r20/external/clang/test/Driver/ |
H A D | pic.c | 4 // CHECK-NO-PIC: "-mrelocation-model" "static" 5 // CHECK-NO-PIC-NOT: "-pic-level" 6 // CHECK-NO-PIC-NOT: "-pic-is-pie" 8 // CHECK-PIC1: "-mrelocation-model" "pic" 9 // CHECK-PIC1: "-pic-level" "1" 10 // CHECK-PIC1-NOT: "-pic-is-pie" 12 // CHECK-PIC2: "-mrelocation-model" "pic" 13 // CHECK-PIC2: "-pic-level" "2" 14 // CHECK-PIC2-NOT: "-pic-is-pie" 16 // CHECK-STATIC: "-static" [all …]
|
H A D | ps4-pic.c | 1 // REQUIRES: x86-registered-target 7 // CHECK-NO-PIC: "-mrelocation-model" "static" 8 // CHECK-NO-PIC-NOT: "-pic-level" 9 // CHECK-NO-PIC-NOT: "-pic-is-pie" 11 // CHECK-DYNAMIC-NO-PIC2: unsupported option '-mdynamic-no-pic' 12 // CHECK-DYNAMIC-NO-PIC2: "-mrelocation-model" "dynamic-no-pic" 14 // CHECK-PIC2: "-mrelocation-model" "pic" 15 // CHECK-PIC2: "-pic-level" "2" 17 // CHECK-PIE2: "-mrelocation-model" "pic" 18 // CHECK-PIE2: "-pic-is-pie" [all …]
|
H A D | freebsd-mips-as.c | 3 // RUN: %clang -target mips-unknown-freebsd -### \ 4 // RUN: -no-integrated-as -c %s 2>&1 \ 5 // RUN: | FileCheck -check-prefix=MIPS32-EB-AS %s 6 // MIPS32-EB-AS: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" 7 // MIPS32-EB-AS-NOT: "-KPIC" 9 // RUN: %clang -target mips-unknown-freebsd -### \ 10 // RUN: -no-integrated-as -fPIC -c %s 2>&1 \ 11 // RUN: | FileCheck -check-prefix=MIPS32-EB-PIC %s 12 // MIPS32-EB-PIC: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" 13 // MIPS32-EB-PIC: "-KPIC" [all …]
|
/aosp_15_r20/external/libcups/config-scripts/ |
H A D | cups-compiler.m4 | 4 dnl Copyright 2007-2020 by Apple Inc. 5 dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. 10 dnl Clear the debugging and non-shared library options unless the user asks 15 AC_ARG_WITH(optim, [ --with-optim set optimization flags ], 20 AC_ARG_ENABLE(debug, [ --enable-debug build with debugging symbols]) 21 AC_ARG_ENABLE(debug_guards, [ --enable-debug-guards build with memory allocation guards]) 22 AC_ARG_ENABLE(debug_printfs, [ --enable-debug-printfs build with CUPS_DEBUG_LOG support]) 23 AC_ARG_ENABLE(unit_tests, [ --enable-unit-tests build and run unit tests]) 26 if test x$enable_debug = xyes -a "x$OPTIM" = x; then 27 OPTIM="-g" [all …]
|
/aosp_15_r20/external/webp/infra/ |
H A D | compile_android.sh | 32 set -xe 35 readonly WORKSPACE=${WORKSPACE:-"$(mktemp -d -t webp.android.XXX)"} 45 static-debug 47 shared-debug 49 armeabi-v7a 50 arm64-v8a 62 if [[ ! -d "${WORKSPACE}" ]]; then 79 readonly BUILD_DIR="${WORKSPACE}/build-${BUILD_TYPE}" 82 if [[ ! -x "${ANDROID_NDK_DIR}/ndk-build" ]]; then 83 log_err "unable to find ndk-build in ANDROID_NDK_DIR: ${ANDROID_NDK_DIR}." [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/work/ |
D | security_test.go | 2 // Use of this source code is governed by a BSD-style 14 {"-DFOO"}, 15 {"-Dfoo=bar"}, 16 {"-Ufoo"}, 17 {"-Ufoo1"}, 18 {"-F/Qt"}, 19 {"-F", "/Qt"}, 20 {"-I/"}, 21 {"-I/etc/passwd"}, 22 {"-I."}, [all …]
|
/aosp_15_r20/external/compiler-rt/lib/tsan/go/ |
H A D | buildgo.sh | 3 set -e 39 if [ "`uname -a | grep Linux`" != "" ]; then 41 …OSCFLAGS="-fPIC -ffreestanding -Wno-maybe-uninitialized -Wno-unused-const-variable -Werror -Wno-un… 42 OSLDFLAGS="-lpthread -fPIC -fpie" 54 elif [ "`uname -a | grep FreeBSD`" != "" ]; then 56 OSCFLAGS="-fno-strict-aliasing -fPIC -Werror" 57 OSLDFLAGS="-lpthread -fPIC -fpie" 69 elif [ "`uname -a | grep Darwin`" != "" ]; then 71 OSCFLAGS="-fPIC -Wno-unused-const-variable -Wno-unknown-warning-option -mmacosx-version-min=10.7" 72 OSLDFLAGS="-lpthread -fPIC -fpie -mmacosx-version-min=10.7" [all …]
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0844/ |
H A D | Android.bp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 default_applicable_licenses: ["Android-Apache-2.0"], 21 name: "CVE-2016-0844", 25 "-fPIE", 28 "-fPIE", 29 "-pie", 30 "-rdynamic",
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
H A D | Android.bp | 8 // http://www.apache.org/licenses/LICENSE-2.0 18 default_applicable_licenses: ["Android-Apache-2.0"], 22 name: "CVE-2018-9424", 31 "-fPIE", 34 "-fPIE", 35 "-pie", 36 "-rdynamic",
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8479/ |
H A D | Android.bp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 default_applicable_licenses: ["Android-Apache-2.0"], 21 name: "CVE-2016-8479", 25 "-W", 26 "-g", 27 "-O2", 28 "-Wimplicit", 29 "-D_FORTIFY_SOURCE=2", 30 "-D__linux__", 31 "-Wdeclaration-after-statement", [all …]
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
H A D | Android.bp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 default_applicable_licenses: ["Android-Apache-2.0"], 21 name: "CVE-2017-0333", 25 "-W", 26 "-g", 27 "-O2", 28 "-Wimplicit", 29 "-D_FORTIFY_SOURCE=2", 30 "-D__linux__", 31 "-Wdeclaration-after-statement", [all …]
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0508/ |
H A D | Android.bp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 default_applicable_licenses: ["Android-Apache-2.0"], 21 name: "CVE-2017-0508", 25 "-W", 26 "-g", 27 "-O2", 28 "-Wimplicit", 29 "-D_FORTIFY_SOURCE=2", 30 "-D__linux__", 31 "-Wdeclaration-after-statement", [all …]
|
/aosp_15_r20/external/perfetto/gn/standalone/ |
H A D | BUILD.gn | 7 # http://www.apache.org/licenses/LICENSE-2.0 23 # the hermetic build) and are enabled just with -Werror. 24 hermetic_clang_suppressions = [ "-Wno-c99-designator" ] 31 # switches. -Wno-unknown-warning-option fixes the mismatching ones. 32 # The situation on Windows is a bit trickier: clang-cl.exe really pretends to be 33 # cl.exe (MSVC), so we should use MSVC-style switches (e.g. /W2). However, 34 # clang-cl.exe still supports some -Wclang-style-switches for flags that don't 38 # is_win -> can be either clang-cl.exe or cl.exe (MSVC). Only MSVC-style 40 # is_clang -> could be clang-on-linux, clang-on-mac or clang-cl.exe. 51 "-Wno-float-equal", [all …]
|
/aosp_15_r20/external/webp/doc/ |
H A D | building.md | 8 nmake /f Makefile.vc CFG=release-static RTLIBCFG=static OBJDIR=output 11 the directory `output\release-static\(x64|x86)\bin` will contain the tools 12 cwebp.exe and dwebp.exe. The directory `output\release-static\(x64|x86)\lib` 22 make -f makefile.unix 26 library src/libwebp.a. No system-wide installation is supplied, as this is a 35 On a Debian-like system the following should install everything you need for a 39 $ sudo apt-get install gcc make autoconf automake libtool 64 Note: A decode-only library, libwebpdecoder, is available using the 65 `--enable-libwebpdecoder` flag. The encode library is built separately and can 67 Makefile.am configure files (see comments there). See `./configure --help` for [all …]
|
/aosp_15_r20/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_posix.cc | 1 //===-- tsan_platform_posix.cc --------------------------------------------===// 8 //===----------------------------------------------------------------------===// 12 // POSIX-specific code. 13 //===----------------------------------------------------------------------===// 30 (uptr)MmapFixedNoReserve(ShadowBeg(), ShadowEnd() - ShadowBeg(), in InitializeShadowMemory() 34 Printf("FATAL: Make sure to compile with -fPIE and " in InitializeShadowMemory() 35 "to link with -pie (%p, %p).\n", shadow, ShadowBeg()); in InitializeShadowMemory() 77 // so it makes sense to mark it as NOHUGEPAGE to not over-allocate memory. in InitializeShadowMemory() 79 NoHugePagesInRegion(MetaShadowBeg(), MetaShadowEnd() - MetaShadowBeg()); in InitializeShadowMemory() 80 if (common_flags()->use_madv_dontdump) in InitializeShadowMemory() [all …]
|
/aosp_15_r20/external/compiler-rt/lib/tsan/ |
H A D | CMakeLists.txt | 6 # SANITIZER_COMMON_CFLAGS contains -fPIC, but it's performance-critical for 7 # TSan runtime to be built with -fPIE to reduce the number of register spills. 8 append_list_if(COMPILER_RT_HAS_FPIE_FLAG -fPIE TSAN_CFLAGS) 14 list(APPEND TSAN_CFLAGS -DTSAN_COLLECT_STATS=1 15 -DTSAN_DEBUG_OUTPUT=2) 19 append_list_if(COMPILER_RT_HAS_MSSE3_FLAG -msse3 TSAN_RTL_CFLAGS) 20 append_list_if(SANITIZER_LIMIT_FRAME_SIZE -Wframe-larger-than=512 22 append_list_if(COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -Wglobal-constructors 100 set_target_properties(tsan PROPERTIES FOLDER "Compiler-RT Misc") 104 # Xcode will try to compile this file as C ('clang -x c'), and that will fail. [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
H A D | cpu_compiler.h | 7 http://www.apache.org/licenses/LICENSE-2.0 43 // Corresponds to the -fno-pic compiler option. 45 // Corresponds to the -fpic compiler option. 47 // Corresponds to the -fPIC compiler option. 49 // Corresponds to the -fpie compiler option. 51 // Corresponds to the -fPIE compiler option. 63 // The triple used for compilation, similar to clang's -target flag. 65 // The CPU name used for compilation, similar to clang's -mcpu flag. 123 // CPU-targeting implementation of the XLA Compiler interface.
|
/aosp_15_r20/external/grpc-grpc/ |
H A D | build_handwritten.yaml | 8 '#04': not listed in doc/g_stands_for.md - and update that document to list the 11 '#07': Master always has a "-dev" suffix 12 '#08': Use "-preN" suffixes to identify pre-release versions 13 '#09': Per-language overrides are possible with (eg) ruby_version tag here 23 CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer 24 -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS 27 LDFLAGS: -fsanitize=address 33 asan-noleaks: 35 CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer 36 -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/ |
D | build_handwritten.yaml | 8 '#04': not listed in doc/g_stands_for.md - and update that document to list the 11 '#07': Master always has a "-dev" suffix 12 '#08': Use "-preN" suffixes to identify pre-release versions 13 '#09': Per-language overrides are possible with (eg) ruby_version tag here 23 CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer 24 -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS 27 LDFLAGS: -fsanitize=address 33 asan-noleaks: 35 CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer 36 -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS [all …]
|
/aosp_15_r20/external/e2fsprogs/debian/ |
H A D | rules | 1 #! /usr/bin/make -f 17 ifneq ($(filter pkg.e2fsprogs.no-fuse2fs,$(DEB_BUILD_PROFILES)),) 21 COMERR_VERSION ?= $(shell grep ELF_VERSION lib/et/Makefile.in | cut '-d ' -f3) 22 SS_VERSION ?= $(shell grep ELF_VERSION lib/ss/Makefile.in | cut '-d ' -f3) 26 udebdir ?= ${topdir}/debian/e2fsprogs-udeb 27 stdbuilddir ?= ${topdir}/debian/BUILD-STD 30 INSTALL_PROGRAM ?= $(INSTALL) -p -m 0755 32 ifneq (,$(findstring update-symbols,$(DEB_BUILD_OPTIONS))) 39 LDFLAGS_STATIC = $(filter-out -fPIE -fpie -pie,$(LDFLAGS)) 41 BACKTRACE_CONF_FLAGS ?= $(shell if debian/scripts/test-backtrace ; then echo --disable-backtrace ; … [all …]
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/ |
D | Makefile | 2 # Copyright (c) 2013-2024, Arm Limited and Contributors. All rights reserved. 4 # SPDX-License-Identifier: BSD-3-Clause 20 # sub-Makefiles, like CFLAGS that we reserved for the firmware images' 21 # usage. Other command line options like "-s" are still propagated as usual. 35 # Configure the toolchains used to build TF-A and its tools 45 ifeq ($(filter-out check% %clean doc %tool,$(or $(MAKECMDGOALS),all)),) 60 CHECKCODE_ARGS := --no-patch 62 INC_DRV_DIRS_TO_CHECK := $(sort $(filter-out \ 65 INC_LIB_DIRS_TO_CHECK := $(sort $(filter-out \ 69 INC_DIRS_TO_CHECK := $(sort $(filter-out \ [all …]
|
/aosp_15_r20/external/armnn/ |
H A D | BuildGuideAndroidNDK.md | 3 - [Introduction](#introduction) 4 - [Initial Setup](#initial-setup) 5 - [Download the Android NDK and make a standalone toolchain](#download-the-android-ndk-and-make-a-s… 6 - [Install Cmake](#install-cmake) 7 - [Build Flatbuffers](#build-flatbuffers) 8 - [Download Arm NN](#download-arm-nn) 9 - [Get And Build TFLite](#get-and-build-tflite) 10 - [Build Arm Compute Library](#build-arm-compute-library) 11 - [Build Arm NN](#build-arm-nn) 12 - [Build Standalone Sample Dynamic Backend](#build-standalone-sample-dynamic-backend) [all …]
|
/aosp_15_r20/external/libaom/build/cmake/ |
H A D | aom_configure.cmake | 27 Use -DFORCE_HIGHBITDEPTH_DECODING=1 instead of -DCONFIG_LOWBITDEPTH=0 \ 28 and -DFORCE_HIGHBITDEPTH_DECODING=0 instead of -DCONFIG_LOWBITDEPTH=1.") 50 set(AOM_CMAKE_CONFIG "${AOM_CMAKE_CONFIG} -D${cache_var}=${${cache_var}}") 65 FATAL_ERROR "--- Unexpected pointer size (${CMAKE_SIZEOF_VOID_P}) for\n" 92 set(toolchain_string "-DCMAKE_TOOLCHAIN_FILE=\\\"${toolchain_path}\\\"") 97 set(AOM_CMAKE_CONFIG "-DAOM_TARGET_CPU=${AOM_TARGET_CPU} ${AOM_CMAKE_CONFIG}") 99 set(AOM_CMAKE_CONFIG "-G \\\"${CMAKE_GENERATOR}\\\" ${AOM_CMAKE_CONFIG}") 104 message("--- aom_configure: Detected CPU: ${AOM_TARGET_CPU}") 130 # If -fpie or -fPIE are used ensure the assembly code has PIC enabled to 143 # TODO(tomfinegan): clang needs -pie in CMAKE_EXE_LINKER_FLAGS for this to [all …]
|
/aosp_15_r20/external/armnn/scripts/ |
H A D | build_android_ndk_guide.sh | 5 # SPDX-License-Identifier: MIT 14 echo " -l Use this copy of Arm NN and ComputeLibrary instead of cloning new copies" 16 echo " -a Override Arm NN branch (defaults to latest release branches/armnn_23_02)" 17 echo " -b Override ACL branch (defaults to latest release v23.02)" 18 echo " -A Android API level defaults to 30" 19 echo " -n Neon (CpuAcc backend) enabled <1 or 0> defaults to 1" 20 echo " -g CL (GpuAcc backend) enabled <1 or 0> defaults to 1" 21 echo " -r Reference (CpuRef backend) enabled <1 or 0> defaults to 1" 22 echo " -u Build tests and test applications <1 or 0> defaults to 1" 23 echo " -d TfLite Delegate enabled <1 or 0> defaults to 1" [all …]
|
/aosp_15_r20/external/elfutils/ |
H A D | configure.ac | 2 dnl Configure input file for elfutils. -*-autoconf-*- 4 dnl Copyright (C) 1996-2019 Red Hat, Inc. 32 # We want eu- as default program prefix if none was given by the user. 33 # But if the user explicitly provided --program-prefix="" then pretend 38 AC_MSG_NOTICE([No --program-prefix given, using "eu-"]) 39 program_prefix="eu-" 41 AC_MSG_NOTICE([Using no program-prefix]) 48 AC_COPYRIGHT([Copyright (C) 1996-2024 The elfutils developers.]) 51 dnl We use GNU make extensions; automake 1.10 defaults to -Wportability. 52 AM_INIT_AUTOMAKE([gnits 1.11 -Wno-portability dist-bzip2 no-dist-gzip parallel-tests]) [all …]
|