Home
last modified time | relevance | path

Searched full:linker (Results 1 – 25 of 4175) sorted by relevance

12345678910>>...167

/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/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-project/clang-tools-extra/clang-tidy/
DClangTidyForceLinker.h18 // This anchor is used to force the linker to link the AbseilModule.
23 // This anchor is used to force the linker to link the AlteraModule.
28 // This anchor is used to force the linker to link the AndroidModule.
33 // This anchor is used to force the linker to link the BoostModule.
38 // This anchor is used to force the linker to link the BugproneModule.
43 // This anchor is used to force the linker to link the CERTModule.
48 // This anchor is used to force the linker to link the ConcurrencyModule.
53 // This anchor is used to force the linker to link the CppCoreGuidelinesModule.
58 // This anchor is used to force the linker to link the DarwinModule.
63 // This anchor is used to force the linker to link the FuchsiaModule.
[all …]
/external/clang/lib/Driver/
DTools.h194 class LLVM_LIBRARY_VISIBILITY Linker : public Common {
196 Linker(const ToolChain &TC) : Common("gcc::Linker", "linker (via gcc)", TC) {} in Linker() function
225 class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool {
227 Linker(const ToolChain &TC) : GnuTool("hexagon::Linker", "hexagon-ld", TC) {} in Linker() function
243 class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool {
245 Linker(const ToolChain &TC) : GnuTool("amdgpu::Linker", "ld.lld", TC) {} in Linker() function
258 class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool {
260 explicit Linker(const ToolChain &TC);
315 /// cloudabi -- Directly call GNU Binutils linker
317 class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool {
[all …]
/external/clang/test/Driver/
Dincremental-linker-compatible.c1 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mincremental-linker-…
2 // TEST1: "-cc1" {{.*}} "-mincremental-linker-compatible"
4 …%s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible 2>&1 | …
5 // TEST2-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible"
7 …target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible -mincremental-linker-co…
8 // TEST3: "-cc1" {{.*}} "-mincremental-linker-compatible"
10 … -target i686-pc-linux-gnu -integrated-as -mincremental-linker-compatible -mno-incremental-linker-…
11 // TEST4-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible"
14 // TEST5-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible"
17 // TEST6: "-cc1" {{.*}} "-mincremental-linker-compatible"
/external/llvm-project/clang/test/Driver/
Dincremental-linker-compatible.c1 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mincremental-linker-…
2 // TEST1: "-cc1" {{.*}} "-mincremental-linker-compatible"
4 …%s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible 2>&1 | …
5 // TEST2-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible"
7 …target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible -mincremental-linker-co…
8 // TEST3: "-cc1" {{.*}} "-mincremental-linker-compatible"
10 … -target i686-pc-linux-gnu -integrated-as -mincremental-linker-compatible -mno-incremental-linker-…
11 // TEST4-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible"
14 // TEST5-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible"
17 // TEST6: "-cc1" {{.*}} "-mincremental-linker-compatible"
/external/llvm-project/lld/docs/
Dindex.rst1 LLD - The LLVM Linker
4 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
30 …/news/status/report-2016-10-2016-12.html#Using-LLVM%27s-LLD-Linker-as-FreeBSD%27s-System-Linker>`_.
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,
[all …]
DNewLLD.rst4 The ELF Linker as a Library
7 You can embed LLD to your program by linking against it and calling the linker's
14 files in the usual way and give them to the linker. It is naturally expected to
15 work, or otherwise it's a linker's bug.
26 There are many design choices you have to make to create a complete linker.
48 Since we are trying to create a high-performance linker,
63 We'll describe how the traditional Unix linker handles archive files, what the
66 The traditional Unix linker maintains a set of undefined symbols during
67 linking. The linker visits each file in the order as they appeared in the
68 command line until the set becomes empty. What the linker would do depends on
[all …]
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.
DWebAssembly.rst23 common linker flags with **ld.lld** but also includes several
42 Note that this will not export linker-generated mutable globals unless
68 linker to shrink the code section to remove any padding from the final
84 Report all unresolved symbols. This is the default. Normally the linker
91 this is trivial. For direct function calls, the linker will generate a
118 In general, where possible, the WebAssembly linker attempts to emulate the
119 behaviour of a traditional ELF linker, and in particular the ELF port of lld.
126 One way in which the WebAssembly linker differs from traditional native linkers
154 In addition, symbols can be exported via the linker command line using
157 Finally, just like with native ELF linker the ``--export-dynamic`` flag can be
[all …]
Ddesign.rst3 Linker Design
12 lld is a new generation of linker. It is not "section" based like traditional
17 functions for locality, and C++ coalescing require the linker to work at a finer
25 The Atom model allows the linker to use standard graph theory models for linking
75 The linker views the input files as basically containers of Atoms and
76 References, and just a few attributes of their own. The linker works with three
79 expected by the linker.
86 atoms representing all content in the .o file. The linker adds all those atoms
96 remaining in the master graph, the linker reads the table of contents for each
108 this is modeled in the linker is that a dynamic library contributes no atoms to
[all …]
Dld.lld.112 .Nd ELF linker from the LLVM project
18 A linker takes one or more object, archive, and library files, and combines
26 It accepts most of the same command line arguments and linker scripts
33 acts as a Microsoft link.exe-compatible linker if invoked as
41 as a native linker as well as a cross linker.
138 may be another symbol or a linker script expression.
153 .It Fl -dynamic-linker Ns = Ns Ar value
154 Specify the dynamic linker to be used for a dynamically linked executable.
310 .It Fl -no-dynamic-linker
333 Report unresolved symbols even if the linker is creating a shared library.
[all …]
/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/llvm/test/tools/obj2yaml/ELF/
Dlinker-options.yaml8 # VALID: - Name: .linker-options-valid1
13 # VALID-NEXT: - Name: .linker-options-valid2
27 - Name: .linker-options-valid1
30 - Name: .linker-options-valid2
39 # CORRUPT: - Name: .linker-options-empty
42 # CORRUPT-NEXT: - Name: .linker-options-no-null
45 # CORRUPT-NEXT: - Name: .linker-options-incomplete
56 - Name: .linker-options-empty
60 - Name: .linker-options-no-null
65 - Name: .linker-options-incomplete
/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/llvm/test/tools/yaml2obj/ELF/
Dlinker-options.yaml7 # RUN: llvm-readobj --string-dump .linker-options1 --sections --section-data %t1 \
10 # OPTIONS: Name: .linker-options1
22 # OPTIONS: Name: .linker-options2
28 # OPTIONS: Name: .linker-options3
34 # OPTIONS: String dump of section '.linker-options1':
46 - Name: .linker-options1
53 - Name: .linker-options2
56 - Name: .linker-options3
74 - Name: .linker-options
85 - Name: .linker-options
[all …]
/external/libchrome/base/android/java/src/org/chromium/base/library_loader/
DLinker.java96 * - Native shared libraries should be loaded with Linker.loadLibrary(),
108 * Otherwise, the linker considers that it is running inside the browser
123 * More specifically, by default when in the browser process, the linker
153 public class Linker { class
165 // NOTE: These names are known and expected by the Linker test scripts.
171 // shared RELRO. Only change this while debugging linker-related issues.
172 // NOTE: This variable's name is known and expected by the Linker test scripts.
195 "org.chromium.base.android.linker.shared_relros";
197 // Guards all access to the linker.
214 // Becomes true after linker initialization.
[all …]
DLibraryLoader.java76 // uncompressed in the APK (as Chromium does), because the system linker can access them
140 * use this linker. If not, System.loadLibrary() should be used to load
146 // use the Linker because the latter is incompatible with the GVR library. Fall back in useCrazyLinker()
159 // build has not explicitly disabled Linker features. in useCrazyLinker()
175 * before calling System.loadLibrary, this only applies when not using the chromium linker.
232 // Preloader uses system linker, we shouldn't preload if Chromium linker is used. in preloadAlreadyLocked()
377 // Helper for loadAlreadyLocked(). Load a native shared library with the Chromium linker.
380 Linker linker, @Nullable String zipFilePath, String libFilePath) {
382 if (linker.isUsingBrowserSharedRelros()) {
387 linker.loadLibrary(libFilePath);
[all …]
/external/llvm-project/lld/include/lld/Core/
DDefinedAtom.h87 interposeNo, // linker can directly bind uses of this atom
88 interposeYes, // linker must indirect (through GOT) uses
98 // by linker
111 typeBranchIsland, // linker created for large binaries
112 typeBranchShim, // linker created to switch thumb mode
113 typeStub, // linker created for calling external function
114 typeStubHelper, // linker created for initial stub binding
127 typeConstData, // read-only data after dynamic linker is done
169 sectionBasedOnContent, // linker infers final section based on content
170 sectionCustomPreferred, // linker may place in specific section
[all …]
/external/llvm-project/lld/test/COFF/
Dpdb-linker-module.test6 MODS: Mod 0001 | `* Linker *`
9 MODS-NEXT: pdb file ni: 1 `{{.*}}pdb-linker-module.test.tmp.pdb`, src file ni: 0 ``
11 SYMS: Mod 0001 | `* Linker *`
12 SYMS-NEXT: 4 | S_OBJNAME [size = 20] sig=0, `* Linker *`
14 SYMS-NEXT: machine = intel 80386, Ver = LLVM Linker, language = link
23 SYMS-NEXT: - {{.*}}pdb-linker-module{{.*}}pdb
25 SYMS-NEXT: - /debug /pdb:{{.*}}pdb-linker-module{{.*}}pdb /nodefaultlib "/entry:1 ""hello"" 2" "/ma…
/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()
65 "TLS and other allocations originating from linker might be " in InitializePlatformSpecificModules()
67 linker->clear(); in InitializePlatformSpecificModules()
68 linker = nullptr; in InitializePlatformSpecificModules()
72 if (linker == nullptr) { in InitializePlatformSpecificModules()
73 VReport(1, "LeakSanitizer: Dynamic linker not found. TLS and other " in InitializePlatformSpecificModules()
74 "allocations originating from linker might be falsely reported " in InitializePlatformSpecificModules()
[all …]
/external/perfetto/gn/standalone/toolchain/
DBUILD.gn56 linker = ""
59 linker = "gold"
66 linker = linux_clang_linker
70 linker = win_clang_linker
74 linker = ""
79 linker = "${win_msvc_bin_dir}\\link.exe"
143 target_linker = linker
183 if (defined(invoker.linker) && invoker.linker != "") {
184 _invoker_linker = invoker.linker
295 linker = target_linker
[all …]
/external/compiler-rt/lib/asan/
Dasan_new_delete.cc24 // anyway by passing extra -export flags to the linker, which is exactly that
30 # 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[]
[all …]

12345678910>>...167