/external/clang/test/Driver/ |
D | ps4-sdk-root.c | 1 // REQUIRES: x86-registered-target 5 // or relative to the location of the compiler driver), if "-nostdinc", 6 // "--sysroot" or "-isysroot" option is specified on the command line. 11 // or relative to the location of the compiler driver), if "-c", "-S", "-E", 12 // "--sysroot", "-nostdlib" or "-nodefaultlibs" option is specified on 17 …-Winvalid-or-nonexistent-directory -### -target x86_64-scei-ps4 %s 2>&1 | FileCheck -check-prefix=… 19 …. %clang -Winvalid-or-nonexistent-directory -### -c -target x86_64-scei-ps4 %s 2>&1 | FileCheck -c… 20 …. %clang -Winvalid-or-nonexistent-directory -### -S -target x86_64-scei-ps4 %s 2>&1 | FileCheck -c… 21 …. %clang -Winvalid-or-nonexistent-directory -### -E -target x86_64-scei-ps4 %s 2>&1 | FileCheck -c… 22 …lang -Winvalid-or-nonexistent-directory -### -emit-ast -target x86_64-scei-ps4 %s 2>&1 | FileCheck… [all …]
|
D | nostdincxx.cpp | 1 // RUN: not %clangxx -nostdinc++ %s 2>&1 | FileCheck %s 6 // REQUIRES: non-ms-sdk 7 // REQUIRES: non-ps4-sdk
|
D | gfortran.f90 | 5 ! RUN: %clang -no-canonical-prefixes -target i386-linux -### %s -o %t 2>&1 \ 6 ! RUN: -Aquestion=answer \ 7 ! RUN: -A-question=answer \ 8 ! RUN: -C \ 9 ! RUN: -CC \ 10 ! RUN: -Dmacro \ 11 ! RUN: -Dmacro=value \ 12 ! RUN: -H \ 13 ! RUN: -Isome/directory \ 14 ! RUN: -Jsome/other/directory \ [all …]
|
/external/u-boot/arch/sandbox/cpu/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0+ 5 # (C) Copyright 2000-2003 8 obj-y := cpu.o os.o start.o state.o 9 obj-$(CONFIG_SPL_BUILD) += spl.o 10 obj-$(CONFIG_ETH_SANDBOX_RAW) += eth-raw-os.o 11 obj-$(CONFIG_SANDBOX_SDL) += sdl.o 16 cmd_cc_os.o = $(CC) $(filter-out -nostdinc, \ 17 $(patsubst -I%,-idirafter%,$(c_flags))) -c -o $@ $< 24 # eth-raw-os.c is built in the system env, so needs standard includes 25 # CFLAGS_REMOVE_eth-raw-os.o cannot be used to drop header include path [all …]
|
/external/clang/test/Modules/ |
D | module_file_info.m | 4 // RUN: rm -rf %t 5 …ang_cc1 -w -Wunused -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t… 6 // RUN: %clang_cc1 -module-file-info %t/DependsOnModule.pcm | FileCheck %s 15 // CHECK: Objective-C 1: Yes 28 // CHECK: -Wunused 31 // CHECK: System root [-isysroot=]: '/' 32 // CHECK: Use builtin include directories [-nobuiltininc]: Yes 33 // CHECK: Use standard system include directories [-nostdinc]: No 34 // CHECK: Use standard C++ include directories [-nostdinc++]: Yes 35 // CHECK: Use libc++ (rather than libstdc++) [-stdlib=]: [all …]
|
D | crash-vfs-umbrella-frameworks.m | 1 // REQUIRES: crash-recovery, shell 3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it? 6 // RUN: rm -rf %t 7 // RUN: mkdir -p %t/i %t/m %t 8 // RUN: cp -a %S/Inputs/crash-recovery/Frameworks %t/i/ 9 // RUN: mkdir -p %t/i/Frameworks/A.framework/Frameworks 10 // RUN: ln -s ../../B.framework %t/i/Frameworks/A.framework/Frameworks/B.framework 13 // RUN: %clang -nostdinc -fsyntax-only %s \ 14 // RUN: -F %/t/i/Frameworks -fmodules \ 15 // RUN: -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s [all …]
|
D | crash-vfs-run-reproducer.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/i %t/m %t 7 // RUN: %clang -fsyntax-only -nostdinc %s \ 8 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \ 9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml [all …]
|
D | crash-vfs-relative-overlay.m | 1 // REQUIRES: crash-recovery, shell 3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it? 6 // RUN: rm -rf %t 7 // RUN: mkdir -p %t/i %t/m %t 10 // RUN: %clang -fsyntax-only -nostdinc %s \ 11 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \ 12 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 14 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 15 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 16 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ [all …]
|
/external/libcxx/docs/ |
D | UsingLibcxx.rst | 13 .. code-block:: bash 15 $ clang++ -stdlib=libc++ test.cpp 16 $ clang++ -std=c++11 -stdlib=libc++ test.cpp 19 and the ``-stdlib=libc++`` is not required. 26 .. code-block:: bash 28 $ clang++ -std=c++11 -stdlib=libc++ -nostdinc++ \ 29 -I<libcxx-install-prefix>/include/c++/v1 \ 30 -L<libcxx-install-prefix>/lib \ 31 -Wl,-rpath,<libcxx-install-prefix>/lib \ 34 The option ``-Wl,-rpath,<libcxx-install-prefix>/lib`` adds a runtime library [all …]
|
/external/brotli/ |
D | Makefile.am | 1 AUTOMAKE_OPTIONS = foreign nostdinc subdir-objects 3 ACLOCAL_AMFLAGS = -I m4 6 LIBBROTLI_VERSION_INFO = -version-info 0:0:0 16 AM_CFLAGS = -I$(top_srcdir)/c/include 19 brotli_LDADD = libbrotlidec.la libbrotlienc.la libbrotlicommon.la -lm 20 #brotli_LDFLAGS = -static 26 libbrotlidec_la_LIBADD = libbrotlicommon.la -lm 29 libbrotlienc_la_LIBADD = libbrotlicommon.la -lm
|
/external/perfetto/gn/standalone/libc++/ |
D | BUILD.gn | 7 # http://www.apache.org/licenses/LICENSE-2.0 24 "-nostdinc++", 25 "-isystem" + rebase_path("$libcxx_prefix/include", root_build_dir), 26 "-isystem" + rebase_path("$libcxxabi_prefix/include", root_build_dir), 29 # In theory here we want just -nostdlib++ to avoid linking both libc++ and 30 # libstdc++. Unfortunately the -nostdlib++ switch is available only in 32 # we have to remove all libs and then re-add the core ones like libc. 33 ldflags = [ "-nodefaultlibs" ]
|
/external/libcxx/benchmarks/ |
D | CMakeLists.txt | 9 -Wno-unused-command-line-argument 10 -nostdinc++ 11 -isystem ${LIBCXX_SOURCE_DIR}/include 12 -L${LIBCXX_LIBRARY_DIR} 13 -Wl,-rpath,${LIBCXX_LIBRARY_DIR} 18 -L${LIBCXX_CXX_ABI_LIBRARY_PATH} 19 -Wl,-rpath,${LIBCXX_CXX_ABI_LIBRARY_PATH}) 22 list(APPEND BENCHMARK_LIBCXX_COMPILE_FLAGS -include "${LIBCXX_BINARY_DIR}/__config_site") 26 ExternalProject_Add(google-benchmark-libcxx 28 DEPENDS cxx cxx-headers [all …]
|
/external/libcxx/cmake/Modules/ |
D | CheckLibcxxAtomic.cmake | 4 # the platform doesn't support lock-free atomics. 6 # We could modify LLVM's CheckAtomic module and have it check for 64-bit 7 # atomics instead. However, we would like to avoid careless uses of 64-bit 8 # atomics inside LLVM over time on 32-bit platforms. 12 …set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -nodefaultlibs -std=c++11 -nostdinc++ -isystem $… 14 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} --gcc-toolchain=${LIBCXX_GCC_TOOLCHAIN}") 16 if (CMAKE_C_FLAGS MATCHES -fsanitize OR CMAKE_CXX_FLAGS MATCHES -fsanitize) 17 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fno-sanitize=all") 19 if (CMAKE_C_FLAGS MATCHES -fsanitize-coverage OR CMAKE_CXX_FLAGS MATCHES -fsanitize-coverage) 20 …(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fno-sanitize-coverage=edge,trace-cmp,indirect-call…
|
/external/libcxxabi/cmake/ |
D | config-ix.cmake | 10 # libc++abi is built with -nodefaultlibs, so we want all our checks to also 13 # performed without -nodefaultlibs) and the flags that are actually 14 # required during compilation (which has the -nodefaultlibs). libc is 17 check_c_compiler_flag(-nodefaultlibs LIBCXXABI_HAS_NODEFAULTLIBS_FLAG) 19 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -nodefaultlibs") 24 list(APPEND CMAKE_REQUIRED_FLAGS -rtlib=compiler-rt) 32 # programs to link successfully with -nodefaultlibs. 43 if (CMAKE_C_FLAGS MATCHES -fsanitize OR CMAKE_CXX_FLAGS MATCHES -fsanitize) 44 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fno-sanitize=all") 46 if (CMAKE_C_FLAGS MATCHES -fsanitize-coverage OR CMAKE_CXX_FLAGS MATCHES -fsanitize-coverage) [all …]
|
/external/syzkaller/sys/syz-extract/ |
D | freebsd.go | 19 …return fmt.Errorf("provide path to kernel checkout via -sourcedir flag (or make extract SOURCEDIR)… 22 return fmt.Errorf("freebsd requires -build flag") 41 "-fmessage-length=0", 42 "-nostdinc", 43 "-D_KERNEL", 44 "-D__BSD_VISIBLE=1", 45 "-I", filepath.Join(arch.sourceDir, "sys"), 46 "-I", filepath.Join(arch.sourceDir, "sys", "sys"), 47 "-I", filepath.Join(arch.sourceDir, "sys", "amd64"), 48 "-I", arch.buildDir, [all …]
|
D | netbsd.go | 19 …return fmt.Errorf("provide path to kernel checkout via -sourcedir flag (or make extract SOURCEDIR)… 22 return fmt.Errorf("netbsd requires -build flag") 55 "-fmessage-length=0", 56 "-nostdinc", 57 "-D_KERNEL", 58 "-D__BSD_VISIBLE=1", 59 "-I", filepath.Join(arch.sourceDir, "sys"), 60 "-I", filepath.Join(arch.sourceDir, "sys", "sys"), 61 "-I", filepath.Join(arch.sourceDir, "sys", "arch", "amd64"), 62 "-I", filepath.Join(arch.sourceDir, "common", "include"), [all …]
|
/external/curl/docs/examples/ |
D | Makefile.am | 8 # Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. 23 AUTOMAKE_OPTIONS = foreign nostdinc 35 AM_CPPFLAGS = -I$(top_srcdir)/include 40 AM_CPPFLAGS += -DCURL_NO_OLDIES 43 AM_CPPFLAGS += -DCURL_STATICLIB 56 # This might hold -Werror 70 $(CHECKSRC)(@PERL@ $(top_srcdir)/lib/checksrc.pl -ASNPRINTF $(srcdir)/*.c)
|
/external/libunwind_llvm/cmake/ |
D | config-ix.cmake | 13 # libunwind is built with -nodefaultlibs, so we want all our checks to also 16 # performed without -nodefaultlibs) and the flags that are actually 17 # required during compilation (which has the -nodefaultlibs). libc is 20 check_c_compiler_flag(-nodefaultlibs LIBUNWIND_HAS_NODEFAULTLIBS_FLAG) 22 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -nodefaultlibs") 39 # programs to link successfully with -nodefaultlibs. 50 if (CMAKE_C_FLAGS MATCHES -fsanitize OR CMAKE_CXX_FLAGS MATCHES -fsanitize) 51 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fno-sanitize=all") 53 if (CMAKE_C_FLAGS MATCHES -fsanitize-coverage OR CMAKE_CXX_FLAGS MATCHES -fsanitize-coverage) 54 …(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fno-sanitize-coverage=edge,trace-cmp,indirect-call… [all …]
|
/external/compiler-rt/test/tsan/ |
D | lit.cfg | 1 # -*- Python -*- 28 # Platform-specific default TSAN_OPTIONS for lit tests. 35 # GCC driver doesn't add necessary compile/link flags with -fsanitize=thread. 37 extra_cflags = ["-fPIE", "-pthread", "-ldl", "-lstdc++", "-lrt", "-pie"] 41 # Setup default compiler flags used with -fsanitize=thread option. 42 clang_tsan_cflags = (["-fsanitize=thread", 43 "-Wall"] + 57 clang_tsan_cxxflags += ["-std=c++11", 58 "-nostdinc++", 59 "-I%s" % libcxx_incdir, [all …]
|
/external/curl/tests/server/ |
D | Makefile.am | 8 # Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. 22 AUTOMAKE_OPTIONS = foreign nostdinc 32 # $(top_builddir)/ares is for in-tree c-ares's generated ares_build.h file 33 # $(top_srcdir)/ares is for in-tree c-ares's external include files 36 AM_CPPFLAGS = -I$(top_srcdir)/include \ 37 -I$(top_builddir)/lib \ 38 -I$(top_srcdir)/lib \ 39 -I$(top_builddir)/ares \ 40 -I$(top_srcdir)/ares 42 AM_CPPFLAGS = -I$(top_srcdir)/include \ [all …]
|
/external/curl/tests/unit/ |
D | Makefile.am | 8 # Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. 22 AUTOMAKE_OPTIONS = foreign nostdinc 32 # $(top_builddir)/ares is for in-tree c-ares's generated ares_build.h file 33 # $(top_srcdir)/ares is for in-tree c-ares's external include files 36 AM_CPPFLAGS = -I$(top_srcdir)/include \ 37 -I$(top_builddir)/lib \ 38 -I$(top_srcdir)/lib \ 39 -I$(top_srcdir)/src \ 40 -I$(top_srcdir)/tests/libtest \ 41 -I$(top_builddir)/ares \ [all …]
|
/external/libcxxabi/test/libcxxabi/test/ |
D | config.py | 1 #===----------------------------------------------------------------------===## 8 #===----------------------------------------------------------------------===## 17 # pylint: disable=redefined-outer-name 43 self.config.available_features.add('libcxxabi-no-exceptions') 45 self.config.available_features.add('libcxxabi-no-noexcept-function-type') 48 self.config.available_features.add('libcxxabi-shared-externally-threaded') 50 self.config.available_features.add('libcxxabi-has-system-unwinder') 54 '-DLIBCXXABI_NO_TIMER', 55 '-D_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS', 58 self.cxx.compile_flags += ['-funwind-tables'] [all …]
|
/external/compiler-rt/lib/msan/tests/ |
D | CMakeLists.txt | 9 -fsanitize=memory 10 -fsanitize-memory-track-origins 11 -Wno-pedantic) 21 -nostdinc++ 22 -isystem ${COMPILER_RT_LIBCXX_PATH}/include 25 -I${COMPILER_RT_SOURCE_DIR}/include 26 -I${COMPILER_RT_SOURCE_DIR}/lib 27 -I${COMPILER_RT_SOURCE_DIR}/lib/msan 28 -g 29 -O2 [all …]
|
/external/syzkaller/pkg/csource/ |
D | common.go | 29 cmd := osutil.Command("cpp", "-nostdinc", "-undef", "-fdirectives-only", "-dDI", "-E", "-P", "-") 31 cmd.Args = append(cmd.Args, "-D"+def) 48 src = bytes.Replace(src, []byte("[["+from+"]]"), []byte(to), -1) 57 src = bytes.Replace(src, []byte(from), []byte(to), -1) 115 if eq == -1 { 122 src = bytes.Replace(src, []byte("#define "+def+" "+val+"\n"), nil, -1) 127 if pos == -1 { 131 if end == -1 { 134 src = bytes.Replace(src, src[pos:end+1], nil, -1)
|
/external/bcc/src/cc/frontends/clang/ |
D | kbuild_helper.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 //uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ in get_flags() 33 // -e s/sa110/arm/ -e s/s390x/s390/ -e s/parisc64/parisc/ in get_flags() 34 // -e s/ppc.*/powerpc/ -e s/mips.*/mips/ -e s/sh[234].*/sh/ in get_flags() 35 // -e s/aarch64.*/arm64/ in get_flags() 67 cflags->push_back("-nostdinc"); in get_flags() 68 cflags->push_back("-isystem"); in get_flags() 69 cflags->push_back("/virtual/lib/clang/include"); in get_flags() 73 cflags->push_back("-I" + kdir_ + "/build/arch/"+arch+"/include"); in get_flags() 74 cflags->push_back("-I" + kdir_ + "/build/arch/"+arch+"/include/generated/uapi"); in get_flags() [all …]
|