about summary refs log tree commit diff
path: root/llvm_mode
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-10 22:54:31 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-10 22:54:31 +0200
commit39e8b918062ee92be03480075fedefcb7801f32a (patch)
tree507a8f27ec64e330a7ba82eda6e87006ed0517b4 /llvm_mode
parent3ab7fcf5ddcae177314488c34714155798d50c76 (diff)
downloadafl++-39e8b918062ee92be03480075fedefcb7801f32a.tar.gz
code format
Diffstat (limited to 'llvm_mode')
-rw-r--r--llvm_mode/afl-llvm-lto-instrumentation.so.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
index f387e79c..28f6bf9e 100644
--- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc
+++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
@@ -517,8 +517,9 @@ bool AFLLTOPass::runOnModule(Module &M) {
       GlobalVariable *AFLFinalLoc = new GlobalVariable(
           M, Int32Ty, true, GlobalValue::ExternalLinkage, 0, "__afl_final_loc",
           0, GlobalVariable::GeneralDynamicTLSModel, 0, false);
-      ConstantInt *const_loc = ConstantInt::get(Int32Ty, (((afl_global_id + 8) >> 3) << 3));
-      StoreInst *  StoreFinalLoc = IRB.CreateStore(const_loc, AFLFinalLoc);
+      ConstantInt *const_loc =
+          ConstantInt::get(Int32Ty, (((afl_global_id + 8) >> 3) << 3));
+      StoreInst *StoreFinalLoc = IRB.CreateStore(const_loc, AFLFinalLoc);
       StoreFinalLoc->setMetadata(M.getMDKindID("nosanitize"),
                                  MDNode::get(C, None));