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

References

tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  274   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  275   EXPECT_TRUE(text.sectionName.equals("__text"));
  276   EXPECT_EQ(text.type, S_REGULAR);
  277   EXPECT_EQ(text.attributes,SectionAttr(S_ATTR_PURE_INSTRUCTIONS
  279   EXPECT_EQ((uint16_t)text.alignment, 16U);
  280   EXPECT_EQ(text.address, Hex64(0x0));
  281   EXPECT_EQ(text.content.size(), 45UL);
  282   EXPECT_EQ((int)(text.content[0]), 0x55);
  283   EXPECT_EQ((int)(text.content[1]), 0x48);
  284   EXPECT_TRUE(text.indirectSymbols.empty());
  285   EXPECT_EQ(text.relocations.size(), 2UL);
  286   const Relocation& call = text.relocations[0];
  292   const Relocation& str = text.relocations[1];