mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
more llvm 10.0.0 fixes
This commit is contained in:
parent
80401940e3
commit
26d78ce2ec
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user