diff options
author | Reid Kleckner <rnk@google.com> | 2016-07-01 02:41:25 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-07-01 02:41:25 +0000 |
commit | 0358cbfc0a79074bbdb244c669edf3205d2f2c96 (patch) | |
tree | d5ade10f02bfb61b3c5e0a437a8396bf556cf4e6 /clang/lib/CodeGen/CGCXXABI.h | |
parent | b5af11dfa3474363ff04494ad6cfb18ef8d067b5 (diff) | |
download | bcm5719-llvm-0358cbfc0a79074bbdb244c669edf3205d2f2c96.tar.gz bcm5719-llvm-0358cbfc0a79074bbdb244c669edf3205d2f2c96.zip |
[DebugInfo] Set DISubprogram ThisAdjustment in the MS ABI
llvm-svn: 274326
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.h')
-rw-r--r-- | clang/lib/CodeGen/CGCXXABI.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h index 8c0f6c2efd5..9e10ec068e0 100644 --- a/clang/lib/CodeGen/CGCXXABI.h +++ b/clang/lib/CodeGen/CGCXXABI.h @@ -336,6 +336,12 @@ public: virtual void addImplicitStructorParams(CodeGenFunction &CGF, QualType &ResTy, FunctionArgList &Params) = 0; + /// Get the ABI-specific "this" parameter adjustment to apply in the prologue + /// of a virtual function. + virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { + return CharUnits::Zero(); + } + /// Perform ABI-specific "this" parameter adjustment in a virtual function /// prologue. virtual llvm::Value *adjustThisParameterInVirtualFunctionPrologue( |