about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-07-14 10:05:46 +0200
committervan Hauser <vh@thc.org>2019-07-14 10:05:46 +0200
commit98a696391183274fd683383d015646ac28e64182 (patch)
tree4a8b4890bec4cd55e505c991b99336b659a50ace
parentc204efaaab59551bb325af64620626be40aae993 (diff)
downloadafl++-98a696391183274fd683383d015646ac28e64182.tar.gz
make fix
-rw-r--r--llvm_mode/Makefile2
-rw-r--r--llvm_mode/MarkNodes.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile
index a66f18ab..2947dc9b 100644
--- a/llvm_mode/Makefile
+++ b/llvm_mode/Makefile
@@ -92,7 +92,7 @@ endif
 	ln -sf afl-clang-fast ../afl-clang-fast++
 
 ../libLLVMInsTrim.so: LLVMInsTrim.so.cc MarkNodes.cc | test_deps
-	$(CXX) $(CLANG_CFL) -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=gnu++11 -shared $< -o $@ $(CLANG_LFL)
+	$(CXX) $(CLANG_CFL) -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=gnu++11 -shared $< MarkNodes.cc -o $@ $(CLANG_LFL)
 
 # laf
 ../split-switches-pass.so:	split-switches-pass.so.cc | test_deps
diff --git a/llvm_mode/MarkNodes.cc b/llvm_mode/MarkNodes.cc
index 3c2129ef..a156fccb 100644
--- a/llvm_mode/MarkNodes.cc
+++ b/llvm_mode/MarkNodes.cc
@@ -56,7 +56,7 @@ void buildCFG(Function *F) {
     Preds[ i ].clear();
   }
 
-  uint32_t FakeID = 0;
+  //uint32_t FakeID = 0;
   for (auto S = F->begin(), E = F->end(); S != E; ++S) {
     BasicBlock *BB = &*S;
     uint32_t MyID = LMap[BB];