clang API Documentation
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. | |
| ReturnAdjustment | Return |
| The return adjustment. | |
| 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. Otherwise, null. CAUTION: In the unlikely event you need to sort ThunkInfos, consider using an ABI-specific comparator. | |
Friends | |
| bool | operator== (const ThunkInfo &LHS, const ThunkInfo &RHS) |
The this pointer adjustment as well as an optional return adjustment for a thunk.
| clang::ThunkInfo::ThunkInfo | ( | ) | [inline] |
| clang::ThunkInfo::ThunkInfo | ( | const ThisAdjustment & | This, |
| const ReturnAdjustment & | Return, | ||
| const CXXMethodDecl * | Method = nullptr |
||
| ) | [inline] |
| bool clang::ThunkInfo::isEmpty | ( | ) | const [inline] |
Definition at line 201 of file ABI.h.
References clang::ReturnAdjustment::isEmpty(), clang::ThisAdjustment::isEmpty(), Method, Return, and This.
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 188 of file ABI.h.
Referenced by dumpMicrosoftThunkAdjustment(), and isEmpty().
The return adjustment.
Definition at line 181 of file ABI.h.
Referenced by dumpMicrosoftThunkAdjustment(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(), isEmpty(), and PerformReturnAdjustment().
The this pointer adjustment.
Definition at line 178 of file ABI.h.
Referenced by dumpMicrosoftThunkAdjustment(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(), clang::CodeGen::CodeGenModule::GetAddrOfThunk(), and isEmpty().