[llvm] r344206 - [MC][ELF] Fix section_mergeable_size.ll

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 10:27:06 PDT 2018


This test is still failing on macOS:
LLVM ERROR: Global variable 'a' has an invalid section specifier
'.init.rodata': mach-o section specifier requires a segment and section
separated by a comma.


On Wed, Oct 10, 2018 at 6:10 PM Fangrui Song via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: maskray
> Date: Wed Oct 10 17:08:59 2018
> New Revision: 344206
>
> URL: http://llvm.org/viewvc/llvm-project?rev=344206&view=rev
> Log:
> [MC][ELF] Fix section_mergeable_size.ll
>
> Some targets use %progbits instead of @progbits.
>
> Updating that check with a {{[@%]}}progbits regex to make those bots happy.
>
> Modified:
>     llvm/trunk/test/CodeGen/Generic/section_mergeable_size.ll
>
> Modified: llvm/trunk/test/CodeGen/Generic/section_mergeable_size.ll
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/section_mergeable_size.ll?rev=344206&r1=344205&r2=344206&view=diff
>
> ==============================================================================
> --- llvm/trunk/test/CodeGen/Generic/section_mergeable_size.ll (original)
> +++ llvm/trunk/test/CodeGen/Generic/section_mergeable_size.ll Wed Oct 10
> 17:08:59 2018
> @@ -1,3 +1,3 @@
>  ; RUN: llc < %s | FileCheck %s
>  @a = internal unnamed_addr constant [1 x [1 x i32]] zeroinitializer,
> section ".init.rodata", align 4
> -; CHECK: .init.rodata,"aM", at progbits,4
> +; CHECK: .init.rodata,"aM",{{[@%]}}progbits,4
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> 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/20181011/082ace0c/attachment.html>


More information about the llvm-commits mailing list