reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  303           section.address     = read64(&sect->addr, isBig);
  347           section.address     = read32(&sect->addr, isBig);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  476   if (s2.address >= s1.address+s1.content.size())
  476   if (s2.address >= s1.address+s1.content.size())
  478   if (s1.address >= s2.address+s2.content.size())
  478   if (s1.address >= s2.address+s2.content.size())
  522         if ((s.address >= sg.address)
  523                         && (s.address+s.content.size() <= sg.address+sg.size)) {
  553       uint32_t sectOffset = s->address - sg.address;
  636     seg->vmsize = _file.sections.back().address
  651     sout->addr = sin.address;
  718       sect->addr      = section->address;
  723         sect->offset  = section->address - seg.address + segInfo.fileOffset;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  647   normSect->address       = si->address;
  719       normSect->address = si->address;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  246   uint64_t offset = symbolAddr - section.address;
  330     atomFromSymbol(atomType, section, file, section.address, StringRef(),
  332                   section.address + section.content.size(),
  335   else if (symbols.front()->value != section.address) {
  337     atomFromSymbol(atomType, section, file, section.address, StringRef(),
  348           || lastSym->value != section.address
  360                    section.address + section.content.size(),
  495     uint64_t sAddr = s.address;
  512   uint64_t offsetInSect = addr - sect->address;
  543     uint64_t offsetInSect = addr - sect->address;
  577       uint64_t targetOffsetInSect = sym->value - symSection.address;
  614     uint64_t fixupAddress = section.address + reloc.offset;
 1151       uint64_t funcAddress = ehFrameSection->address + offset +
 1261   uint64_t cieAddress = ehFrameSection->address + offset + cieFieldInFDE;
 1281   uint64_t rangeStart = ehFrameSection->address + offset + rangeFieldInFDE;
 1307         ehFrameSection->address + offset + augmentationDataFieldInFDE +
 1507     uint64_t offsetInSect = entry.offset - s->address;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  302     io.mapRequired("address",         sect.address);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  280   EXPECT_EQ(text.address, Hex64(0x0));
  305   EXPECT_EQ(cstring.address, Hex64(0x02D));
  405   EXPECT_EQ(text.address, Hex64(0x0));
  440   EXPECT_EQ(cstring.address, Hex64(0x030));
  537   EXPECT_EQ(text.address, Hex64(0x0));
  581   EXPECT_EQ(cstring.address, Hex64(0x02A));
  681   EXPECT_EQ(text.address, Hex64(0x0));
  724   EXPECT_EQ(cstring.address, Hex64(0x044));
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  126     text.address = 0;
  182   EXPECT_EQ(text.address, Hex64(0x0));
  244     text.address = 0;
  294   EXPECT_EQ(text.address, Hex64(0x0));
  355     text.address = 0;
  420   EXPECT_EQ(text.address, Hex64(0x0));
  485     text.address = 0;
  577   EXPECT_EQ(text.address, Hex64(0x0));
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
  217   EXPECT_EQ((uint64_t)sect.address, 0x12345678ULL);
  289   EXPECT_EQ((uint64_t)sect1.address, 0x0ULL);
  319   EXPECT_EQ((uint64_t)sect2.address, 0x016ULL);
  419   EXPECT_EQ((uint64_t)sect1.address, 0x0ULL);
  456   EXPECT_EQ((uint64_t)sect2.address, 0x021ULL);
  547   EXPECT_EQ((uint64_t)sect1.address, 0x0ULL);
  584   EXPECT_EQ((uint64_t)sect2.address, 0x020ULL);
  687   EXPECT_EQ((uint64_t)sect1.address, 0x0ULL);
  740   EXPECT_EQ((uint64_t)sect2.address, 0x016ULL);