From 9d686ba52312a2ac03e04d1f10964705a368a165 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Thu, 5 Mar 2020 10:52:26 +0100 Subject: Add LTO collision free llvm_mode (#223) * first new implementation, only works with AFL_DONT_OPTIMIZE * bug hunting * interim commit * finalized LTO non-collision solution * update documentation * merge resulted in some problems, fixing these * added lto env to env check * fixed llvm weirdness to messes up our instrumentation due CFG rewrite optimizations * all llvm instrumentation issues have been resolved! :-) * llvm 9 is required (so far) * update lto readme --- llvm_mode/compare-transform-pass.so.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm_mode/compare-transform-pass.so.cc') diff --git a/llvm_mode/compare-transform-pass.so.cc b/llvm_mode/compare-transform-pass.so.cc index 94b256f7..b08bcb8c 100644 --- a/llvm_mode/compare-transform-pass.so.cc +++ b/llvm_mode/compare-transform-pass.so.cc @@ -25,6 +25,7 @@ #include "llvm/Config/llvm-config.h" #include "llvm/ADT/Statistic.h" +#include "llvm/IR/DebugInfo.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/IR/Module.h" -- cgit 1.4.1