LLVM 20.0.0git
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
Symbol.h File Reference
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TextAPI/ArchitectureSet.h"
#include "llvm/TextAPI/Target.h"

Go to the source code of this file.

Classes

class  llvm::MachO::Symbol
 
struct  llvm::MachO::SimpleSymbol
 Lightweight struct for passing around symbol information. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::MachO
 

Typedefs

using llvm::MachO::TargetList = SmallVector< Target, 5 >
 

Enumerations

enum class  llvm::MachO::SymbolFlags : uint8_t {
  llvm::MachO::None = 0 , llvm::MachO::ThreadLocalValue = 1U << 0 , llvm::MachO::WeakDefined = 1U << 1 , llvm::MachO::WeakReferenced = 1U << 2 ,
  llvm::MachO::Undefined = 1U << 3 , llvm::MachO::Rexported = 1U << 4 , llvm::MachO::Data = 1U << 5 , llvm::MachO::Text = 1U << 6 ,
  llvm::MachO::LLVM_MARK_AS_BITMASK_ENUM =(Text)
}
 Symbol flags. More...
 
enum class  llvm::MachO::EncodeKind : uint8_t { llvm::MachO::GlobalSymbol , llvm::MachO::ObjectiveCClass , llvm::MachO::ObjectiveCClassEHType , llvm::MachO::ObjectiveCInstanceVariable }
 Mapping of entry types in TextStubs. More...
 
enum class  llvm::MachO::ObjCIFSymbolKind : uint8_t {
  llvm::MachO::None = 0 , llvm::MachO::Class = 1U << 0 , llvm::MachO::MetaClass = 1U << 1 , llvm::MachO::EHType = 1U << 2 ,
  llvm::MachO::LLVM_MARK_AS_BITMASK_ENUM =(EHType)
}
 ObjC Interface symbol mappings. More...
 

Functions

template<typename C >
C::iterator llvm::MachO::addEntry (C &Container, const Target &Targ)
 
SimpleSymbol llvm::MachO::parseSymbol (StringRef SymName)
 Get symbol classification by parsing the name of a symbol.
 

Variables

constexpr StringLiteral llvm::MachO::ObjC1ClassNamePrefix = ".objc_class_name_"
 
constexpr StringLiteral llvm::MachO::ObjC2ClassNamePrefix = "_OBJC_CLASS_$_"
 
constexpr StringLiteral llvm::MachO::ObjC2MetaClassNamePrefix = "_OBJC_METACLASS_$_"
 
constexpr StringLiteral llvm::MachO::ObjC2EHTypePrefix = "_OBJC_EHTYPE_$_"
 
constexpr StringLiteral llvm::MachO::ObjC2IVarPrefix = "_OBJC_IVAR_$_"