From 1e38c10efb572efac2638366f18a1cf23acd7c2b Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 10 Aug 2020 23:48:13 +0200 Subject: [PATCH] remove warning, fix text --- llvm_mode/afl-llvm-lto-instrumentation.so.cc | 5 +++-- 1 file 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()); }