aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-10-20 21:29:19 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-10-20 21:29:19 +0000
commitb453cd64a79cc7cda87fadcde8aba5fd6ca9e43d (patch)
treecde47c0f9156e040c543e7bedddd0a970ca03d5d /clang/lib/CodeGen/CodeGenFunction.h
parentf7ef3fd8109b5c7144d622b6da801ce0ba4bba69 (diff)
downloadllvm-b453cd64a79cc7cda87fadcde8aba5fd6ca9e43d.zip
llvm-b453cd64a79cc7cda87fadcde8aba5fd6ca9e43d.tar.gz
llvm-b453cd64a79cc7cda87fadcde8aba5fd6ca9e43d.tar.bz2
Implement function type checker for the undefined behavior sanitizer.
This uses function prefix data to store function type information at the function pointer. Differential Revision: http://llvm-reviews.chandlerc.com/D1338 llvm-svn: 193058
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 19c64b7..b07e903 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2073,6 +2073,7 @@ public:
llvm::Instruction **callOrInvoke = 0);
RValue EmitCall(QualType FnType, llvm::Value *Callee,
+ SourceLocation CallLoc,
ReturnValueSlot ReturnValue,
CallExpr::const_arg_iterator ArgBeg,
CallExpr::const_arg_iterator ArgEnd,