diff options
author | Kostya Serebryany <kcc@google.com> | 2017-10-14 00:07:11 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2017-10-14 00:07:11 +0000 |
commit | fc3079963f382465c9d1c540ac7beef7d94cc2b0 (patch) | |
tree | 9933e0fac60ec620a3b3b9eb6d362bafc99c35bc /compiler-rt/lib/fuzzer/FuzzerTracePC.cpp | |
parent | 4fb209ede2dbffa8b3b919f502db4762facf002e (diff) | |
download | bcm5719-llvm-fc3079963f382465c9d1c540ac7beef7d94cc2b0.tar.gz bcm5719-llvm-fc3079963f382465c9d1c540ac7beef7d94cc2b0.zip |
[libFuzzer] print a better warning if we hit the ld bug
llvm-svn: 315778
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerTracePC.cpp')
-rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerTracePC.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp b/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp index 78f0d41715b..5e9f9f2f6dc 100644 --- a/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp +++ b/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp @@ -124,9 +124,11 @@ void TracePC::PrintModuleInfo() { if ((NumGuards && NumGuards != NumPCsInPCTables) || (NumInline8bitCounters && NumInline8bitCounters != NumPCsInPCTables)) { - Printf("ERROR: The size of coverage PC tables does not match the" - " number of instrumented PCs. This might be a bug in the compiler," - " please contact the libFuzzer developers.\n"); + Printf("ERROR: The size of coverage PC tables does not match the\n" + "number of instrumented PCs. This might be a compiler bug,\n" + "please contact the libFuzzer developers.\n" + "Also check https://bugs.llvm.org/show_bug.cgi?id=34636\n" + "for possible workarounds (tl;dr: don't use the old GNU ld)\n"); _Exit(1); } } |