[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-07 Thread Rainer Orth via cfe-commits
https://github.com/rorth closed https://github.com/llvm/llvm-project/pull/65489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-07 Thread Rainer Orth via cfe-commits
https://github.com/rorth resolved https://github.com/llvm/llvm-project/pull/65489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-07 Thread Rainer Orth via cfe-commits
@@ -0,0 +1,11 @@ +/// General tests for assembler invocations on Solaris. + +/// Test that clang uses gas on Solaris. +// RUN: %clang -x assembler %s -### -c -fno-integrated-as \ rorth wrote: Sure, done. https://github.com/llvm/llvm-project/pull/65489 __

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-07 Thread Rainer Orth via cfe-commits
https://github.com/rorth updated https://github.com/llvm/llvm-project/pull/65489: >From b867ca65e585427a6d02c245d90797a08f6dfc8e Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 6 Sep 2023 16:35:27 +0200 Subject: [PATCH 1/2] [Driver] Always use gas with -fno-integrated-as on Solaris `cla

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-06 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,11 @@ +/// General tests for assembler invocations on Solaris. + +/// Test that clang uses gas on Solaris. +// RUN: %clang -x assembler %s -### -c -fno-integrated-as \ MaskRay wrote: While here, consider testing `-Wa,` as well, e.g. `-Wa,--compress-de

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-06 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/65489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-06 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/65489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-06 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-06 Thread via cfe-commits
https://github.com/rorth review_requested https://github.com/llvm/llvm-project/pull/65489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-06 Thread via cfe-commits
https://github.com/rorth created https://github.com/llvm/llvm-project/pull/65489: `clang -fno-integrated-as` doesn't currently work on Solaris: it doesn't even select between 32 and 64-bit objects. Besides, Solaris has both the native assembler (`/usr/bin/as`) and the GNU assembler (`/usr/bin

[clang] [Driver] Always use gas with -fno-integrated-as on Solaris (PR #65489)

2023-09-06 Thread via cfe-commits
https://github.com/rorth review_requested https://github.com/llvm/llvm-project/pull/65489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits