Home
last modified time | relevance | path

Searched refs:dysym (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lld/MachO/
DSyntheticSections.cpp261 static void encodeDylibOrdinal(const DylibSymbol *dysym, Binding &lastBinding, in encodeDylibOrdinal() argument
264 if (lastBinding.ordinal != dysym->file->ordinal) { in encodeDylibOrdinal()
265 if (dysym->file->ordinal <= BIND_IMMEDIATE_MASK) { in encodeDylibOrdinal()
267 dysym->file->ordinal); in encodeDylibOrdinal()
270 encodeULEB128(dysym->file->ordinal, os); in encodeDylibOrdinal()
272 lastBinding.ordinal = dysym->file->ordinal; in encodeDylibOrdinal()
308 encodeDylibOrdinal(b.dysym, lastBinding, os); in finalizeContents()
310 encodeBinding(b.dysym, isec->parent, isec->outSecOff + b.target.offset, in finalizeContents()
314 encodeBinding(b.dysym, osec, b.target.offset, b.addend, lastBinding, os); in finalizeContents()
371 if (auto *dysym = dyn_cast<DylibSymbol>(sym)) { in addNonLazyBindingEntries() local
[all …]
DSyntheticSections.h193 const DylibSymbol *dysym; member
196 BindingEntry(const DylibSymbol *dysym, int64_t addend, Location target) in BindingEntry()
197 : dysym(dysym), addend(addend), target(std::move(target)) {} in BindingEntry()
209 void addEntry(const DylibSymbol *dysym, SectionPointerUnion section,
211 bindings.emplace_back(dysym, addend, Location(section, offset));
361 void addEntry(DylibSymbol *dysym);
DSymbolTable.cpp52 } else if (auto *dysym = dyn_cast<DylibSymbol>(s)) { in addDefined() local
53 overridesWeakDef = !isWeakDef && dysym->isWeakDef(); in addDefined()
/external/llvm-project/lld/test/MachO/
Dentry-symbol.s22 # RUN: %lld -lSystem -o %t/dysym-main %t/not-main.o %t/libfoo.dylib -e _dysym_main
23 # RUN: llvm-objdump --macho --all-headers --indirect-symbols --lazy-bind %t/dysym-main | FileCheck …
34 # RUN: %lld -lSystem -o %t/weak-dysym-main %t/not-main.o %t/libfoo.dylib -e _weak_dysym_main
35 # RUN: llvm-objdump --macho --all-headers --indirect-symbols --bind --weak-bind %t/weak-dysym-main …
/external/llvm-project/lld/MachO/Arch/
DX86_64.cpp244 if (auto *dysym = dyn_cast<DylibSymbol>(sym)) { in prepareSymbolRelocation() local
247 dysym->getName() + " must have r_length = 3"); in prepareSymbolRelocation()