Lines Matching refs:SymbolRef
60 static const char *getTypeStr(SymbolRef::Type Type) {
62 case SymbolRef::ST_Unknown: return "?";
63 case SymbolRef::ST_Data: return "DATA";
64 case SymbolRef::ST_Debug: return "DBG";
65 case SymbolRef::ST_File: return "FILE";
66 case SymbolRef::ST_Function: return "FUNC";
67 case SymbolRef::ST_Other: return "-";
74 if (Flags & SymbolRef::SF_Undefined)
76 if (Flags & SymbolRef::SF_Global)
78 if (Flags & SymbolRef::SF_Weak)
80 if (Flags & SymbolRef::SF_Absolute)
82 if (Flags & SymbolRef::SF_ThreadLocal)
84 if (Flags & SymbolRef::SF_Common)
86 if (Flags & SymbolRef::SF_FormatSpecific)
132 dumpSymbol(const SymbolRef &Sym, const ObjectFile *obj, bool IsDynamic) {
134 SymbolRef::Type Type;
139 checkError(Sym.getName(Name), "SymbolRef.getName() failed");
140 checkError(Sym.getAddress(Address), "SymbolRef.getAddress() failed");
141 checkError(Sym.getSize(Size), "SymbolRef.getSize() failed");
143 "SymbolRef.getFileOffset() failed");
144 checkError(Sym.getType(Type), "SymbolRef.getType() failed");
145 checkError(Sym.getFlags(Flags), "SymbolRef.getFlags() failed");
170 static void dumpStaticSymbol(const SymbolRef &Sym, const ObjectFile *obj) {
174 static void dumpDynamicSymbol(const SymbolRef &Sym, const ObjectFile *obj) {