LLVM 19.0.0git
Public Member Functions | Protected Attributes | Friends | List of all members
llvm::MachO::Record Class Reference

Define Record. More...

#include "llvm/TextAPI/Record.h"

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

Public Member Functions

 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
 

Protected Attributes

StringRef Name
 
RecordLinkage Linkage
 
SymbolFlags Flags
 
bool Verified
 

Friends

class RecordsSlice
 

Detailed Description

Define Record.

They represent API's in binaries that could be linkable symbols.

Definition at line 67 of file Record.h.

Constructor & Destructor Documentation

◆ Record() [1/2]

llvm::MachO::Record::Record ( )
default

◆ Record() [2/2]

llvm::MachO::Record::Record ( StringRef  Name,
RecordLinkage  Linkage,
SymbolFlags  Flags 
)
inline

Definition at line 70 of file Record.h.

Member Function Documentation

◆ getFlags()

SymbolFlags llvm::MachO::Record::getFlags ( ) const
inline

◆ getName()

StringRef llvm::MachO::Record::getName ( ) const
inline

◆ isData()

bool llvm::MachO::Record::isData ( ) const
inline

Definition at line 87 of file Record.h.

References llvm::MachO::Data, and Flags.

◆ isExported()

bool llvm::MachO::Record::isExported ( ) const
inline

Definition at line 97 of file Record.h.

References Linkage, and llvm::MachO::Rexported.

◆ isInternal()

bool llvm::MachO::Record::isInternal ( ) const
inline

Definition at line 95 of file Record.h.

References llvm::MachO::Internal, and Linkage.

◆ isRexported()

bool llvm::MachO::Record::isRexported ( ) const
inline

Definition at line 98 of file Record.h.

References Linkage, and llvm::MachO::Rexported.

◆ isText()

bool llvm::MachO::Record::isText ( ) const
inline

Definition at line 91 of file Record.h.

References Flags, and llvm::MachO::Text.

◆ isThreadLocalValue()

bool llvm::MachO::Record::isThreadLocalValue ( ) const
inline

Definition at line 82 of file Record.h.

References Flags, and llvm::MachO::ThreadLocalValue.

◆ isUndefined()

bool llvm::MachO::Record::isUndefined ( ) const
inline

Definition at line 96 of file Record.h.

References Linkage, and llvm::MachO::Undefined.

◆ isVerified()

bool llvm::MachO::Record::isVerified ( ) const
inline

Definition at line 100 of file Record.h.

References Verified.

◆ isWeakDefined()

bool llvm::MachO::Record::isWeakDefined ( ) const
inline

Definition at line 74 of file Record.h.

References Flags, and llvm::MachO::WeakDefined.

◆ isWeakReferenced()

bool llvm::MachO::Record::isWeakReferenced ( ) const
inline

Definition at line 78 of file Record.h.

References Flags, and llvm::MachO::WeakReferenced.

◆ setVerify()

void llvm::MachO::Record::setVerify ( bool  V = true)
inline

Definition at line 101 of file Record.h.

References Verified.

Friends And Related Function Documentation

◆ RecordsSlice

friend class RecordsSlice
friend

Definition at line 115 of file Record.h.

Member Data Documentation

◆ Flags

SymbolFlags llvm::MachO::Record::Flags
protected

◆ Linkage

RecordLinkage llvm::MachO::Record::Linkage
protected

◆ Name

StringRef llvm::MachO::Record::Name
protected

◆ Verified

bool llvm::MachO::Record::Verified
protected

Definition at line 113 of file Record.h.

Referenced by isVerified(), and setVerify().


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