[lld] r311313 - [ELF] - Enable threading in many-sections.s testcase. NFC.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 7 11:33:51 PDT 2017


Can we change test/ELF/many-alloc-sections.s too?

Cheers,
Rafael

George Rimar via llvm-commits <llvm-commits at lists.llvm.org> writes:

> Author: grimar
> Date: Mon Aug 21 01:10:35 2017
> New Revision: 311313
>
> URL: http://llvm.org/viewvc/llvm-project?rev=311313&view=rev
> Log:
> [ELF] - Enable threading in many-sections.s testcase. NFC.
>
> This is PR32942, previously threading was disabled
> because slowed down this testcase a lot.
> It was fixed in r311312.
>
> Modified:
>     lld/trunk/test/ELF/many-sections.s
>
> Modified: lld/trunk/test/ELF/many-sections.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/many-sections.s?rev=311313&r1=311312&r2=311313&view=diff
> ==============================================================================
> --- lld/trunk/test/ELF/many-sections.s (original)
> +++ lld/trunk/test/ELF/many-sections.s Mon Aug 21 01:10:35 2017
> @@ -11,15 +11,12 @@
>  // CHECK-NEXT: Other: 0
>  // CHECK-NEXT: Section: dm (0xFF00)
>  
> -
> -// FIXME: threads are disable because the test is too slow with them (PR32942).
> -// RUN: ld.lld %t -o %t2 --no-threads
> +// RUN: ld.lld %t -o %t2
>  // RUN: llvm-readobj -t %t2 | FileCheck --check-prefix=LINKED %s
>  
>  // Test also with a linker script.
>  // RUN: echo "SECTIONS { . = SIZEOF_HEADERS; .text : { *(.text) } }" > %t.script
> -// FIXME: threads are disable because the test is too slow with them (PR32942).
> -// RUN: ld.lld -T %t.script %t -o %t2 --no-threads
> +// RUN: ld.lld -T %t.script %t -o %t2
>  // RUN: llvm-readobj -t %t2 | FileCheck --check-prefix=LINKED %s
>  
>  // Test that _start is in the correct section.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list