forked from OSchip/llvm-project
Fix a typo.
Found with PVS-Studio here: http://www.viva64.com/en/b/0446/ llvm-svn: 285652
This commit is contained in:
parent
b9fc4727cc
commit
1bd9fc7098
|
@ -142,7 +142,7 @@ std::pair<Function *, Function *> llvm::createSanitizerCtorAndInitFunctions(
|
|||
ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs,
|
||||
StringRef VersionCheckName) {
|
||||
assert(!InitName.empty() && "Expected init function name");
|
||||
assert(InitArgTypes.size() == InitArgTypes.size() &&
|
||||
assert(InitArgs.size() == InitArgTypes.size() &&
|
||||
"Sanitizer's init function expects different number of arguments");
|
||||
Function *Ctor = Function::Create(
|
||||
FunctionType::get(Type::getVoidTy(M.getContext()), false),
|
||||
|
|
Loading…
Reference in New Issue