mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-20 19:04:10 -04:00
Revert "Turn some C-style vararg into variadic templates"
This reverts commit r299699, the examples needs to be updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -450,8 +450,8 @@ void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI,
|
||||
/* Unreachable */ true, Weights);
|
||||
IRBuilder<> IRBFail(CheckTerm);
|
||||
// FIXME: respect -fsanitize-trap / -ftrap-function here?
|
||||
Constant *StackChkFail =
|
||||
F.getParent()->getOrInsertFunction("__stack_chk_fail", IRB.getVoidTy());
|
||||
Constant *StackChkFail = F.getParent()->getOrInsertFunction(
|
||||
"__stack_chk_fail", IRB.getVoidTy(), nullptr);
|
||||
IRBFail.CreateCall(StackChkFail, {});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user