LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::MachO::GlobalRecord Class Reference

#include "llvm/TextAPI/Record.h"

Inheritance diagram for llvm::MachO::GlobalRecord:
Inheritance graph
[legend]

Public Types

enum class  Kind : uint8_t { Unknown = 0 , Variable = 1 , Function = 2 }
 

Public Member Functions

 GlobalRecord (StringRef Name, RecordLinkage Linkage, SymbolFlags Flags, Kind GV, bool Inlined)
 
bool isFunction () const
 
bool isVariable () const
 
void setKind (const Kind &V)
 
bool isInlined () const
 
- Public Member Functions inherited from llvm::MachO::Record
 Record ()=default
 
 Record (StringRef Name, RecordLinkage Linkage, SymbolFlags Flags)
 
bool isWeakDefined () const
 
bool isWeakReferenced () const
 
bool isThreadLocalValue () const
 
bool isData () const
 
bool isText () const
 
bool isInternal () const
 
bool isUndefined () const
 
bool isExported () const
 
bool isRexported () const
 
bool isVerified () const
 
void setVerify (bool V=true)
 
StringRef getName () const
 
SymbolFlags getFlags () const
 

Additional Inherited Members

- Protected Attributes inherited from llvm::MachO::Record
StringRef Name
 
RecordLinkage Linkage
 
SymbolFlags Flags
 
bool Verified
 

Detailed Description

Definition at line 119 of file Record.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Unknown 
Variable 
Function 

Definition at line 121 of file Record.h.

Constructor & Destructor Documentation

◆ GlobalRecord()

llvm::MachO::GlobalRecord::GlobalRecord ( StringRef  Name,
RecordLinkage  Linkage,
SymbolFlags  Flags,
Kind  GV,
bool  Inlined 
)
inline

Member Function Documentation

◆ isFunction()

bool llvm::MachO::GlobalRecord::isFunction ( ) const
inline

Definition at line 131 of file Record.h.

References Function.

◆ isInlined()

bool llvm::MachO::GlobalRecord::isInlined ( ) const
inline

Definition at line 137 of file Record.h.

◆ isVariable()

bool llvm::MachO::GlobalRecord::isVariable ( ) const
inline

Definition at line 132 of file Record.h.

References Variable.

◆ setKind()

void llvm::MachO::GlobalRecord::setKind ( const Kind V)
inline

Definition at line 133 of file Record.h.

References Unknown.


The documentation for this class was generated from the following file: