Home
last modified time | relevance | path

Searched refs:linker (Results 1 – 25 of 1187) sorted by relevance

12345678910>>...48

/external/llvm-project/llvm/utils/
Dcheck-each-file7 if [ x$1 = x--make-linker-script ]
10 linker=./link-$program
16 echo "rm -f $program" > $linker
17 gmake -n $program >> $linker
18 chmod 755 $linker
19 echo "Linker script created in $linker; testing it out"
20 output=`./$linker 2>&1`
26 echo "Done; rebuilding $linker"
27 echo "rm -f $program" > $linker
28 gmake -n $program 2>&1 | sed '/gcc/s/$/__main.o/' >> $linker
[all …]
/external/llvm/utils/
Dcheck-each-file7 if [ x$1 = x--make-linker-script ]
10 linker=./link-$program
16 echo "rm -f $program" > $linker
17 gmake -n $program >> $linker
18 chmod 755 $linker
19 echo "Linker script created in $linker; testing it out"
20 output=`./$linker 2>&1`
26 echo "Done; rebuilding $linker"
27 echo "rm -f $program" > $linker
28 gmake -n $program 2>&1 | sed '/gcc/s/$/__main.o/' >> $linker
[all …]
/external/llvm/docs/
DLinkTimeOptimization.rst14 interface and design between the LTO optimizer and the linker.
23 achieved through tight integration with the linker. In this model, the linker
25 matching among them. The linker uses `libLTO`_, a shared object, to handle LLVM
26 bitcode files. This tight integration between the linker and LLVM optimizer
27 helps to do optimizations that are not possible in other models. The linker
36 and clean interface. This example requires a system linker which supports LTO
38 invokes system linker.
94 * In this example, the linker recognizes that ``foo2()`` is an externally
95 visible symbol defined in LLVM bitcode file. The linker completes its usual
104 * And this in turn, enables linker to remove ``foo4()``.
[all …]
/external/llvm-project/llvm/docs/
DLinkTimeOptimization.rst14 interface and design between the LTO optimizer and the linker.
23 achieved through tight integration with the linker. In this model, the linker
25 matching among them. The linker uses `libLTO`_, a shared object, to handle LLVM
26 bitcode files. This tight integration between the linker and LLVM optimizer
27 helps to do optimizations that are not possible in other models. The linker
36 and clean interface. This example requires a system linker which supports LTO
38 invokes system linker.
94 * In this example, the linker recognizes that ``foo2()`` is an externally
95 visible symbol defined in LLVM bitcode file. The linker completes its usual
104 * And this in turn, enables linker to remove ``foo4()``.
[all …]
/external/compiler-rt/lib/asan/
Dasan_new_delete.cc30 # pragma comment(linker, "/export:??2@YAPEAX_K@Z") // operator new
31 # pragma comment(linker, "/export:??3@YAXPEAX@Z") // operator delete
32 # pragma comment(linker, "/export:??3@YAXPEAX_K@Z") // sized operator delete
33 # pragma comment(linker, "/export:??_U@YAPEAX_K@Z") // operator new[]
34 # pragma comment(linker, "/export:??_V@YAXPEAX@Z") // operator delete[]
36 # pragma comment(linker, "/export:??2@YAPAXI@Z") // operator new
37 # pragma comment(linker, "/export:??3@YAXPAX@Z") // operator delete
38 # pragma comment(linker, "/export:??3@YAXPAXI@Z") // sized operator delete
39 # pragma comment(linker, "/export:??_U@YAPAXI@Z") // operator new[]
40 # pragma comment(linker, "/export:??_V@YAXPAX@Z") // operator delete[]
Dasan_win.cc52 #pragma comment(linker, "/alternatename:__sanitizer_malloc_hook=__sanitizer_default_malloc_hook") …
53 #pragma comment(linker, "/alternatename:__sanitizer_free_hook=__sanitizer_default_free_hook") …
54 #pragma comment(linker, "/alternatename:__asan_default_options=__asan_default_default_options") …
55 #pragma comment(linker, "/alternatename:__asan_default_suppressions=__asan_default_default_suppress…
56 #pragma comment(linker, "/alternatename:__asan_on_error=__asan_default_on_error") …
58 #pragma comment(linker, "/alternatename:___sanitizer_malloc_hook=___sanitizer_default_malloc_hook")…
59 #pragma comment(linker, "/alternatename:___sanitizer_free_hook=___sanitizer_default_free_hook") …
60 #pragma comment(linker, "/alternatename:___asan_default_options=___asan_default_default_options") …
61 #pragma comment(linker, "/alternatename:___asan_default_suppressions=___asan_default_default_suppre…
62 #pragma comment(linker, "/alternatename:___asan_on_error=___asan_default_on_error") …
/external/pigweed/pw_build/
Dlinker_script.gni21 # Preprocess a linker script and turn it into a target.
23 # In lieu of direct GN support for linker scripts, this template makes it
24 # possible to run the C Preprocessor on a linker script file so defines can
25 # be properly evaluated before the linker script is passed to the dir_pw_build
28 # linker scripts is added.
31 # linker_script: The linker script to send through the C preprocessor.
37 # inputs: Files that, when changed, should trigger a re-build of the linker
53 "$target_name did not set `linker_script` to refer to a valid linker " +
54 "script. This variable is required for linker script targets.")
59 # linker script.
[all …]
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_common_linux.cpp32 static LoadedModule *linker = nullptr; variable
59 if (linker == nullptr) { in InitializePlatformSpecificModules()
60 linker = reinterpret_cast<LoadedModule *>(linker_placeholder); in InitializePlatformSpecificModules()
61 *linker = module; in InitializePlatformSpecificModules()
67 linker->clear(); in InitializePlatformSpecificModules()
68 linker = nullptr; in InitializePlatformSpecificModules()
72 if (linker == nullptr) { in InitializePlatformSpecificModules()
107 LoadedModule *GetLinker() { return linker; } in GetLinker()
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dlinker-options.test1 ## Check that we can use the --elf-linker-options option
5 # RUN: llvm-readobj --elf-linker-options %t1 2>&1 | FileCheck %s -DFILE=%t1
23 - Name: .linker-options.valid1
32 - Name: .linker-options.incomplete
39 - Name: .linker-options.empty
44 - Name: .linker-options.nonul
49 - Name: .linker-options.broken.content
56 - Name: .linker-options.valid2
62 ## llvm-readelf doesn't support --elf-linker-options yet.
63 # RUN: llvm-readelf --elf-linker-options %t1 2>&1 | FileCheck %s --check-prefix=READELF
/external/llvm-project/lld/docs/
DAtomLLD.rst7 ATOM-based lld is a new set of modular code for creating linker tools.
12 * Compatible with existing linker options
15 * Remove clang's reliance on "the system linker"
28 * Internal linker model can be dumped/read to textual format
32 Why a new linker?
35 The fact that clang relies on whatever linker tool you happen to have installed
37 recent linker.
41 system linker tool.
Dindex.rst4 LLD is a linker from the LLVM project that is a drop-in replacement
8 The linker supports ELF (Unix), PE/COFF (Windows), Mach-O (macOS) and
21 same command line arguments and linker scripts as GNU.
24 LLD default system linker in future versions of the operating
34 gold linker. Your mileage may vary, though.
41 - It is always a cross-linker, meaning that it always supports all the
44 easy to use our linker as part of a cross-compile toolchain.
49 external linker and then call the linker's main function,
121 instead of the default linker.
123 The easiest way to do that is to overwrite the default linker. After
[all …]
/external/compiler-rt/lib/lsan/
Dlsan_common_linux.cc31 static LoadedModule *linker = nullptr; variable
42 if (linker == nullptr) { in InitializePlatformSpecificModules()
43 linker = reinterpret_cast<LoadedModule *>(linker_placeholder); in InitializePlatformSpecificModules()
44 *linker = module; in InitializePlatformSpecificModules()
49 linker->clear(); in InitializePlatformSpecificModules()
50 linker = nullptr; in InitializePlatformSpecificModules()
125 linker->containsAddress(caller_pc))) { in ProcessPlatformSpecificAllocationsCb()
155 flags()->use_tls && flags()->use_ld_allocations && linker != nullptr; in ProcessPlatformSpecificAllocations()
/external/llvm-project/lld/test/ELF/
Ddynamic-linker.s4 # RUN: ld.lld --dynamic-linker foo %t.o -o %t
7 # RUN: ld.lld --dynamic-linker=foo %t.o -o %t
15 # RUN: ld.lld --dynamic-linker foo --no-dynamic-linker %t.o -o %t
18 ## {clang,gcc} -nostdlib -r passes --dynamic-linker, and the expected behavior is to ignore it.
19 # RUN: ld.lld -r --dynamic-linker foo %t.o -o %t
/external/mesa3d/src/compiler/glsl/tests/
Dvaryings_test.cpp37 namespace linker { namespace
127 linker::populate_consumer_input_sets(mem_ctx, in TEST_F()
155 linker::populate_consumer_input_sets(mem_ctx, in TEST_F()
182 linker::populate_consumer_input_sets(mem_ctx, in TEST_F()
204 linker::populate_consumer_input_sets(mem_ctx, in TEST_F()
237 linker::populate_consumer_input_sets(mem_ctx, in TEST_F()
268 linker::populate_consumer_input_sets(mem_ctx, in TEST_F()
285 linker::get_matching_input(mem_ctx, in TEST_F()
310 linker::populate_consumer_input_sets(mem_ctx, in TEST_F()
324 linker::get_matching_input(mem_ctx, in TEST_F()
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Dtls_init.cpp42 #pragma comment(linker, "/INCLUDE:_tls_used")
43 #pragma comment(linker, "/INCLUDE:p_thread_callback")
45 #pragma comment(linker, "/INCLUDE:__tls_used")
46 #pragma comment(linker, "/INCLUDE:_p_thread_callback")
/external/llvm-project/llvm/test/Bitcode/
Dupgrade-linker-options-2.ll1 ;; Test upgrade linker option doesn't create duplicated linker options.
11 ; RUN: llvm-dis %S/Inputs/linker-options.bc -o - | FileCheck %s
12 ; CHECK: !llvm.linker.options = !{!2}
/external/llvm-project/lld/test/COFF/
Dlto-linker-opts.ll2 ; RUN: llvm-as -o %T/lto-linker-opts.obj %s
3 ; RUN: env LIB=%S/Inputs lld-link /out:%T/lto-linker-opts.exe /entry:main /subsystem:console %T/lto…
8 !llvm.linker.options = !{!0}
/external/llvm-project/llvm/test/Bindings/OCaml/
Dlinker.ml1 (* RUN: rm -rf %t && mkdir -p %t && cp %s %t/linker.ml
2 * RUN: %ocamlc -g -w +A -package llvm.linker -linkpkg %t/linker.ml -o %t/executable
4 * RUN: %ocamlopt -g -w +A -package llvm.linker -linkpkg %t/linker.ml -o %t/executable
65 suite "linker" test_linker
/external/llvm/test/Bindings/OCaml/
Dlinker.ml1 (* RUN: cp %s %T/linker.ml
2 * RUN: %ocamlc -g -w +A -package llvm.linker -linkpkg %T/linker.ml -o %t
4 * RUN: %ocamlopt -g -w +A -package llvm.linker -linkpkg %T/linker.ml -o %t
65 suite "linker" test_linker
/external/toolchain-utils/go/patch/go-1.10.3/
Dgo5.patch9 + t.Skip("deadlock detection fails with external linker")
14 + t.Skip("deadlock detection fails with external linker")
19 + t.Skip("deadlock detection fails with external linker")
24 + t.Skip("deadlock detection fails with external linker")
29 + t.Skip("deadlock detection fails with external linker")
37 + t.Skip("deadlock detection fails with external linker")
45 + t.Skip("deadlock detection fails with external linker")
53 + t.Skip("deadlock detection fails with external linker")
/external/toolchain-utils/go/patch/go-1.11.2/
Dgo5.patch9 + t.Skip("deadlock detection fails with external linker")
14 + t.Skip("deadlock detection fails with external linker")
19 + t.Skip("deadlock detection fails with external linker")
24 + t.Skip("deadlock detection fails with external linker")
29 + t.Skip("deadlock detection fails with external linker")
37 + t.Skip("deadlock detection fails with external linker")
45 + t.Skip("deadlock detection fails with external linker")
53 + t.Skip("deadlock detection fails with external linker")
/external/skqp/src/ports/
DSkTLS_win.cpp42 #pragma comment(linker, "/INCLUDE:_tls_used")
43 #pragma comment(linker, "/INCLUDE:skia_tls_callback")
47 #pragma comment(linker, "/INCLUDE:__tls_used")
48 #pragma comment(linker, "/INCLUDE:_skia_tls_callback")
/external/llvm-project/clang/test/Modules/
Duse-exportas-for-link.m3 // CHECK_A: !llvm.linker.options = !{![[MODULE:[0-9]+]]}
11 // CHECK_B: !llvm.linker.options = !{![[MODULE:[0-9]+]]}
19 // CHECK_C: !llvm.linker.options = !{![[MODULE:[0-9]+]]}
26 // CHECK_D: !llvm.linker.options = !{![[MODULE:[0-9]+]]}
33 // CHECK_E: !llvm.linker.options = !{![[MODULE:[0-9]+]]}
40 // CHECK_F: !llvm.linker.options = !{![[MODULE:[0-9]+]]}
/external/python/cpython3/Lib/distutils/
Dunixccompiler.py177 linker = self.linker_exe[:]
179 linker = self.linker_so[:]
187 if os.path.basename(linker[0]) == "env":
189 while '=' in linker[i]:
192 if os.path.basename(linker[i]) == 'ld_so_aix':
199 linker[i+offset] = self.compiler_cxx[i]
202 linker = _osx_support.compiler_fixup(linker, ld_args)
204 self.spawn(linker + ld_args)
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPlatformWindows.c15 #pragma comment(linker, "/MERGE:.lprfc=.data")
16 #pragma comment(linker, "/MERGE:.lprfd=.data")
17 #pragma comment(linker, "/MERGE:.lprfv=.data")
18 #pragma comment(linker, "/MERGE:.lprfnd=.data")

12345678910>>...48