Lines Matching defs:ELFSym
34 struct ELFSym { struct
39 union {
42 } Source;
46 enum {
71 static ELFSym *getGV(const GlobalValue *GV, unsigned Bind, in getGV() argument
84 static ELFSym *getExtSym(const char *Ext) { in getExtSym() argument
95 static ELFSym *getSectionSym() { in getSectionSym() argument
105 static ELFSym *getFileSym() { in getFileSym() argument
116 static ELFSym *getUndefGV(const GlobalValue *GV, unsigned Bind) { in getUndefGV() argument
138 ELFSym() : SourceType(isOther), NameIdx(0), Value(0), in ELFSym() argument
142 unsigned getBind() const { return (Info >> 4) & 0xf; } in getBind()
143 unsigned getType() const { return Info & 0xf; } in getType()
144 bool isLocalBind() const { return getBind() == ELF::STB_LOCAL; } in isLocalBind()
145 bool isFileType() const { return getType() == ELF::STT_FILE; } in isFileType()
147 void setBind(unsigned X) { in setBind()
152 void setType(unsigned X) { in setType()
157 void setVisibility(unsigned V) { in setVisibility()