LLVM 20.0.0git
|
Specialized RecordVisitor for collecting exported symbols and undefined symbols if RecordSlice being visited represents a flat-namespaced library. More...
#include "llvm/TextAPI/RecordVisitor.h"
Public Member Functions | |
SymbolConverter (SymbolSet *Symbols, const Target &T, const bool RecordUndefs=false) | |
void | visitGlobal (const GlobalRecord &) override |
void | visitObjCInterface (const ObjCInterfaceRecord &) override |
void | visitObjCCategory (const ObjCCategoryRecord &) override |
Public Member Functions inherited from llvm::MachO::RecordVisitor | |
virtual | ~RecordVisitor () |
virtual void | visitGlobal (const GlobalRecord &)=0 |
virtual void | visitObjCInterface (const ObjCInterfaceRecord &) |
virtual void | visitObjCCategory (const ObjCCategoryRecord &) |
Specialized RecordVisitor for collecting exported symbols and undefined symbols if RecordSlice being visited represents a flat-namespaced library.
Definition at line 35 of file RecordVisitor.h.
|
inline |
Definition at line 37 of file RecordVisitor.h.
|
overridevirtual |
Implements llvm::MachO::RecordVisitor.
Definition at line 30 of file RecordVisitor.cpp.
References llvm::MachO::SymbolSet::addGlobal(), llvm::MachO::Record::getFlags(), llvm::MachO::Record::getName(), llvm::MachO::GlobalSymbol, llvm::MachO::None, llvm::MachO::parseSymbol(), and shouldSkipRecord().
|
overridevirtual |
Reimplemented from llvm::MachO::RecordVisitor.
Definition at line 90 of file RecordVisitor.cpp.
References llvm::MachO::ObjCContainerRecord::getObjCIVars(), and llvm::MachO::ObjCCategoryRecord::getSuperClassName().
|
overridevirtual |
Reimplemented from llvm::MachO::RecordVisitor.
Definition at line 59 of file RecordVisitor.cpp.
References llvm::MachO::SymbolSet::addGlobal(), llvm::MachO::Class, llvm::MachO::EHType, llvm::MachO::Record::getFlags(), llvm::MachO::Record::getName(), llvm::MachO::ObjCInterfaceRecord::getObjCCategories(), llvm::MachO::ObjCContainerRecord::getObjCIVars(), llvm::MachO::GlobalSymbol, llvm::MachO::ObjCInterfaceRecord::hasExceptionAttribute(), llvm::MachO::ObjCInterfaceRecord::isCompleteInterface(), llvm::MachO::ObjCInterfaceRecord::isExportedSymbol(), llvm::MachO::MetaClass, llvm::MachO::ObjC2ClassNamePrefix, llvm::MachO::ObjC2EHTypePrefix, llvm::MachO::ObjC2MetaClassNamePrefix, llvm::MachO::ObjectiveCClass, llvm::MachO::ObjectiveCClassEHType, and shouldSkipRecord().