diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-06-30 22:08:44 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-06-30 22:08:44 +0000 |
commit | e286b0e1f2549da24e1ede64b37e636c4ae152a7 (patch) | |
tree | f9d221bae82bb075d3b013416bd79b82b5addfc8 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 4df6093ca34b36d7af85069bc9258bb2d91269a7 (diff) | |
download | llvm-e286b0e1f2549da24e1ede64b37e636c4ae152a7.zip llvm-e286b0e1f2549da24e1ede64b37e636c4ae152a7.tar.gz llvm-e286b0e1f2549da24e1ede64b37e636c4ae152a7.tar.bz2 |
Fix use-after-free.
llvm-svn: 241121
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 0dea3a8..8cf87a3 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1294,8 +1294,9 @@ public: void GenerateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk); - void GenerateVarArgsThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, - GlobalDecl GD, const ThunkInfo &Thunk); + llvm::Function *GenerateVarArgsThunk(llvm::Function *Fn, + const CGFunctionInfo &FnInfo, + GlobalDecl GD, const ThunkInfo &Thunk); void EmitCtorPrologue(const CXXConstructorDecl *CD, CXXCtorType Type, FunctionArgList &Args); |