diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 | 
| commit | 71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch) | |
| tree | 5343938942df402b49ec7300a1c25a2d4ccd5821 /lib/CodeGen/SafeStack.cpp | |
| parent | 31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/SafeStack.cpp')
| -rw-r--r-- | lib/CodeGen/SafeStack.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SafeStack.cpp b/lib/CodeGen/SafeStack.cpp index 2b82df293c14..fa68411284e7 100644 --- a/lib/CodeGen/SafeStack.cpp +++ b/lib/CodeGen/SafeStack.cpp @@ -451,7 +451,7 @@ void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI,    IRBuilder<> IRBFail(CheckTerm);    // FIXME: respect -fsanitize-trap / -ftrap-function here?    Constant *StackChkFail = F.getParent()->getOrInsertFunction( -      "__stack_chk_fail", IRB.getVoidTy(), nullptr); +      "__stack_chk_fail", IRB.getVoidTy());    IRBFail.CreateCall(StackChkFail, {});  }  | 
