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

References

lib/MC/ELFObjectWriter.cpp
  751     Writer.writeSymbol(StrTabBuilder.getOffset(Name),
  766                                : StrTabBuilder.getOffset(MSD.Name);
  775     unsigned StringIndex = StrTabBuilder.getOffset(MSD.Name);
 1055   WriteSecHdrEntry(StrTabBuilder.getOffset(Section.getSectionName()),
lib/MC/MachObjectWriter.cpp
  577     MSD.StringIndex = StringTable.getOffset(Symbol.getName());
  603     MSD.StringIndex = StringTable.getOffset(Symbol.getName());
lib/MC/WinCOFFObjectWriter.cpp
  451   uint64_t StringTableEntry = Strings.getOffset(S.Name);
  469     S.set_name_offset(Strings.getOffset(S.Name));
lib/MC/XCOFFObjectWriter.cpp
  384     W.write<uint32_t>(Strings.getOffset(SymbolName));
lib/ObjectYAML/ELFEmitter.cpp
  398         DotShStrtab.getOffset(ELFYAML::dropUniqueSuffix(Sec->Name));
  506       Symbol.st_name = Strtab.getOffset(ELFYAML::dropUniqueSuffix(Sym.Name));
  550   SHeader.sh_name = DotShStrtab.getOffset(IsStatic ? ".symtab" : ".dynsym");
  608   SHeader.sh_name = DotShStrtab.getOffset(Name);
  901       VernAux.vda_name = DotDynstr.getOffset(E.VerNames[J]);
  930     VerNeed.vn_file = DotDynstr.getOffset(VE.File);
  947       VernAux.vna_name = DotDynstr.getOffset(VAuxE.Name);
tools/lld/COFF/Chunks.cpp
  893     size_t off = builder.getOffset(toStringRef(c->getContents()));
tools/llvm-objcopy/COFF/Writer.cpp
  126                (int)StrTabBuilder.getOffset(S.Name));
  134       S.Sym.Name.Offset.Offset = StrTabBuilder.getOffset(S.Name);
tools/llvm-objcopy/ELF/Object.cpp
  548   return StrTabBuilder.getOffset(Name);
tools/llvm-objcopy/MachO/MachOWriter.cpp
  295     uint32_t Nstrx = LayoutBuilder.getStringTableBuilder().getOffset(Sym->Name);
unittests/MC/StringTableBuilderTest.cpp
   40   EXPECT_EQ(1U, B.getOffset("foobar"));
   41   EXPECT_EQ(4U, B.getOffset("bar"));
   42   EXPECT_EQ(8U, B.getOffset("foo"));
   74   EXPECT_EQ(4U, B.getOffset("pygmy hippopotamus"));
   75   EXPECT_EQ(10U, B.getOffset("hippopotamus"));
   76   EXPECT_EQ(23U, B.getOffset("river horse"));
  101   EXPECT_EQ(1U, B.getOffset("foo"));
  102   EXPECT_EQ(5U, B.getOffset("bar"));
  103   EXPECT_EQ(9U, B.getOffset("foobar"));