Fix a typo.
Found with PVS-Studio here: http://www.viva64.com/en/b/0446/ llvm-svn: 285652
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user