diff options
author | van Hauser <vh@thc.org> | 2020-11-02 17:21:07 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-11-02 17:21:07 +0100 |
commit | 26d78ce2eca33d58e1195b5e733c850496c57cec (patch) | |
tree | 9cdb66f46ad2095d818a75b59c743f6a0d90a0ef | |
parent | 80401940e3d522c853c0a46b71744ad3baf43d24 (diff) | |
download | afl++-26d78ce2eca33d58e1195b5e733c850496c57cec.tar.gz |
more llvm 10.0.0 fixes
-rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index b25c34d0..934db3de 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -916,7 +916,7 @@ GlobalVariable *ModuleSanitizerCoverage::CreateFunctionLocalArrayInSection( #if LLVM_MAJOR > 10 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0) Array->setAlignment(Align(DL->getTypeStoreSize(Ty).getFixedSize())); #else - Array->setAlignment(8); // cheating + Array->setAlignment(Align(4)); // cheating #endif GlobalsToAppendToUsed.push_back(Array); GlobalsToAppendToCompilerUsed.push_back(Array); |