diff options
| author | van Hauser <vh@thc.org> | 2020-04-02 15:38:32 +0200 |
|---|---|---|
| committer | van Hauser <vh@thc.org> | 2020-04-02 15:38:32 +0200 |
| commit | 26e45e41ed05431341a3c017db649ffa8fee38ef (patch) | |
| tree | de18f1742a8c8e5e69b6826a8277af8de701ccf2 | |
| parent | 38b14c5c4495e6ab2a4e25642b5c9aa368a724cc (diff) | |
| download | afl++-26e45e41ed05431341a3c017db649ffa8fee38ef.tar.gz | |
remove MaybeAlign
| -rw-r--r-- | llvm_mode/afl-llvm-lto-instrumentation.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc index 89bedb8c..4bc16f17 100644 --- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc +++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc @@ -378,7 +378,7 @@ bool AFLLTOPass::runOnModule(Module &M) { M, Int32Ty, true, GlobalValue::ExternalLinkage, 0, "__afl_final_loc", 0, GlobalVariable::GeneralDynamicTLSModel, 0, false); ConstantInt *const_loc = ConstantInt::get(Int32Ty, afl_global_id); - AFLFinalLoc->setAlignment(MaybeAlign(4)); + AFLFinalLoc->setAlignment(4); AFLFinalLoc->setInitializer(const_loc); } |
