| /openbsd-src/gnu/llvm/clang/tools/scan-build-py/tests/functional/exec/ |
| H A D | main.c | 115 char *const compiler = "/usr/bin/cc"; in call_execv() local 121 FORK(execv(compiler, argv);) in call_execv() 128 char *const compiler = "/usr/bin/cc"; in call_execve() local 129 char *const argv[] = {compiler, "-c", file, 0}; in call_execve() 135 FORK(execve(compiler, argv, envp);) in call_execve() 142 char *const compiler = "cc"; in call_execvp() local 143 char *const argv[] = {compiler, "-c", file, 0}; in call_execvp() 148 FORK(execvp(compiler, argv);) in call_execvp() 155 char *const compiler = "cc"; in call_execvP() local 156 char *const argv[] = {compiler, "-c", file, 0}; in call_execvP() [all …]
|
| /openbsd-src/gnu/llvm/clang/runtime/ |
| H A D | CMakeLists.txt | 25 set(COMPILER_RT_SRC_ROOT ${LLVM_MAIN_SRC_DIR}/projects/compiler-rt) 38 # Add compiler-rt as an external project. 39 set(COMPILER_RT_PREFIX ${CMAKE_BINARY_DIR}/projects/compiler-rt) 41 set(STAMP_DIR ${CMAKE_CURRENT_BINARY_DIR}/compiler-rt-stamps/) 42 set(BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/compiler-rt-bins/) 44 add_custom_target(compiler-rt-clear 47 COMMENT "Clobberring compiler-rt build and stamp directories" 69 ExternalProject_Add(compiler-rt 105 ExternalProject_Add_Step(compiler-rt clean 107 COMMENT "Cleaning compiler-rt..." [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/lib/ |
| H A D | ada.exp | 67 set compiler "" 89 set compiler [target_info gnatmake]; 91 set compiler [find_gnatmake]; 102 set compiler [target_info c++compiler]; 104 set compiler [find_g++]; 115 set compiler [target_info f77compiler] 117 set compiler [find_g77] 131 set compiler $tmp 177 if { $compiler == "" } { 178 set compiler $CC_FOR_TARGET [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/include/ |
| H A D | CMakeLists.txt | 60 # Copy compiler-rt headers to the build tree. 68 COMMENT "Copying compiler-rt's ${f}...") 72 add_custom_target(compiler-rt-headers ALL DEPENDS ${out_files}) 73 add_dependencies(compiler-rt compiler-rt-headers) 74 set_target_properties(compiler-rt-headers PROPERTIES FOLDER "Compiler-RT Misc") 78 COMPONENT compiler-rt-headers 83 COMPONENT compiler-rt-headers 89 COMPONENT compiler-rt-headers 95 COMPONENT compiler-rt-headers 100 COMPONENT compiler-rt-headers [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/compiler-rt/lib/ |
| H A D | BUILD.gn | 3 "//compiler-rt/lib/asan:ignorelist($host_toolchain)", 4 "//compiler-rt/lib/cfi:ignorelist($host_toolchain)", 7 deps += [ "//compiler-rt/lib/msan" ] 10 deps += [ "//compiler-rt/lib/ubsan_minimal" ] 14 "//compiler-rt/lib/asan", 15 "//compiler-rt/lib/ubsan", 18 deps += [ "//compiler-rt/lib/tsan/rtl" ] 22 deps += [ "//compiler-rt/lib/builtins" ] 25 deps += [ "//compiler-rt/lib/profile" ]
|
| /openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/builders/ |
| H A D | builder.py | 20 compiler = configuration.compiler if configuration.compiler else "clang" 21 compiler = lldbutil.which(compiler) 22 return os.path.abspath(compiler) 92 def getCCSpec(self, compiler): argument 97 cc = compiler if compiler else None 98 if not cc and configuration.compiler: 99 cc = configuration.compiler 144 def getBuildCommand(self, debug_info, architecture=None, compiler=None, argument 154 self.getCCSpec(compiler), self.getExtraMakeArgs(),
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/ |
| H A D | README.compat | 3 compiler options that are not intended to affect binary compatibility. 10 sets of compiler options. 12 Override the default pairs of compiler options (from compat.exp) by 16 compiler under test and "alti" used by the alternate compiler. The 20 To use an alternate compiler, define the environment variable for the 22 the full pathname of an installed compiler. That will be written to 24 with the compiler under test using the first of each pair of compiler 26 test is built using the compiler under test but with combinations of 30 but passes when the pieces are compiled with the same compiler 32 A test that fails for the alternate compiler but passes for the compiler [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/lib/ |
| H A D | g77.exp | 46 set compiler [lindex $G77_UNDER_TEST 0] 49 if { [is_remote host] || [which $compiler] != 0 } then { 50 set tmp [remote_exec host "$compiler -v"] 56 clone_output "$compiler $version\n" 58 clone_output "[which $compiler] $version\n" 61 clone_output "Couldn't determine version of [which $compiler]\n" 65 warning "$compiler does not exist" 97 set compiler [lindex $G77_UNDER_TEST 0] 98 if { [is_remote host] == 0 && [which $compiler] != 0 } { 99 foreach i "[exec $compiler --print-multi-lib]" {
|
| H A D | g++.exp | 46 set compiler [lindex $GXX_UNDER_TEST 0] 49 if { [is_remote host] || [which $compiler] != 0 } then { 50 set tmp [remote_exec host "$compiler -v"] 56 clone_output "$compiler $version\n" 58 clone_output "[which $compiler] $version\n" 61 clone_output "Couldn't determine version of [which $compiler]\n" 65 warning "$compiler does not exist" 143 set compiler [lindex $GXX_UNDER_TEST 0] 144 if { [is_remote host] == 0 && [which $compiler] != 0 } { 145 foreach i "[exec $compiler --print-multi-lib]" {
|
| H A D | objc.exp | 46 set compiler [lindex $OBJC_UNDER_TEST 0] 49 set compiler_name [which $compiler]; 56 set tmp [remote_exec host "$compiler -v"] 67 warning "$compiler does not exist" 122 set compiler [lindex $OBJC_UNDER_TEST 0] 123 if { [is_remote host] == 0 && [which $compiler] != 0 } { 124 foreach i "[exec $compiler --print-multi-lib]" {
|
| /openbsd-src/gnu/gcc/gcc/doc/ |
| H A D | bugreport.texi | 34 If the compiler gets a fatal signal, for any input whatever, that is a 35 compiler bug. Reliable compilers never crash. 40 If the compiler produces invalid assembly code, for any input whatever 41 (except an @code{asm} statement), that is a compiler bug, unless the 42 compiler reports errors (not just warnings) which would ordinarily 49 If the compiler produces valid assembly code that does not correctly 50 execute the input source code, that is a compiler bug. 54 the desired results with another C or C++ compiler. 62 as in @code{f (*p++, *p++)}. Your previous compiler might have 64 interpret it another way. Neither compiler is wrong. The bug is [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/doc/ |
| H A D | bugreport.texi | 34 If the compiler gets a fatal signal, for any input whatever, that is a 35 compiler bug. Reliable compilers never crash. 40 If the compiler produces invalid assembly code, for any input whatever 41 (except an @code{asm} statement), that is a compiler bug, unless the 42 compiler reports errors (not just warnings) which would ordinarily 49 If the compiler produces valid assembly code that does not correctly 50 execute the input source code, that is a compiler bug. 54 the desired results with another C or C++ compiler. 62 as in @code{f (*p++, *p++)}. Your previous compiler might have 64 interpret it another way. Neither compiler is wrong. The bug is [all …]
|
| H A D | frontends.texi | 14 Several versions of the compiler (C, C++, Objective-C, Ada, 22 the most general name for the compiler, and the name used when the 28 When referring to C++ compilation, it is usual to call the compiler 29 ``G++''. Since there is only one compiler, it is also accurate to call 36 compiler ``GNAT'', for the same reasons. 40 compiler. For example, we refer to the optimization options as 41 affecting the behavior of ``GCC'' or sometimes just ``the compiler''. 46 integrated compiler that can compile programs written in C, C++, 55 @cindex compiler compared to C++ preprocessor 58 G++ is a @emph{compiler}, not merely a preprocessor. G++ builds object
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | AdvancedBuilds.rst | 37 In a simple two-stage bootstrap build, we build clang using the system compiler, 71 build using the compiler installed on the host, and a stage2 build is built 72 using the stage1 compiler. This nomenclature holds up to more stages too. In 81 The stage1 compiler is a host-only compiler with some options set. The stage1 82 compiler is a balance of optimization vs build time because it is a throwaway. 83 The stage2 compiler is the fully optimized compiler intended to ship to users. 87 You can build an Apple Clang compiler using the following commands: 94 This CMake invocation configures the stage1 host compiler, and sets 99 compiler and required tools, then configures and builds the stage2 compiler 113 At a high level, the way PGO works is that you build an instrumented compiler, [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/compiler-rt/lib/asan/ |
| H A D | BUILD.gn | 1 import("//compiler-rt/target.gni") 179 "//compiler-rt/lib/interception:sources", 180 "//compiler-rt/lib/lsan:common_sources", 181 "//compiler-rt/lib/sanitizer_common:sources", 182 "//compiler-rt/lib/ubsan:cxx_sources", 183 "//compiler-rt/lib/ubsan:sources", 188 "//compiler-rt/lib/sanitizer_common:weak_interception", 189 "//compiler-rt/lib/ubsan:weak_interception", 210 "//compiler-rt/lib/interception:sources", 211 "//compiler-rt/lib/lsan:common_sources", [all …]
|
| /openbsd-src/gnu/llvm/clang/cmake/caches/ |
| H A D | README.txt | 31 The PGO CMake cache can be used to generate a multi-stage instrumented compiler. 39 Builds a stage1 x86 compiler, runtime, and required tools (llvm-config, 40 llvm-profdata) then uses that compiler to build an instrumented stage2 compiler. 43 Depends on "stage2-instrumented" and will use the instrumented compiler to 48 compiler with the stage2 profdata to build a PGO-optimized compiler. 51 Depends on stage2 and runs check-llvm using the stage3 compiler. 54 Depends on stage2 and runs check-clang using the stage3 compiler. 57 Depends on stage2 and runs check-all using the stage3 compiler. 60 Depends on stage2 and runs the test-suite using the stage3 compiler (requires 73 This is useful for finding non-determinism the compiler by verifying that stage2
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/compiler-rt/test/asan/ |
| H A D | BUILD.gn | 1 import("//compiler-rt/target.gni") 2 import("//compiler-rt/test/test.gni") 4 import("//llvm/utils/gn/build/toolchain/compiler.gni") 23 "COMPILER_RT_BINARY_DIR=" + rebase_path("$root_gen_dir/compiler-rt"), 32 "//compiler-rt/include($host_toolchain)", 33 "//compiler-rt/lib/asan", 34 "//compiler-rt/lib/asan:ignorelist($host_toolchain)", 35 "//compiler-rt/lib/profile", 36 "//compiler-rt/test:lit_common_configured",
|
| /openbsd-src/gnu/llvm/compiler-rt/cmake/ |
| H A D | base-config-ix.cmake | 21 # Top level target used to build all compiler-rt libraries. 22 add_custom_target(compiler-rt ALL) 23 add_custom_target(install-compiler-rt) 24 add_custom_target(install-compiler-rt-stripped) 27 compiler-rt 28 install-compiler-rt 29 install-compiler-rt-stripped 34 # Setting these variables from an LLVM build is sufficient that compiler-rt can 46 # Setup the paths where compiler-rt runtimes and headers should be stored. 50 option(COMPILER_RT_INCLUDE_TESTS "Generate and build compiler-rt unit tests." [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | BUILD.gn | 1 import("//llvm/utils/gn/build/toolchain/compiler.gni") 9 deps = [ "//compiler-rt/lib/scudo/standalone:sources" ] 42 "//compiler-rt/lib/scudo/standalone:c_wrapper_sources", 43 "//compiler-rt/lib/scudo/standalone:sources", 56 "//compiler-rt/lib/scudo/standalone:c_wrapper_sources", 57 "//compiler-rt/lib/scudo/standalone:cxx_wrapper_sources", 58 "//compiler-rt/lib/scudo/standalone:sources",
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/compiler-rt/ |
| H A D | BUILD.gn | 3 import("//llvm/utils/gn/build/toolchain/compiler.gni") 5 # In the GN build, compiler-rt is always built by just-built clang and lld. 19 group("compiler-rt") { 20 deps = [ "//compiler-rt/include($host_toolchain)" ] 22 deps += [ "//compiler-rt/lib($toolchain)" ] 29 deps += [ "//compiler-rt/lib/builtins(//llvm/utils/gn/build/toolchain:stage2_ios_aarch64)" ] 32 deps += [ "//compiler-rt/lib/builtins(//llvm/utils/gn/build/toolchain:stage2_iossim_x64)" ]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/compiler-rt/test/hwasan/ |
| H A D | BUILD.gn | 1 import("//compiler-rt/target.gni") 2 import("//compiler-rt/test/test.gni") 4 import("//llvm/utils/gn/build/toolchain/compiler.gni") 21 "COMPILER_RT_BINARY_DIR=" + rebase_path("$root_gen_dir/compiler-rt"), 38 "//compiler-rt/include($host_toolchain)", 39 "//compiler-rt/lib/cfi:ignorelist($host_toolchain)", 40 "//compiler-rt/lib/hwasan:hwasan_shared", 41 "//compiler-rt/test:lit_common_configured", 69 deps = [ "//compiler-rt/lib/hwasan/scripts:hwasan_symbolize" ]
|
| /openbsd-src/gnu/llvm/compiler-rt/cmake/Modules/ |
| H A D | CompilerRTMockLLVMCMakeConfig.cmake | 2 # compiler-rt can successfully configure itself when a LLVM toolchain is 5 # The motivation for this is to be able to generate the compiler-rt 26 # Various bits of compiler-rt depend on the `LLVM_TARGET_TRIPLE` variable 34 # compiler. 43 # Try asking the compiler for its default target triple. 56 "Fetching target triple from compiler \"${CMAKE_C_COMPILER_ID}\" " 62 message(FATAL_ERROR "Fetching target triple from compiler failed") 73 # Some compiler-rt CMake code needs to call code in this file.
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/build/toolchain/ |
| H A D | target_flags.gni | 2 import("//llvm/utils/gn/build/toolchain/compiler.gni") 4 # Flags in this file are passed both to the compiler that's building 5 # compiler-rt at build time (via normal gn cflags/ldflags), as well as to the 6 # compiler building compiler-rt test programs at test time (via
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/ |
| H A D | BUILD.gn | 1 import("//compiler-rt/gen_version_script.gni") 2 import("//compiler-rt/target.gni") 31 "//compiler-rt/lib/interception:sources", 32 "//compiler-rt/lib/lsan:common_sources", 33 "//compiler-rt/lib/sanitizer_common:sources", 34 "//compiler-rt/lib/ubsan:sources", 77 deps = [ "//compiler-rt/lib/ubsan:cxx_sources" ]
|
| /openbsd-src/gnu/llvm/compiler-rt/docs/ |
| H A D | TestingGuide.rst | 11 This document is the reference manual for the compiler-rt modifications to the 18 The compiler-rt testing infrastructure contains regression tests which are run 25 The regressions tests are in the "compiler-rt" module and are normally checked 26 out in the directory ``llvm/projects/compiler-rt/test``. Use ``make check-all`` 27 to run the regression tests after building compiler-rt. 36 behaviour of this is somewhat quirky in compiler-rt. There are two main 47 compiler-rt tests since compiler-rt tests may be compiled for multiple targets. 53 To remedy both pitfalls, compiler-rt tests provide a feature string which can
|