/external/clang/test/Driver/ |
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 …]
|
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 …]
|
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 …]
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | Android.mk | 2 # Use of this source code is governed by a BSD-style license that can be 5 LOCAL_PATH := $(call my-dir) 10 LOCAL_CPPFLAGS := -std=c++11 -Wall -Wextra -Werror -O2 11 LOCAL_CPPFLAGS += -fPIE -fno-rtti -fno-exceptions -fstack-protector 13 LOCAL_LDLIBS := -fPIE -pie -llog
|
/external/tensorflow/tensorflow/examples/android/jni/ |
D | CMakeLists.txt | 8 # http://www.apache.org/licenses/LICENSE-2.0 25 if (ANDROID_ABI MATCHES "^armeabi-v7a$") 26 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfloat-abi=softfp -mfpu=neon") 27 elseif(ANDROID_ABI MATCHES "^arm64-v8a") 28 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -ftree-vectorize") 31 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTANDALONE_DEMO_LIB \ 32 -std=c++11 -fno-exceptions -fno-rtti -O2 -Wno-narrowing \ 33 -fPIE") 35 -Wl,--allow-multiple-definition \ 36 -Wl,--whole-archive -fPIE -v")
|
/external/compiler-rt/lib/tsan/go/ |
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 …]
|
/external/grpc-grpc/tools/ |
D | bazel.rc | 1 build --client_env=CC=clang 2 build --copt -DGRPC_BAZEL_BUILD 4 build:opt --copt -Wframe-larger-than=16384 6 build:asan --strip=never 7 build:asan --copt -fsanitize-coverage=edge 8 build:asan --copt -fsanitize=address 9 build:asan --copt -O0 10 build:asan --copt -fno-omit-frame-pointer 11 build:asan --copt -DGPR_NO_DIRECT_SYSCALLS 12 build:asan --linkopt -fsanitize=address [all …]
|
/external/tensorflow/tensorflow/contrib/android/cmake/ |
D | CMakeLists.txt | 8 # http://www.apache.org/licenses/LICENSE-2.0 21 # used for shared source files and pre-built libs 35 ${PREBUILT_DIR}/lib/libtensorflow-core.a) 37 # TODO: Consider options other than -O2 for binary size. 38 # e.g. -Os for gcc, and -Oz for clang. 39 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIS_SLIM_BUILD \ 40 -std=c++11 -fno-rtti -fno-exceptions \ 41 -O2 -Wno-narrowing -fomit-frame-pointer \ 42 -mfpu=neon -mfloat-abi=softfp -fPIE -fPIC \ 43 -ftemplate-depth=900 \ [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_compiler.h | 7 http://www.apache.org/licenses/LICENSE-2.0 42 // Corresponds to the -fno-pic compiler option. 44 // Corresponds to the -fpic compiler option. 46 // Corresponds to the -fPIC compiler option. 48 // Corresponds to the -fpie compiler option. 50 // Corresponds to the -fPIE compiler option. 61 // The triple used for compilation, similar to clang's -target flag. 63 // The CPU name used for compilation, similar to clang's -mcpu flag. 119 // CPU-targeting implementation of the XLA Compiler interface.
|
/external/compiler-rt/lib/tsan/rtl/ |
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 …]
|
/external/compiler-rt/lib/tsan/ |
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 …]
|
/external/u-boot/arch/nds32/ |
D | config.mk | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # (C) Copyright 2000-2002 12 CROSS_COMPILE := nds32le-linux- 16 -T $(srctree)/examples/standalone/nds32.lds 18 PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -mrelax 19 PLATFORM_RELFLAGS += -gdwarf-2 20 PLATFORM_CPPFLAGS += -D__nds32__ -G0 -ffixed-10 -fpie 22 LDFLAGS_u-boot = --gc-sections --relax -pie
|
/external/autotest/client/site_tests/platform_ToolchainOptions/ |
D | control | 2 # Use of this source code is governed by a BSD-style license that can be 13 1. -fstack-protector-all 14 2. -D_FORTIFY_SOURCE=2 15 3. -Wl,-z,now 16 4. -Wl,-z,relro 17 5. -fPIE 19 ATTRIBUTES = "suite:bvt-cq, suite:toolchain-tests"
|
/external/perfetto/gn/standalone/ |
D | BUILD.gn | 7 # http://www.apache.org/licenses/LICENSE-2.0 21 "-Wall", 22 "-Wextra", 26 # are rolled into OSS-fuzz. 29 "-Weverything", 30 "-Wno-c++98-compat-pedantic", 31 "-Wno-c++98-compat", 32 "-Wno-disabled-macro-expansion", 33 "-Wno-gnu-include-next", 34 "-Wno-gnu-statement-expression", [all …]
|
/external/compiler-rt/test/scudo/ |
D | lit.cfg | 1 # -*- Python -*- 13 "libclang_rt.scudo-%s.a" % config.target_arch) 14 whole_archive = "-Wl,-whole-archive %s -Wl,-no-whole-archive " % base_lib 20 c_flags = ["-std=c++11", 21 "-lstdc++", 22 "-ldl", 23 "-lrt", 24 "-pthread", 25 "-latomic", 26 "-fPIE", [all …]
|
/external/compiler-rt/test/asan/TestCases/ |
D | sanity_check_pure_c.c | 2 // RUN: %clang_asan -O2 %s -o %t 5 // Sanity checking a test in pure C with -pie. 6 // RUN: %clang_asan -O2 %s -pie -fPIE -o %t 8 // XFAIL: arm-linux-gnueabi 9 // XFAIL: armv7l-unknown-linux-gnueabihf 16 // CHECK: heap-use-after-free in main() 18 // CHECK: main{{.*}}sanity_check_pure_c.c:[[@LINE-4]] in main() 20 // CHECK: main{{.*}}sanity_check_pure_c.c:[[@LINE-7]] in main()
|
/external/minigbm/cros_gralloc/gralloc0/tests/ |
D | Makefile | 2 # Use of this source code is governed by a BSD-style license that can be 8 CCFLAGS += -g -O2 -Wall -fPIE 9 LIBS += -lhardware -lsync -lcutils -pie 27 $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) 30 $(CC) $(CFLAGS) -c $^ -o $@ -MMD
|
/external/iperf3/ |
D | androidconfigure | 3 set -e 4 set -x 6 if [ ! -d "$NDK" ]; then 18 TOOLCHAIN=${NDK}/toolchains/llvm/prebuilt/linux-x86_64/bin/ 20 export AR=${TOOLCHAIN}${HOST}-ar 21 export AS=${TOOLCHAIN}${TARGET}-clang 22 export CC=${TOOLCHAIN}${TARGET}-clang 23 export CXX=${TOOLCHAIN}${TARGET}-clang++ 24 export LD=${TOOLCHAIN}${HOST}-ld 25 export STRIP=${TOOLCHAIN}${HOST}-strip [all …]
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | odr_c_test.c | 2 // between an instrumented global and a non-instrumented global. 4 // RUN: %clang_asan %s -fPIC -shared -o %t-1.so -DFILE1 5 // RUN: %clang_asan %s -fPIC -shared -o %t-2.so -DFILE2 6 // RUN: %clang_asan %s -fPIE %t-1.so %t-2.so -Wl,-R`pwd` -o %t 9 // REQUIRES: x86_64-target-arch 12 // CHECK: ERROR: AddressSanitizer: odr-violation
|
/external/compiler-rt/lib/dfsan/ |
D | CMakeLists.txt | 11 append_list_if(COMPILER_RT_HAS_FFREESTANDING_FLAG -ffreestanding DFSAN_COMMON_CFLAGS) 15 set_target_properties(dfsan PROPERTIES FOLDER "Compiler-RT Misc") 19 append_list_if(COMPILER_RT_HAS_FPIE_FLAG -fPIE DFSAN_CFLAGS) 33 clang_rt.dfsan-${arch}-symbols) 50 add_dependencies(compiler-rt dfsan)
|
/external/ImageMagick/ |
D | androidconfigure | 3 set -e 4 set -x 6 if [ ! -d "$NDK" ]; then 18 TOOLCHAIN=${NDK}/toolchains/llvm/prebuilt/linux-x86_64/bin/ 20 export AR=${TOOLCHAIN}${HOST}-ar 21 export AS=${TOOLCHAIN}${TARGET}-clang 22 export CC=${TOOLCHAIN}${TARGET}-clang 23 export CXX=${TOOLCHAIN}${TARGET}-clang++ 24 export LD=${TOOLCHAIN}${HOST}-ld 25 export STRIP=${TOOLCHAIN}${HOST}-strip [all …]
|
/external/selinux/mcstrans/utils/ |
D | Makefile | 11 LDLIBS_LIBSEPOLA := -l:libsepol.a 17 $(CC) $(LDFLAGS) -o $@ $^ -lpcre -lselinux $(LDLIBS_LIBSEPOLA) 20 $(CC) $(LDFLAGS) -o $@ $^ -lpcre -lselinux $(LDLIBS_LIBSEPOLA) 23 $(CC) $(CFLAGS) -D_GNU_SOURCE -I../src -fPIE -c -o $@ $< 26 -mkdir -p $(DESTDIR)$(SBINDIR) 27 install -m 755 $(TARGETS) $(DESTDIR)$(SBINDIR) 30 ./mlstrans-test-runner.py ../test/*.test 33 rm -f $(TARGETS) *.o *~ \#*
|
/external/compiler-rt/lib/msan/ |
D | CMakeLists.txt | 21 append_list_if(COMPILER_RT_HAS_FPIE_FLAG -fPIE MSAN_RTL_CFLAGS) 23 append_list_if(COMPILER_RT_HAS_FFREESTANDING_FLAG -ffreestanding MSAN_RTL_CFLAGS) 29 set_target_properties(msan PROPERTIES FOLDER "Compiler-RT Misc") 49 list(APPEND MSAN_RUNTIME_LIBRARIES clang_rt.msan-${arch} 50 clang_rt.msan_cxx-${arch}) 58 add_dependencies(msan clang_rt.msan-${arch}-symbols 59 clang_rt.msan_cxx-${arch}-symbols) 64 add_dependencies(compiler-rt msan)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | pie.ll | 1 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=i686-linux-gnu -relocation-model=pic | FileCheck %s 2 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=i686-linux-gnu -fast-isel -relocation-model=pic | FileCh… 3 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck %s 4 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=x86_64-linux-gnu -fast-isel -relocation-model=pic | File… 6 ; CHECK-LABEL: bar: 41 ; -fpie for local global data tests should be added here
|
/external/llvm/test/CodeGen/X86/ |
D | pie.ll | 1 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=i686-linux-gnu -relocation-model=pic | FileCheck %s 2 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=i686-linux-gnu -fast-isel -relocation-model=pic | FileCh… 3 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck %s 4 ; RUN: llc < %s -O0 -mcpu=generic -mtriple=x86_64-linux-gnu -fast-isel -relocation-model=pic | File… 6 ; CHECK-LABEL: bar: 41 ; -fpie for local global data tests should be added here
|