reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
249 SectionInfo(segmentName, sectionName, sectionType, _ctx, sectionAttrs, 334 p.segmentName, p.sectionName, p.sectionType, _ctx, sectionAttrs, 350 bool rMode = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); 368 new (_allocator) SectionInfo(segName, sectName, S_REGULAR, _ctx, 462 switch (_ctx.os()) { 514 switch (_ctx.outputMachOType()) { 562 seg->size = llvm::alignTo(addr - seg->address, _ctx.pageSize()); 578 padding += _ctx.pageSize(); 585 seg->size = llvm::alignTo(addr - seg->address, _ctx.pageSize()); 591 _ctx.generateFunctionStartsLoadCommand()); 595 seg->size = _ctx.pageZeroSize(); 601 address = _ctx.baseAddress() ? _ctx.baseAddress() : address; 601 address = _ctx.baseAddress() ? _ctx.baseAddress() : address; 606 address = llvm::alignTo(address, _ctx.pageSize()); 654 const bool r = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); 694 sectionAddrForAtom, _ctx.baseAddress(), 730 if (_ctx.outputTypeHasEntry()) { 741 const bool lookForEntry = _ctx.outputTypeHasEntry(); 747 info.atom->name() == _ctx.entrySymbolName()) { 768 _atomToAddress[atom] = _ctx.baseAddress(); 798 if (_ctx.debugInfoMode() == MachOLinkingContext::DebugInfoMode::noDebugMap) 905 _stabs.push_back(mach_o::Stab(nullptr, N_OSO, _ctx.getCPUSubType(), 1, 970 _ctx.outputMachOType() == llvm::MachO::MH_OBJECT) { 986 bool rMode = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); 993 if ((_ctx.exportMode() == MachOLinkingContext::ExportMode::whiteList) && 994 _ctx.exportSymbolNamed(atom->name())) { 999 if (_ctx.keepPrivateExterns()) { 1011 if (_ctx.exportRestrictMode()) { 1012 if (_ctx.exportSymbolNamed(atom->name())) { 1035 bool rMode = (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT); 1131 if (!_ctx.useFlatNamespace()) 1224 for (const auto *dylib : _ctx.allDylibs()) { 1228 bool flatNamespaceAtom = dylib == _ctx.flatNamespaceFile(); 1233 if (flatNamespaceAtom || _ctx.useFlatNamespace()) 1246 depInfo.currentVersion = _ctx.dylibCurrentVersion(dylib->path()); 1247 depInfo.compatVersion = _ctx.dylibCompatVersion(dylib->path()); 1260 else if (_ctx.isUpwardDylib(dep.path)) 1293 if (_ctx.outputMachOType() != llvm::MachO::MH_OBJECT) 1336 if (!_ctx.generateFunctionStartsLoadCommand()) 1374 for (unsigned i = size, e = llvm::alignTo(size, _ctx.is64Bit() ? 8 : 4); 1380 if (!_ctx.generateDataInCodeLoadCommand()) 1423 if (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT) 1534 if (_ctx.outputMachOType() == llvm::MachO::MH_OBJECT) 1542 if (_ctx.exportRestrictMode()) { 1543 if (!_ctx.exportSymbolNamed(atom->name())) 1548 exprt.offset = _atomToAddress[atom] - _ctx.baseAddress(); 1563 if (_ctx.outputMachOType() == MH_OBJECT) { 1567 if (!_ctx.useFlatNamespace()) 1569 if ((_ctx.outputMachOType() == MH_EXECUTE) && _ctx.PIE()) 1569 if ((_ctx.outputMachOType() == MH_EXECUTE) && _ctx.PIE())