LLVM 22.0.0git
llvm::MachO::Record Class Reference

Define Record. More...

#include "llvm/TextAPI/Record.h"

Inheritance diagram for llvm::MachO::Record:
[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 68 of file Record.h.

Constructor & Destructor Documentation

◆ Record() [1/2]

◆ Record() [2/2]

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

Definition at line 71 of file Record.h.

References Flags, Linkage, Name, and Verified.

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 88 of file Record.h.

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

◆ isExported()

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

Definition at line 98 of file Record.h.

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

◆ isInternal()

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

Definition at line 96 of file Record.h.

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

◆ isRexported()

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

Definition at line 99 of file Record.h.

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

◆ isText()

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

Definition at line 92 of file Record.h.

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

◆ isThreadLocalValue()

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

Definition at line 83 of file Record.h.

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

◆ isUndefined()

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

Definition at line 97 of file Record.h.

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

◆ isVerified()

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

Definition at line 101 of file Record.h.

References Verified.

◆ isWeakDefined()

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

Definition at line 75 of file Record.h.

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

◆ isWeakReferenced()

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

Definition at line 79 of file Record.h.

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

◆ setVerify()

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

Definition at line 102 of file Record.h.

References Verified.

◆ RecordsSlice

friend class RecordsSlice
friend

Definition at line 116 of file Record.h.

References RecordsSlice.

Referenced by RecordsSlice.

Member Data Documentation

◆ Flags

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

◆ Linkage

◆ Name

◆ Verified

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

Definition at line 114 of file Record.h.

Referenced by isVerified(), Record(), and setVerify().


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