diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2018-06-25 05:48:04 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2018-06-25 05:48:04 +0000 |
commit | eff8f9d1783c24fc74baf1a18c7b83e59dd254ec (patch) | |
tree | 95469b62b0522c50c080b749cc5ead18ff0735ae /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 97ec62455d9256308bed7f713b4c9e2c4f35e737 (diff) | |
download | llvm-eff8f9d1783c24fc74baf1a18c7b83e59dd254ec.zip llvm-eff8f9d1783c24fc74baf1a18c7b83e59dd254ec.tar.gz llvm-eff8f9d1783c24fc74baf1a18c7b83e59dd254ec.tar.bz2 |
[CodeGen] Provide source locations for UBSan type checks when emitting constructor calls.
Differential Revision: https://reviews.llvm.org/D48531
llvm-svn: 335445
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index d713cb4..afe199c 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2362,7 +2362,8 @@ public: void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type, bool ForVirtualBase, bool Delegating, Address This, CallArgList &Args, - AggValueSlot::Overlap_t Overlap); + AggValueSlot::Overlap_t Overlap, + SourceLocation Loc); /// Emit assumption load for all bases. Requires to be be called only on /// most-derived class and not under construction of the object. |