mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
fix llvm-isel-fuzzer: LLVMFuzzerTestOneInput should never return non-zero (according to the contract)
llvm-svn: 315933
This commit is contained in:
parent
d944383901
commit
8b8004661c
@ -116,7 +116,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
||||
auto M = parseModule(Data, Size, Context);
|
||||
if (!M || verifyModule(*M, &errs())) {
|
||||
errs() << "error: input module is broken!\n";
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Set up the module to build for our target.
|
||||
|
Loading…
Reference in New Issue
Block a user