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

References

tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  531   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  532   EXPECT_TRUE(text.sectionName.equals("__text"));
  533   EXPECT_EQ(text.type, S_REGULAR);
  534   EXPECT_EQ(text.attributes,SectionAttr(S_ATTR_PURE_INSTRUCTIONS
  536   EXPECT_EQ((uint16_t)text.alignment, 4U);
  537   EXPECT_EQ(text.address, Hex64(0x0));
  538   EXPECT_EQ(text.content.size(), 42UL);
  539   EXPECT_EQ((int)(text.content[0]), 0x80);
  540   EXPECT_EQ((int)(text.content[1]), 0xB5);
  541   EXPECT_TRUE(text.indirectSymbols.empty());
  542   EXPECT_EQ(text.relocations.size(), 5UL);
  543   const Relocation& call = text.relocations[0];
  550   const Relocation& movt = text.relocations[1];
  556   const Relocation& movtPair = text.relocations[2];
  562   const Relocation& movw = text.relocations[3];
  568   const Relocation& movwPair = text.relocations[4];