struct ChainedFixupTarget
Declaration
struct ChainedFixupTarget { /* full declaration omitted */ };
Description
ChainedFixupTarget holds all the information about an external symbol necessary to bind this binary to that symbol. These values are referenced indirectly by chained fixup binds. This structure captures values from all import and symbol formats. Be aware there are two notions of weak here: WeakImport == true The associated bind may be set to 0 if this symbol is missing from its parent library. This is called a "weak import." LibOrdinal == BIND_SPECIAL_DYLIB_WEAK_LOOKUP This symbol may be coalesced with other libraries vending the same symbol. E.g., C++'s "operator new". This is called a "weak bind."
Declared at: llvm/include/llvm/Object/MachO.h:275
Member Variables
- private int LibOrdinal
- private llvm::StringRef SymbolName
- private uint64_t Addend
- private bool WeakImport
Method Overview
- public ChainedFixupTarget(int LibOrdinal, llvm::StringRef Symbol, uint64_t Addend, bool WeakImport)
- public uint64_t addend()
- public int libOrdinal()
- public llvm::StringRef symbolName()
- public bool weakBind()
- public bool weakImport()
Methods
¶ChainedFixupTarget(int LibOrdinal,
llvm::StringRef Symbol,
uint64_t Addend,
bool WeakImport)
ChainedFixupTarget(int LibOrdinal,
llvm::StringRef Symbol,
uint64_t Addend,
bool WeakImport)
Declared at: llvm/include/llvm/Object/MachO.h:277
Parameters
- int LibOrdinal
- llvm::StringRef Symbol
- uint64_t Addend
- bool WeakImport
¶uint64_t addend()
uint64_t addend()
Declared at: llvm/include/llvm/Object/MachO.h:284
¶int libOrdinal()
int libOrdinal()
Declared at: llvm/include/llvm/Object/MachO.h:282
¶llvm::StringRef symbolName()
llvm::StringRef symbolName()
Declared at: llvm/include/llvm/Object/MachO.h:283
¶bool weakBind()
bool weakBind()
Declared at: llvm/include/llvm/Object/MachO.h:286
¶bool weakImport()
bool weakImport()
Declared at: llvm/include/llvm/Object/MachO.h:285