Home
last modified time | relevance | path

Searched +full:shared +full:- +full:library +full:- +full:atoms (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm-project/lld/docs/
Ddesign.rst6 Note: this document discuss Mach-O port of LLD. For ELF and COFF,
10 ------------
14 output file. Instead, lld is based on "Atoms". Traditional section based
21 attributes, such as: name, scope, content-type, alignment, etc. An atom also
28 live atoms, and then delete the non-live atoms.
32 ----------
36 other atoms, such as for literal c-strings or floating point constants, or for
43 There are three atoms: main, a proxy for printf, and an anonymous atom
44 containing the c-string literal "hello world". The Atom "main" has two
46 reference for the instruction that loads the address of the c-string literal.
[all …]
/external/llvm-project/lld/include/lld/Core/
DResolver.h1 //===- Core/Resolver.h - Resolves Atom References -------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
42 // Handle files, this adds atoms from the current file thats
46 // Handle an archive library file.
49 // Handle a shared library file.
75 MergedFile() : SimpleFile("<linker-internal>", kindResolverMergedObject) {} in MergedFile()
76 void addAtoms(llvm::MutableArrayRef<OwningAtomPtr<Atom>> atoms);
88 // --start-group and --end-group
95 // Start position in _undefines for each archive/shared library file.
[all …]
DLinkingContext.h1 //===- lld/Core/LinkingContext.h - Linker Target Info Interface -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
48 /// Whether core linking should remove Atoms not reachable by following
49 /// References from the entry point Atom or from all global scope Atoms
53 /// Only used if deadStrip() returns true. Means all global scope Atoms
54 /// should be marked live (along with all Atoms they reference). Usually
56 /// shared libraries.
60 /// of DefinedAtoms that should be marked live (along with all Atoms they
61 /// reference). Only Atoms with scope scopeLinkageUnit or scopeGlobal can
[all …]
DSharedLibraryFile.h1 //===- Core/SharedLibraryFile.h - Models shared libraries as Atoms --------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
18 /// shared libraries being linked against.
23 return f->kind() == kindSharedLibrary; in classof()
26 /// Check if the shared library exports a symbol with the specified name.
DFile.h1 //===- Core/File.h - A Container of Atoms ---------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
34 /// To iterate through the Atoms in a File there are four methods that
37 /// for (const DefinedAtoms *atom : file->defined()) {
58 kindSharedLibrary, ///< shared library (.so)
111 /// The range type for the atoms.
191 /// Drop all of the atoms owned by this file. This will result in all of
192 /// the atoms running their destructors.
193 /// This is required because atoms may be allocated on a BumpPtrAllocator
[all …]
DWriter.h1 //===- lld/Core/Writer.h - Abstract File Format Interface -----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 /// The Writer is an abstract class for writing object files, shared
23 /// library files, and executable files. Each file format (e.g. mach-o, etc)
34 /// how file format specific atoms can be added to the link.
/external/llvm-project/lld/test/mach-o/
Dlib-search-paths.yaml1 # RUN: ld64.lld -arch x86_64 %s -syslibroot %p/Inputs/lib-search-paths -lmyshared -lmystatic -lfile…
3 --- !native
4 undefined-atoms:
5 - name: _from_myshared
6 - name: _from_mystatic
7 - name: _from_fileo
9 # CHECK: defined-atoms:
10 # CHECK: - name: _from_fileo
12 # CHECK: - name: _from_mystatic
14 # CHECK: shared-library-atoms:
[all …]
Ddead-strip-globals.yaml1 …UN: ld64.lld -arch x86_64 -dead_strip -export_dynamic %s -dylib %p/Inputs/x86_64/libSystem.yaml -o…
2 …UN: ld64.lld -arch x86_64 -export_dynamic -dead_strip %s -dylib %p/Inputs/x86_64/libSystem.yaml -o…
3 # RUN: ld64.lld -arch x86_64 -dead_strip %s -dylib %p/Inputs/x86_64/libSystem.yaml -o %t2.dylib -pr…
5 # RUN: ld64.lld -arch x86_64 -r %s -dylib %p/Inputs/x86_64/libSystem.yaml -o %t3.o
6 # RUN: llvm-nm -m %t3.o | FileCheck -check-prefix=RELOCATABLE_SYMBOLS %s
9 # Test that -export_dynamic -dead-strip from removing globals.
12 ---
13 defined-atoms:
14 - name: def
16 dead-strip: never
[all …]
Duse-simple-dylib.yaml1 # RUN: ld64.lld -arch x86_64 -print_atoms -r %s \
2 # RUN: %p/Inputs/use-simple-dylib.yaml -o %t | FileCheck %s
5 --- !mach-o
7 file-type: MH_OBJECT
9 has-UUID: false
12 - segment: __TEXT
22 global-symbols:
23 - name: _foo
28 undefined-symbols:
29 - name: _myGlobal
[all …]
Dgcc_except_tab-got-arm64.yaml1 # RUN: ld64.lld -arch arm64 %s \
2 # RUN: -dylib %p/Inputs/arm64/libSystem.yaml -o %t
3 # RUN: llvm-objdump --section-headers %t | FileCheck %s
8 --- !native
9 defined-atoms:
10 - name: _main
16 - name: __ZTSP1A
20 merge: as-weak
21 - name: GCC_except_table0
22 type: unwind-lsda
[all …]
Dunwind-info-simple-x86_64.yaml1 # RUN: ld64.lld -arch x86_64 %s -o %t -e _main %p/Inputs/x86_64/libSystem.yaml
2 # RUN: llvm-objdump --unwind-info %t | FileCheck %s
27 # CHECK-NOT: Contents of __compact_unwind section
29 --- !native
30 path: '<linker-internal>'
31 defined-atoms:
32 - name: GCC_except_table1
33 type: unwind-lsda
38 - type: compact-unwind
43 - kind: pointer64Anon
[all …]
/external/llvm-project/lld/lib/Core/
DResolver.cpp1 //===- Core/Resolver.cpp - Resolves Atom References -----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
77 [&](StringRef undefName) -> llvm::Expected<bool> { in handleArchiveFile()
78 if (File *member = archiveFile->find(undefName)) { in handleArchiveFile()
79 member->setOrdinal(_ctx.getNextOrdinalAndIncrement()); in handleArchiveFile()
87 // Add all the atoms from the shared library in handleSharedLibrary()
93 forEachUndefines(file, [&](StringRef undefName) -> llvm::Expected<bool> { in handleSharedLibrary()
94 auto atom = sharedLibrary->exports(undefName); in handleSharedLibrary()
109 << ", name=" << atom.get()->name() << "\n"); in doUndefinedAtom()
[all …]
/external/llvm-project/lld/lib/ReaderWriter/YAML/
DReaderWriterYAML.cpp1 //===- lib/ReaderWriter/YAML/ReaderWriterYAML.cpp -------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
56 /// The conversion of Atoms to and from YAML uses LLVM's YAML I/O. This
63 /// In most cases, atoms names are unambiguous, so references can just
65 /// cases that does not work, so ref-names are added. These are labels
68 /// One need for ref-names are when atoms have no user supplied name
69 /// (e.g. c-string literal). Another case is when two object files with
70 /// identically named static functions are merged (ld -r) into one object file.
72 /// ref-name is added.
[all …]
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DGOTPass.cpp1 //===- lib/ReaderWriter/MachO/GOTPass.cpp -----------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
32 //===----------------------------------------------------------------------===//
95 _file(*_ctx.make_file<MachOFile>("<mach-o GOT Pass>")) { in GOTPass()
101 // Scan all references in all atoms. in perform()
108 const Atom *target = ref->target(); in perform()
117 const_cast<Reference *>(ref)->setTarget(gotEntry); in perform()
124 // Sort and add all created GOT Atoms to master file in perform()
131 return (left->slotName().compare(right->slotName()) < 0); in perform()
[all …]
DStubsPass.cpp1 //===- lib/ReaderWriter/MachO/StubsPass.cpp ---------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This linker pass updates call-sites which have references to shared library
10 // atoms to instead have a reference to a stub (PLT entry) for the specified
14 //===----------------------------------------------------------------------===//
213 _file(*_ctx.make_file<MachOFile>("<mach-o Stubs pass>")) { in StubsPass()
219 if (!this->noTextRelocs()) in perform()
222 // Scan all references in all atoms. in perform()
225 // Look at call-sites. in perform()
[all …]
DFile.h1 //===- lib/ReaderWriter/MachO/File.h ----------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 #include "Atoms.h"
32 /// Real file constructor - for on-disk files.
34 : SimpleFile(mb->getBufferIdentifier(), File::kindMachObject), in MachOFile()
37 /// Dummy file constructor - for virtual files.
46 assert(sectionOffset+contentSize <= inSection->content.size()); in addDefinedAtom()
47 ArrayRef<uint8_t> content = inSection->content.slice(sectionOffset, in addDefinedAtom()
55 inSection->alignment, in addDefinedAtom()
[all …]
DArchHandler.h1 //===- lib/FileFormat/MachO/ArchHandler.h ---------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 #include "Atoms.h"
27 /// mach-o linking.
40 /// Convert mach-o Arch to Reference::KindArch.
43 /// Used by StubPass to update References to shared library functions
68 /// Returns the kind of reference to use to synthesize a 32-bit image-offset
72 /// Returns the kind of reference to use to synthesize a 32-bit image-offset
82 /// describing. Usually pointer-sized and PC-relative, but differs in whether
[all …]
/external/libxkbcommon/
DNEWS1 libxkbcommon 1.0.3 - 2020-11-23
4 - Fix (hopefully) a segfault in xkb_x11_keymap_new_from_device() in some
7 - Fix keymaps created with xkb_x11_keymap_new_from_device() don't have level
10 libxkbcommon 1.0.2 - 2020-11-20
13 - Fix a bug where a keysym that cannot be resolved in a keymap gets compiled to
16 - Improve the speed of xkb_x11_keymap_new_from_device() on repeated calls in the
20 libxkbcommon 1.0.1 - 2020-09-11
23 - Fix the tool-option-parsing test failing.
25 - Remove requirement for pytest in the tool-option-parsing test.
27 - Make the table output of `xkbcli how-to-type` aligned.
[all …]
/external/python/cpython2/Doc/reference/
Dexpressions.rst36 coercion rules listed at :ref:`coercion-rules`. If both arguments are standard
55 Atoms chapter
60 Atoms are the most basic elements of expressions. The simplest atoms are
62 brackets or braces are also categorized syntactically as atoms. The syntax for
63 atoms is:
72 .. _atom-identifiers:
75 -------------------
109 .. _atom-literals:
112 --------
141 -------------------
[all …]
/external/llvm/docs/
DSourceLevelDebugging.rst14 front-ends or dealing directly with the information. Further, this document
18 --------------------------------------------
21 pieces of the source-language's Abstract Syntax Tree map onto LLVM code.
29 * LLVM optimizations should interact in :ref:`well-defined and easily described
33 LLVM-to-LLVM tools should not need to know anything about the semantics of
34 the source-level-language.
36 * Source-level languages are often **widely** different from one another.
37 LLVM should not put any restrictions of the flavor of the source-language,
42 formats. This allows compatibility with traditional machine-code level
47 between LLVM program objects and the source-level objects. The description of
[all …]
/external/python/cpython3/Doc/reference/
Dexpressions.rst16 .. productionlist:: python-grammar
32 implementation for built-in types works as follows:
48 Atoms chapter
53 Atoms are the most basic elements of expressions. The simplest atoms are
55 also categorized syntactically as atoms. The syntax for atoms is:
57 .. productionlist:: python-grammar
63 .. _atom-identifiers:
66 -------------------
97 .. _atom-literals:
100 --------
[all …]
/external/llvm-project/llvm/docs/
DSourceLevelDebugging.rst14 front-ends or dealing directly with the information. Further, this document
18 --------------------------------------------
21 pieces of the source-language's Abstract Syntax Tree map onto LLVM code.
29 * LLVM optimizations should interact in :ref:`well-defined and easily described
33 LLVM-to-LLVM tools should not need to know anything about the semantics of
34 the source-level-language.
36 * Source-level languages are often **widely** different from one another.
37 LLVM should not put any restrictions of the flavor of the source-language,
42 formats. This allows compatibility with traditional machine-code level
47 between LLVM program objects and the source-level objects. The description of
[all …]
/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c29 * - BOs
30 * - Explain BO cache
31 * - main interface to GEM in the kernel
69 #include "drm-uapi/i915_drm.h"
159 /** Array of lists of cached gem objects of power-of-two sizes */
198 struct iris_bo *bo = entry ? entry->data : NULL; in find_and_ref_external_bo()
201 assert(bo->external); in find_and_ref_external_bo()
202 assert(!bo->reusable); in find_and_ref_external_bo()
204 /* Being non-reusable, the BO cannot be in the cache lists, but it in find_and_ref_external_bo()
209 if (bo->head.prev || bo->head.next) in find_and_ref_external_bo()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c3 * Copyright © 2007-2017 Intel Corporation
64 #include "drm-uapi/i915_drm.h"
113 * i965 fixed-size bucketing VMA allocator.
116 * All buffers in a given bucket are identically sized - when allocating,
118 * allocations are fixed-size; only buffers which are too large to fit in
119 * a bucket can be variably-sized.
121 * We create an allocator for each bucket. Each contains a free-list, where
122 * each node contains a <starting address, 64-bit bitmap> pair. Each bit
123 * represents a bucket-sized block of memory. (At the first level, each
125 * two pages, and so on.) 1 means a block is free, and 0 means it's in-use.
[all …]
/external/freetype/
DChangeLog.221 2006-05-12 Werner Lemberg <wl@gnu.org>
8 Tag sources with `VER-2-2-1'.
10 2006-05-12 Werner Lemberg <wl@gnu.org>
16 * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset.
25 2006-05-11 Werner Lemberg <wl@gnu.org>
38 2006-05-11 Masatake YAMATO <jet@gyve.org>
41 read system call returns -1.
44 2006-05-10 Werner Lemberg <wl@gnu.org>
47 given an empty, un-mmap()able file. Reported and suggested fix in
50 * builds/freetype.mk (refdoc): Write-protect the `docmaker'
[all …]

12