about summary refs log tree commit diff
path: root/llvm_mode/Makefile
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-02-18 14:52:28 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-02-18 14:52:28 +0100
commit706718ca2e7ef0becb32fc4548fadeb19a0f6212 (patch)
tree1f14be1bc6ee1f8385d338a8ea1efbfdc362062e /llvm_mode/Makefile
parenta971fc8f3662d3c5881d46c63682fd8a26d46dc5 (diff)
downloadafl++-706718ca2e7ef0becb32fc4548fadeb19a0f6212.tar.gz
cmplog routines llvm pass
Diffstat (limited to 'llvm_mode/Makefile')
-rw-r--r--llvm_mode/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile
index cdd89f27..579d1237 100644
--- a/llvm_mode/Makefile
+++ b/llvm_mode/Makefile
@@ -132,7 +132,7 @@ ifeq "$(TEST_MMAP)" "1"
 endif
 
 ifndef AFL_TRACE_PC
-  PROGS      = ../afl-clang-fast ../afl-llvm-cmplog-rt.o ../afl-llvm-cmplog-rt-32.o ../afl-llvm-cmplog-rt-64.o ../afl-llvm-pass.so ../libLLVMInsTrim.so ../afl-llvm-rt.o ../afl-llvm-rt-32.o ../afl-llvm-rt-64.o ../compare-transform-pass.so ../split-compares-pass.so ../split-switches-pass.so
+  PROGS      = ../afl-clang-fast ../afl-llvm-cmplog-rt.o ../afl-llvm-cmplog-rt-32.o ../afl-llvm-cmplog-rt-64.o ../afl-llvm-pass.so ../libLLVMInsTrim.so ../afl-llvm-rt.o ../afl-llvm-rt-32.o ../afl-llvm-rt-64.o ../compare-transform-pass.so ../split-compares-pass.so ../split-switches-pass.so ../cmplog-routines-pass.so
 else
   PROGS      = ../afl-clang-fast ../afl-llvm-cmplog-rt.o ../afl-llvm-cmplog-rt-32.o ../afl-llvm-cmplog-rt-64.o ../afl-llvm-rt.o ../afl-llvm-rt-32.o ../afl-llvm-rt-64.o ../compare-transform-pass.so ../split-compares-pass.so ../split-switches-pass.so
 endif
@@ -219,6 +219,9 @@ afl-common.o: ../src/afl-common.c
 	$(CXX) $(CLANG_CFL) -shared $< -o $@ $(CLANG_LFL)
 # /laf
 
+../cmplog-routines-pass.so:	cmplog-routines-pass.cc | test_deps
+	$(CXX) $(CLANG_CFL) -shared $< -o $@ $(CLANG_LFL)
+
 ../afl-llvm-rt.o: afl-llvm-rt.o.c | test_deps
 	$(CC) $(CFLAGS) -fPIC -c $< -o $@