[all-commits] [llvm/llvm-project] 08ba87: [Support] Implement getMainExecutable on Solaris

rorth via All-commits all-commits at lists.llvm.org
Tue Sep 7 13:56:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08ba87fa4b940b676e70288cc4e528aacb14c09f
      https://github.com/llvm/llvm-project/commit/08ba87fa4b940b676e70288cc4e528aacb14c09f
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M llvm/lib/Support/Unix/Path.inc

  Log Message:
  -----------
  [Support] Implement getMainExecutable on Solaris

Many `flang` tests currently `FAIL` on Solaris because the module files
aren't found.  I could trace this to `sys::fs::getMainExecutable` not being
implemented.

This patch does this and fixes all affected `flang` tests.

Tested on `amd64-pc-solaris2.11`.

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




More information about the All-commits mailing list