[all-commits] [llvm/llvm-project] e4eb8d: [llvm-rc] Continue to use Argv[0] to resolve execu...

Amy Huang via All-commits all-commits at lists.llvm.org
Mon Aug 28 14:40:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4eb8d97e8afcb879dc5cd0da7a937dbb26fbf12
      https://github.com/llvm/llvm-project/commit/e4eb8d97e8afcb879dc5cd0da7a937dbb26fbf12
  Author: Amy Huang <akhuang at google.com>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

  Changed paths:
    M llvm/tools/llvm-rc/llvm-rc.cpp

  Log Message:
  -----------
  [llvm-rc] Continue to use Argv[0] to resolve executable path

In internal google builds, MainExecPath doesn't go to the directory with `clang`.
Fall back to using Argv0 if MainExecPath doesn't find any clangs.

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




More information about the All-commits mailing list