Home
last modified time | relevance | path

Searched refs:wordSize (Results 1 – 11 of 11) sorted by relevance

/openbsd/src/gnu/llvm/lld/MachO/
DTarget.h51 wordSize = LP::wordSize; in TargetInfo()
52 p2WordSize = llvm::CTLog2<LP::wordSize>(); in TargetInfo()
126 size_t wordSize; variable
163 static constexpr size_t wordSize = 8; member
179 static constexpr size_t wordSize = 4; member
DSyntheticSections.cpp188 (incr % target->wordSize) == 0) { in emitIncrement()
200 if (state.skipLength == target->wordSize) { in flushRebase()
210 encodeULEB128(state.skipLength - target->wordSize, os); in flushRebase()
215 encodeULEB128(state.skipLength - target->wordSize, os); in flushRebase()
248 RebaseState state{1, target->wordSize}; in encodeRebases()
276 state.skipLength = target->wordSize; in encodeRebases()
311 align = target->wordSize; in NonLazyPointerSectionBase()
349 addNonLazyBindingEntries(sym, isec, sym->gotIndex * target->wordSize); in addEntry()
355 assert(target->wordSize == 8 && "Only 64-bit platforms are supported"); in writeChainedRebase()
373 assert(target->wordSize == 8 && "Only 64-bit platforms are supported"); in writeChainedBind()
[all …]
DMapFile.cpp145 osec->addr + sym->gotIndex * target->wordSize, in printNonLazyPointerSection()
146 target->wordSize, sym->getName().str().data()); in printNonLazyPointerSection()
219 printStubsEntries(os, readerToFileOrdinal, osec, target->wordSize); in writeMapFile()
DWriter.cpp137 target->wordSize); in getSize()
332 target->wordSize); in getSize()
367 target->wordSize); in getSize()
394 target->wordSize); in getSize()
419 target->wordSize); in getSize()
1013 osec->align = target->wordSize; in createOutputSections()
1019 osec->align = std::max<uint32_t>(osec->align, target->wordSize); in createOutputSections()
1230 if (offset < target->wordSize) in buildFixupChains()
1354 uint8_t *arr = bAlloc().Allocate<uint8_t>(target->wordSize); in createSyntheticSections()
1355 memset(arr, 0, target->wordSize); in createSyntheticSections()
[all …]
DUnwindInfoSection.cpp100 CompactUnwindOffsets(size_t wordSize) { in CompactUnwindOffsets()
101 if (wordSize == 8) in CompactUnwindOffsets()
104 assert(wordSize == 4); in CompactUnwindOffsets()
151 UnwindInfoSectionImpl() : cuOffsets(target->wordSize) {} in UnwindInfoSectionImpl()
374 target->wordSize; in relocateCompactUnwind()
DObjC.cpp53 if (target->wordSize == 8) in objectHasObjCSection()
DInputFiles.cpp279 return target->wordSize == 8 ? 32 : 20; in getRecordSize()
285 return target->wordSize == 8 ? 32 : 16; in getRecordSize()
291 return target->wordSize; in getRecordSize()
294 return target->wordSize; in getRecordSize()
952 if (target->wordSize == 8) in ObjFile()
957 if (target->wordSize == 8) in ObjFile()
1130 isec->data = isec->data.slice(target->wordSize, 8 + target->wordSize); in registerCompactUnwind()
1210 return target->wordSize; in pointerEncodingToSize()
2277 if (target->wordSize == 8) in extract()
DSyntheticSections.h61 align = target->wordSize; in LinkEditSection()
121 return entries.size() * target->wordSize; in getSize()
126 return addr + gotIndex * target->wordSize; in getVA()
DDriver.cpp1930 if (target->wordSize == 8) in link()
/openbsd/src/gnu/llvm/lld/MachO/Arch/
DARM64Common.h136 in.got->addr + in.stubHelper->stubBinder->gotIndex * LP::wordSize; in writeStubHelperHeader()
168 uint64_t selectorOffset = selectorIndex * LP::wordSize; in writeObjCMsgSendStub()
175 encodePage21(&buf32[3], d, objcStubsFastCode[3], msgSendIndex * LP::wordSize); in writeObjCMsgSendStub()
DX86_64.cpp163 in.stubHelper->stubBinder->gotIndex * LP64::wordSize); in writeStubHelperHeader()
192 selrefsVA + selectorIndex * LP64::wordSize); in writeObjCMsgSendStub()
194 gotAddr + msgSendIndex * LP64::wordSize); in writeObjCMsgSendStub()