[compiler-rt] r304673 - Mark sancov test as unsupported on Darwin

George Karpenkov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 17:53:14 PDT 2017


I’m confused, all libfuzzer tests pass on my machine.
I suspect the issue is with older Darwin versions.
In that case, can we guard against older versions specifically, rather than disabling Darwin altogether?
Also, why the error has only appeared now?
> On Jun 13, 2017, at 4:10 PM, Kostya Serebryany <kcc at google.com> wrote:
> 
> also: r305335
> 
> On Wed, Jun 7, 2017 at 10:11 PM, George Karpenkov <ekarpenkov at apple.com <mailto:ekarpenkov at apple.com>> wrote:
> Weird though, my primary testing platform is a mac… maybe a different version? I’ll take a look.
> Also section specifier did change between versions.
> 
>> On Jun 7, 2017, at 9:29 PM, Kostya Serebryany <kcc at google.com <mailto:kcc at google.com>> wrote:
>> 
>> +ekarpenkov@
>> 
>> Will it help to use shorter name for this section on Mac? 
>> 
>> --kcc 
>> 
>> On Sat, Jun 3, 2017 at 6:56 PM, Vedant Kumar via llvm-commits <llvm-commits at lists.llvm.org <mailto:llvm-commits at lists.llvm.org>> wrote:
>> Author: vedantk
>> Date: Sat Jun  3 20:56:44 2017
>> New Revision: 304673
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=304673&view=rev <http://llvm.org/viewvc/llvm-project?rev=304673&view=rev>
>> Log:
>> Mark sancov test as unsupported on Darwin
>> 
>> This test has been failing on all Darwin bots since it was introduced:
>> http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/32111 <http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/32111>
>> 
>> fatal error: error in backend: Global variable '__sancov_gen_' has an invalid section specifier '__DATA,__sancov_counters': mach-o section specifier requires a section whose length is between 1 and 16 characters.
>> Target: x86_64-apple-darwin15.6.0
>> 
>> Modified:
>>     compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc <http://counter.cc/>
>> 
>> Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc?rev=304673&r1=304672&r2=304673&view=diff <http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc?rev=304673&r1=304672&r2=304673&view=diff>
>> ==============================================================================
>> --- compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc (original)
>> +++ compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc Sat Jun  3 20:56:44 2017
>> @@ -1,7 +1,7 @@
>>  // Tests -fsanitize-coverage=inline-8bit-counters
>>  //
>>  // REQUIRES: has_sancovcc,stable-runtime
>> -// UNSUPPORTED: i386-darwin
>> +// UNSUPPORTED: i386-darwin, x86_64-darwin
>>  //
>>  // RUN: %clangxx -O0 %s -fsanitize-coverage=inline-8bit-counters 2>&1
>> 
>> 
>> 
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org <mailto:llvm-commits at lists.llvm.org>
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits>
>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/b69a8328/attachment.html>


More information about the llvm-commits mailing list