clang
3.9.0
|
The this
pointer adjustment as well as an optional return adjustment for a thunk.
More...
#include <ABI.h>
Public Member Functions | |
ThunkInfo () | |
ThunkInfo (const ThisAdjustment &This, const ReturnAdjustment &Return, const CXXMethodDecl *Method=nullptr) | |
bool | isEmpty () const |
Public Attributes | |
ThisAdjustment | This |
The this pointer adjustment. More... | |
ReturnAdjustment | Return |
The return adjustment. More... | |
const CXXMethodDecl * | Method |
Holds a pointer to the overridden method this thunk is for, if needed by the ABI to distinguish different thunks with equal adjustments. More... | |
Friends | |
bool | operator== (const ThunkInfo &LHS, const ThunkInfo &RHS) |
The this
pointer adjustment as well as an optional return adjustment for a thunk.
|
inline |
|
inline |
Definition at line 204 of file ABI.h.
References clang::ReturnAdjustment::isEmpty(), clang::ThisAdjustment::isEmpty(), Method, Return, and This.
const CXXMethodDecl* clang::ThunkInfo::Method |
Holds a pointer to the overridden method this thunk is for, if needed by the ABI to distinguish different thunks with equal adjustments.
Otherwise, null. CAUTION: In the unlikely event you need to sort ThunkInfos, consider using an ABI-specific comparator.
Definition at line 191 of file ABI.h.
Referenced by dumpMicrosoftThunkAdjustment(), and isEmpty().
ReturnAdjustment clang::ThunkInfo::Return |
The return adjustment.
Definition at line 184 of file ABI.h.
Referenced by dumpMicrosoftThunkAdjustment(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(), isEmpty(), PerformReturnAdjustment(), and setThunkProperties().
ThisAdjustment clang::ThunkInfo::This |
The this
pointer adjustment.
Definition at line 181 of file ABI.h.
Referenced by dumpMicrosoftThunkAdjustment(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(), clang::CodeGen::CodeGenModule::GetAddrOfThunk(), and isEmpty().