fix LLVM version check

This commit is contained in:
van Hauser
2020-08-12 13:28:31 +02:00
parent e9b3da5d96
commit c25479264d
2 changed files with 10 additions and 7 deletions

View File

@ -42,6 +42,8 @@
#include <sys/wait.h>
#include <sys/types.h>
#include "llvm/Config/llvm-config.h"
#ifdef __linux__
#include "snapshot-inl.h"
#endif
@ -903,7 +905,8 @@ void __sanitizer_cov_trace_pc_guard(uint32_t *guard) {
}
*/
#if LLVM_VERSION_MAJOR < 9
#if (LLVM_VERSION_MAJOR < 9)
__afl_area_ptr[*guard]++;