diff options
author | Jake Ehrlich <jakehehrlich@google.com> | 2019-10-09 21:01:50 +0000 |
---|---|---|
committer | Jake Ehrlich <jakehehrlich@google.com> | 2019-10-09 21:01:50 +0000 |
commit | e7bfce78636905d58300bea42861f2f35acdda77 (patch) | |
tree | f5b712d30fed37b536b8edafc69a1aa9042a8793 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | c0da1282fc036908cc721ee74f574fbb99d5e506 (diff) | |
download | bcm5719-llvm-e7bfce78636905d58300bea42861f2f35acdda77.tar.gz bcm5719-llvm-e7bfce78636905d58300bea42861f2f35acdda77.zip |
[libFuzzer] Fix Alarm callback in fuchsia.
This patch adds an #if macro to skip the InFuzzingThread() comparison
for fuchsia, similar to what it is done for Windows and NetBSD.
In fuchsia, the alarm callback runs in a separate thread[0], making it fail
the comparison InFuzzingThread(), breaking the -timeout flag.
[0]:
https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp#L323
Author: charco (aka Marco Vanotti)
Differential Revision: https://reviews.llvm.org/D68166
llvm-svn: 374228
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions