• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-nm/

Lines Matching defs:Sym

301   BasicSymbolRef Sym;
302 // The Sym field above points to the native symbol in the object file,
319 uint32_t AFlags = cantFail(A.Sym.getFlags());
320 if (A.Sym.getRawDataRefImpl().p)
326 uint32_t BFlags = cantFail(B.Sym.getFlags());
327 if (B.Sym.getRawDataRefImpl().p)
384 uint32_t SymFlags = cantFail(S.Sym.getFlags());
406 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl();
455 if (S.Sym.getRawDataRefImpl().p) {
456 if (MachO->getIndirectName(S.Sym.getRawDataRefImpl(), IndirectName))
520 if (S.Sym.getRawDataRefImpl().p) {
522 MachO->getSymbolSection(S.Sym.getRawDataRefImpl());
594 if (S.Sym.getRawDataRefImpl().p) {
595 if (MachO->getIndirectName(S.Sym.getRawDataRefImpl(), IndirectName))
683 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl();
721 static bool symbolIsDefined(const NMSymbol &Sym) {
722 return Sym.TypeChar != 'U' && Sym.TypeChar != 'w' && Sym.TypeChar != 'v';
822 if (S.Sym.getRawDataRefImpl().p) {
823 Expected<uint32_t> SymFlagsOrErr = S.Sym.getFlags();
897 if (S.Sym.getRawDataRefImpl().p) {
899 if (MachO->getIndirectName(S.Sym.getRawDataRefImpl(), IndirectName))
1211 static unsigned getNsectInMachO(MachOObjectFile &Obj, BasicSymbolRef Sym) {
1212 DataRefImpl Symb = Sym.getRawDataRefImpl();
1246 for (BasicSymbolRef Sym : Symbols) {
1247 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags();
1259 if (Nsect && Nsect != getNsectInMachO(*MachO, Sym))
1265 S.Size = ELFSymbolRef(Sym).getSize();
1267 SymbolRef SymRef(Sym);
1275 S.TypeName = getNMTypeName(Obj, Sym);
1276 S.TypeChar = getNMSectionTagAndName(Obj, Sym, S.SectionName);
1277 if (Error E = Sym.printName(OS)) {
1285 S.Sym = Sym;
1363 // Sym effectivly to null and the rest of code in here must test for
1364 // it and not do things like Sym.getFlags() for it.
1365 S.Sym = BasicSymbolRef();
1461 // we set Sym effectivly to null and the rest of code in here must
1462 // test for it and not do things like Sym.getFlags() for it.
1463 U.Sym = BasicSymbolRef();
1523 // Sym effectivly to null and the rest of code in here must test for
1524 // it and not do things like Sym.getFlags() for it.
1525 B.Sym = BasicSymbolRef();
1582 // Sym effectivly to null and the rest of code in here must test for
1583 // it and not do things like Sym.getFlags() for it.
1584 L.Sym = BasicSymbolRef();
1645 // Sym effectivly to null and the rest of code in here must test for
1646 // it and not do things like Sym.getFlags() for it.
1647 W.Sym = BasicSymbolRef();
1720 // Sym effectivly to null and the rest of code in here must test for
1721 // it and not do things like Sym.getFlags() for it.
1722 F.Sym = BasicSymbolRef();