| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | section-align2.test | 30 ## sh_addr is aligned to 16. 34 ## The output section address is set without ALIGN. sh_addr is set to Dot, ignoring alignment. 37 ## sh_addr is aligned to 32. 40 ## sh_addr is aligned to 16.
|
| H A D | tls-nobits-offset.s | 12 ## sh_offset to sh_addr modulo p_align, so that p_vaddr=p_offset (mod
|
| H A D | nobits-offset.s | 12 ## sh_offset to sh_addr modulo max-page-size, so that p_vaddr=p_offset (mod
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | ARMEHABIPrinter.h | 441 if (Address >= Sec.sh_addr && Address < Sec.sh_addr + Sec.sh_size) in findSectionContainingAddress() 501 ? PREL31(Word, EHT.sh_addr) in PrintExceptionTable() 502 : PREL31(Word, EHT.sh_addr + TableEntryOffset); in PrintExceptionTable() 569 ? PREL31(Word0, IT->sh_addr) in PrintIndexTable() 570 : PREL31(Word0, IT->sh_addr + Entry * IndexTableEntrySize); in PrintIndexTable() 598 TableEntryAddress = PREL31(Word1, IT->sh_addr); in PrintIndexTable() 602 PREL31(Word1, IT->sh_addr + Entry * IndexTableEntrySize + 4); in PrintIndexTable() 617 PrintExceptionTable(*EHT, TableEntryAddress - EHT->sh_addr); in PrintIndexTable()
|
| H A D | DwarfCFIEHPrinter.h | 57 if (Shdr.sh_addr == Addr) in findSectionByAddress() 175 uint64_t Address = EHFrameShdr->sh_addr; in printEHFrame()
|
| H A D | ELFDumper.cpp | 982 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) in findNotEmptySectionByAddress() 1748 if (DynamicSec->sh_addr + DynamicSec->sh_size > in findDynamic() 1750 DynamicSec->sh_addr < DynamicPhdr->p_vaddr) in findDynamic() 1755 if (DynamicSec->sh_addr != DynamicPhdr->p_vaddr) in findDynamic() 2913 return GotSec->sh_addr + 0x7ff0; in getGp() 2962 return GotSec->sh_addr + Offset; in getGotAddress() 3001 return PltSec->sh_addr + Offset; in getPltAddress() 4227 if (Sec.sh_addr < Phdr.p_vaddr) in checkVMA() 4236 return Sec.sh_addr + 1 <= Phdr.p_vaddr + Phdr.p_memsz; in checkVMA() 4253 (Sec.sh_addr > Phdr.p_vaddr && Sec.sh_addr < Phdr.p_memsz); in checkPTDynamic() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/ |
| H A D | binary-paddr.test | 5 ## difference equals the difference between their sh_addr fields. 43 ## The computed LMA of a section not in a PT_LOAD equals its sh_addr. 68 ## Not in a PT_LOAD. LMA = sh_addr = 0x1000. 88 ## Check that we use sh_offset instead of sh_addr to decide where to write section contents. 113 ## Not in a PT_LOAD. LMA = sh_addr = 0x1000. 120 ## sh_addr is increased from 0x2000 to 0x3000, but it is ignored.
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | nobits-offset.s | 8 ## sh_offset to sh_addr modulo max-page-size, so that p_vaddr=p_offset (mod
|
| H A D | tls-nobits-offset.s | 8 ## sh_offset to sh_addr modulo p_align, so that p_vaddr=p_offset (mod
|
| /llvm-project-15.0.7/lld/docs/ELF/ |
| H A D | linker_script.rst | 90 When an *OutputSection* *S* has ``address``, LLD will set sh_addr to ``address``. 94 > The value of sh_addr must be congruent to 0, modulo the value of sh_addralign. 98 sh_addr=0 (modulo sh_addralign).
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | DebugObjectManagerPlugin.cpp | 71 Header->sh_addr = in setTargetMemoryRange() 95 Name, &Header->sh_addr, Start, End), in validateInBounds() 109 if (auto Addr = static_cast<JITTargetAddress>(Header->sh_addr)) { in dump()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ELFHeader.h | 163 elf_addr sh_addr; ///< Virtual address of the section in memory. member
|
| H A D | ELFHeader.cpp | 238 if (!GetMaxU64(data, offset, &sh_addr, byte_size, 3)) in Parse()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELFLinkGraphBuilder.h | 332 orc::ExecutorAddr(Sec.sh_addr), in graphifySections() 336 orc::ExecutorAddr(Sec.sh_addr), in graphifySections()
|
| H A D | ELF_x86_64.cpp | 241 auto FixupAddress = orc::ExecutorAddr(FixupSection.sh_addr) + Rel.r_offset; in addSingleRelocation()
|
| H A D | ELF_aarch64.cpp | 166 orc::ExecutorAddr(FixupSect.sh_addr) + Rel.r_offset; in addSingleRelocation()
|
| /llvm-project-15.0.7/llvm/lib/InterfaceStub/ |
| H A D | ELFObjHandler.cpp | 291 StrTab.Shdr.sh_addr = StrTab.Addr; in fillStrTabShdr() 304 SymTab.Shdr.sh_addr = SymTab.Addr; in fillSymTabShdr() 320 DynTab.Shdr.sh_addr = DynTab.Addr; in fillDynTabShdr()
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/ |
| H A D | section-address-assign.yaml | 1 ## Test that yaml2obj automatically assigns sh_addr to allocatable sections for ET_EXEC/ET_DYN file…
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/generic-elf-64bit/src/ |
| H A D | rtl.cpp | 177 EntriesOffset = Hdr.sh_addr; in __tgt_rtl_load_binary()
|
| /llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/DWARF/ |
| H A D | debug-str.yaml | 25 ## Override the sh_addr field.
|
| H A D | debug-addr.yaml | 110 ## Override the sh_addr field.
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | ELF.h | 935 Elf32_Addr sh_addr; // Address where section is to be loaded member 949 Elf64_Addr sh_addr; member
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | ELFTypes.h | 153 Elf_Addr sh_addr; // Address where section is to be loaded 168 Elf_Addr sh_addr; // Address where section is to be loaded
|
| H A D | ELFObjectFile.h | 608 Result += Section->sh_addr; in getSymbolAddress() 835 return getSection(Sec)->sh_addr; in getSectionAddress() 921 if (is_contained(Offsets, Sec.sh_addr)) in dynamic_relocation_sections()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | elf2yaml.cpp | 451 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment() 452 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment() 786 if (Shdr->sh_addr) in dumpCommonSection() 787 S.Address = static_cast<uint64_t>(Shdr->sh_addr); in dumpCommonSection()
|