about summary refs log tree commit diff
diff options
context:
space:
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 ddfcb400..1933ed8d 100644
--- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc
+++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
@@ -228,8 +228,9 @@ bool AFLLTOPass::runOnModule(Module &M) {
       // StringRef ifunc_name = IF.getName();
       // Constant *r = IF.getResolver();
       FATAL(
-          "Target uses ifunc attribute, dynamic map cannot be used, remove "
-          "AFL_LLVM_MAP_DYNAMIC");
+          "Target uses ifunc attribute for %s, fixed map cannot be used, "
+          "remove AFL_LLVM_MAP_ADDR",
+          IF.getName().str().c_str());
 
     }