/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lld/MachO/ |
H A D | OutputSegment.cpp | 50 count += (!osec->isHidden() ? 1 : 0); in numNonHiddenSections() 57 osec->parent = this; in addOutputSection() 58 sections.push_back(osec); in addOutputSection() 62 osec->align = sectAlign.align; in addOutputSection() 83 StringRef segname = osec->parent->name; in sectionOrder() 86 return StringSwitch<int>(osec->name) in sectionOrder() 93 .Default(osec->inputOrder); in sectionOrder() 103 switch (sectionType(osec->flags)) { in sectionOrder() 117 .Default(osec->inputOrder); in sectionOrder() 132 .Default(osec->inputOrder); in sectionOrder() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lld/MachO/ |
H A D | OutputSegment.cpp | 50 count += (!osec->isHidden() ? 1 : 0); in numNonHiddenSections() 57 osec->parent = this; in addOutputSection() 58 sections.push_back(osec); in addOutputSection() 62 osec->align = sectAlign.align; in addOutputSection() 83 StringRef segname = osec->parent->name; in sectionOrder() 86 return StringSwitch<int>(osec->name) in sectionOrder() 93 .Default(osec->inputOrder); in sectionOrder() 103 switch (sectionType(osec->flags)) { in sectionOrder() 117 .Default(osec->inputOrder); in sectionOrder() 132 .Default(osec->inputOrder); in sectionOrder() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lld/MachO/ |
H A D | OutputSegment.cpp | 50 count += (!osec->isHidden() ? 1 : 0); in numNonHiddenSections() 57 osec->parent = this; in addOutputSection() 58 sections.push_back(osec); in addOutputSection() 62 osec->align = sectAlign.align; in addOutputSection() 83 StringRef segname = osec->parent->name; in sectionOrder() 86 return StringSwitch<int>(osec->name) in sectionOrder() 93 .Default(osec->inputOrder); in sectionOrder() 103 switch (sectionType(osec->flags)) { in sectionOrder() 117 .Default(osec->inputOrder); in sectionOrder() 132 .Default(osec->inputOrder); in sectionOrder() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lld/MachO/ |
H A D | OutputSegment.cpp | 50 count += (!osec->isHidden() ? 1 : 0); in numNonHiddenSections() 57 osec->parent = this; in addOutputSection() 58 sections.push_back(osec); in addOutputSection() 62 osec->align = sectAlign.align; in addOutputSection() 83 StringRef segname = osec->parent->name; in sectionOrder() 86 return StringSwitch<int>(osec->name) in sectionOrder() 93 .Default(osec->inputOrder); in sectionOrder() 103 switch (sectionType(osec->flags)) { in sectionOrder() 117 .Default(osec->inputOrder); in sectionOrder() 132 .Default(osec->inputOrder); in sectionOrder() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lld/MachO/ |
H A D | OutputSegment.cpp | 50 count += (!osec->isHidden() ? 1 : 0); in numNonHiddenSections() 57 osec->parent = this; in addOutputSection() 58 sections.push_back(osec); in addOutputSection() 62 osec->align = sectAlign.align; in addOutputSection() 83 StringRef segname = osec->parent->name; in sectionOrder() 86 return StringSwitch<int>(osec->name) in sectionOrder() 93 .Default(osec->inputOrder); in sectionOrder() 103 switch (sectionType(osec->flags)) { in sectionOrder() 117 .Default(osec->inputOrder); in sectionOrder() 132 .Default(osec->inputOrder); in sectionOrder() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lld/ELF/ |
H A D | MapFile.cpp | 89 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 91 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 134 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 163 OutputSection* osec = nullptr; in writeMapFile() local 168 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 174 osec = cast<OutputSection>(base); in writeMapFile() 175 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 176 os << osec->name << '\n'; in writeMapFile() 179 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 197 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 164 OutputSection* osec = nullptr; in writeMapFile() local 169 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 175 osec = cast<OutputSection>(base); in writeMapFile() 176 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 177 os << osec->name << '\n'; in writeMapFile() 180 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 198 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/lld/ELF/ |
H A D | MapFile.cpp | 89 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 91 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 134 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 163 OutputSection* osec = nullptr; in writeMapFile() local 168 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 174 osec = cast<OutputSection>(base); in writeMapFile() 175 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 176 os << osec->name << '\n'; in writeMapFile() 179 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 197 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/lld/MachO/ |
H A D | Writer.cpp | 139 if (osec->isHidden()) in writeTo() 145 memcpy(sectHdr->sectname, osec->name.data(), osec->name.size()); in writeTo() 362 if (isZeroFill(osec->flags)) in sectionOrder() 388 if (!osec->isHidden()) in sortSegmentsAndSections() 427 if (osec == nullptr) in createOutputSections() 429 osec->mergeInput(isec); in createOutputSections() 459 osec->addr = addr; in assignAddresses() 460 osec->fileOff = isZeroFill(osec->flags) ? 0 : fileOff; in assignAddresses() 461 osec->finalize(); in assignAddresses() 463 addr += osec->getSize(); in assignAddresses() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lld/MachO/ |
H A D | Writer.cpp | 139 if (osec->isHidden()) in writeTo() 145 memcpy(sectHdr->sectname, osec->name.data(), osec->name.size()); in writeTo() 362 if (isZeroFill(osec->flags)) in sectionOrder() 388 if (!osec->isHidden()) in sortSegmentsAndSections() 427 if (osec == nullptr) in createOutputSections() 429 osec->mergeInput(isec); in createOutputSections() 459 osec->addr = addr; in assignAddresses() 460 osec->fileOff = isZeroFill(osec->flags) ? 0 : fileOff; in assignAddresses() 461 osec->finalize(); in assignAddresses() 463 addr += osec->getSize(); in assignAddresses() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/lld/ELF/ |
H A D | MapFile.cpp | 89 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 91 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 134 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 163 OutputSection* osec = nullptr; in writeMapFile() local 168 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 174 osec = cast<OutputSection>(base); in writeMapFile() 175 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 176 os << osec->name << '\n'; in writeMapFile() 179 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 197 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lld/ELF/ |
H A D | MapFile.cpp | 89 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 91 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 134 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 163 OutputSection* osec = nullptr; in writeMapFile() local 168 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 174 osec = cast<OutputSection>(base); in writeMapFile() 175 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 176 os << osec->name << '\n'; in writeMapFile() 179 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 197 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lld/ELF/ |
H A D | MapFile.cpp | 90 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() local 92 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; in getSymbolStrings() 135 writeHeader(os, osec->addr + p.outputOff, osec->getLMA() + p.outputOff, in printEhFrame() 166 OutputSection* osec = nullptr; in writeMapFile() local 171 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; in writeMapFile() 177 osec = cast<OutputSection>(base); in writeMapFile() 178 writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment); in writeMapFile() 179 os << osec->name << '\n'; in writeMapFile() 182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile() 200 writeHeader(os, osec->addr + cmd->offset, osec->getLMA() + cmd->offset, in writeMapFile() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lld/MachO/ |
H A D | Writer.cpp | 164 c->filesize, osec->fileOff + osec->getFileSize() - seg->fileOff); in writeTo() 167 if (osec->isHidden()) in writeTo() 173 memcpy(sectHdr->sectname, osec->name.data(), osec->name.size()); in writeTo() 544 if (!osec->isHidden()) in sortSegmentsAndSections() 583 if (osec == nullptr) in createOutputSections() 585 osec->mergeInput(isec); in createOutputSections() 617 if (!osec->isNeeded()) in assignAddresses() 621 osec->addr = addr; in assignAddresses() 622 osec->fileOff = isZeroFill(osec->flags) ? 0 : fileOff; in assignAddresses() 623 osec->finalize(); in assignAddresses() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lld/MachO/ |
H A D | Writer.cpp | 175 c->filesize, osec->fileOff + osec->getFileSize() - seg->fileOff); in writeTo() 178 if (osec->isHidden()) in writeTo() 184 memcpy(sectHdr->sectname, osec->name.data(), osec->name.size()); in writeTo() 620 if (!osec->isHidden()) in sortSegmentsAndSections() 662 if (osec == nullptr) in createOutputSections() 664 osec->mergeInput(isec); in createOutputSections() 697 if (!osec->isNeeded()) in assignAddresses() 701 osec->addr = addr; in assignAddresses() 702 osec->fileOff = isZeroFill(osec->flags) ? 0 : fileOff; in assignAddresses() 703 osec->finalize(); in assignAddresses() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lld/MachO/ |
H A D | Writer.cpp | 175 c->filesize, osec->fileOff + osec->getFileSize() - seg->fileOff); in writeTo() 178 if (osec->isHidden()) in writeTo() 184 memcpy(sectHdr->sectname, osec->name.data(), osec->name.size()); in writeTo() 620 if (!osec->isHidden()) in sortSegmentsAndSections() 662 if (osec == nullptr) in createOutputSections() 664 osec->mergeInput(isec); in createOutputSections() 697 if (!osec->isNeeded()) in assignAddresses() 701 osec->addr = addr; in assignAddresses() 702 osec->fileOff = isZeroFill(osec->flags) ? 0 : fileOff; in assignAddresses() 703 osec->finalize(); in assignAddresses() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | gcore.c | 301 if (!(bfd_get_section_flags (obfd, osec) & SEC_READONLY)) in make_output_phdrs() 303 if (bfd_get_section_flags (obfd, osec) & SEC_CODE) in make_output_phdrs() 314 asection *osec; in gcore_create_callback() local 371 osec = bfd_make_section_anyway (obfd, "load"); in gcore_create_callback() 372 if (osec == NULL) in gcore_create_callback() 385 bfd_set_section_size (obfd, osec, size); in gcore_create_callback() 386 bfd_set_section_vma (obfd, osec, vaddr); in gcore_create_callback() 388 bfd_set_section_flags (obfd, osec, flags); in gcore_create_callback() 447 bfd_size_type size = bfd_section_size (obfd, osec); in gcore_copy_callback() 452 if ((bfd_get_section_flags (obfd, osec) & SEC_LOAD) == 0) in gcore_copy_callback() [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | gcore.c | 301 if (!(bfd_get_section_flags (obfd, osec) & SEC_READONLY)) in make_output_phdrs() 303 if (bfd_get_section_flags (obfd, osec) & SEC_CODE) in make_output_phdrs() 314 asection *osec; in gcore_create_callback() local 371 osec = bfd_make_section_anyway (obfd, "load"); in gcore_create_callback() 372 if (osec == NULL) in gcore_create_callback() 385 bfd_set_section_size (obfd, osec, size); in gcore_create_callback() 386 bfd_set_section_vma (obfd, osec, vaddr); in gcore_create_callback() 388 bfd_set_section_flags (obfd, osec, flags); in gcore_create_callback() 447 bfd_size_type size = bfd_section_size (obfd, osec); in gcore_copy_callback() 452 if ((bfd_get_section_flags (obfd, osec) & SEC_LOAD) == 0) in gcore_copy_callback() [all …]
|