diff options
author | vanhauser-thc <vh@thc.org> | 2021-07-19 10:58:19 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-07-19 10:58:19 +0200 |
commit | 32a0d6ac31554a47dca591f8978982758fb87677 (patch) | |
tree | be2ffd03f136dbecd408c73e4bc250ae249a4180 /instrumentation/afl-llvm-pass.so.cc | |
parent | 815161827689c339d335233b7b232ac9b120b79b (diff) | |
download | afl++-32a0d6ac31554a47dca591f8978982758fb87677.tar.gz |
Revert "Merge branch 'release' into stable"
This reverts commit 815161827689c339d335233b7b232ac9b120b79b, reversing changes made to 9321a24e682b5c8bf6278961bd014cb883b87295.
Diffstat (limited to 'instrumentation/afl-llvm-pass.so.cc')
-rw-r--r-- | instrumentation/afl-llvm-pass.so.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-pass.so.cc b/instrumentation/afl-llvm-pass.so.cc index b673d815..ecf28f31 100644 --- a/instrumentation/afl-llvm-pass.so.cc +++ b/instrumentation/afl-llvm-pass.so.cc @@ -676,9 +676,12 @@ bool AFLCoverage::runOnModule(Module &M) { todo.push_back(MapPtrIdx); } else { - + */ IRB.CreateAtomicRMW(llvm::AtomicRMWInst::BinOp::Add, MapPtrIdx, One, +#if LLVM_VERSION_MAJOR >= 13 + llvm::MaybeAlign(1), +#endif llvm::AtomicOrdering::Monotonic); /* |