mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Use LLVM_BUILTIN_TRAP not __builtin_trap to appease windows builds. NFCI.
llvm-svn: 340162
This commit is contained in:
parent
63fb4fcb81
commit
f58dd8e26b
@ -42,6 +42,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
||||
std::string Input(reinterpret_cast<const char *>(Data), Size);
|
||||
Input.erase(std::remove(Input.begin(), Input.end(), 0), Input.end());
|
||||
if (!Input.empty() && llvm::yaml::isNumeric(Input) != isNumericRegex(Input))
|
||||
__builtin_trap();
|
||||
LLVM_BUILTIN_TRAP;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user