[all-commits] [llvm/llvm-project] 65c4ac: [flang][Driver] Fix lto-flags.f90 on Solaris

rorth via All-commits all-commits at lists.llvm.org
Fri Mar 24 06:25:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65c4aceb735b02c656ec76d1037d5071e1b3da5e
      https://github.com/llvm/llvm-project/commit/65c4aceb735b02c656ec76d1037d5071e1b3da5e
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M flang/test/Driver/lto-flags.f90

  Log Message:
  -----------
  [flang][Driver] Fix lto-flags.f90 on Solaris

The `Flang :: Driver/lto-flags.f90` test `FAIL`s on Solaris:

  /vol/llvm/src/llvm-project/dist/flang/test/Driver/lto-flags.f90:30:13: error: THIN-LTO: expected string not found in input
  ! THIN-LTO: "-plugin-opt=thinlto"
              ^

This is no wonder since the native Solaris `ld` doesn't support the linker
plugin interface at all, so this patch marks the test as `UNSUPPORTED`.

Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.

Differential Revision: https://reviews.llvm.org/D146807




More information about the All-commits mailing list