[all-commits] [llvm/llvm-project] c99d61: [BOLT] Use getMainExecutable() (#126698)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Feb 12 19:41:42 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c99d6118fe0d1c323b2a978344491881197c8dee
      https://github.com/llvm/llvm-project/commit/c99d6118fe0d1c323b2a978344491881197c8dee
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M bolt/tools/driver/llvm-bolt.cpp

  Log Message:
  -----------
  [BOLT] Use getMainExecutable() (#126698)

Use LLVM's getMainExecutable() helper instead of rolling our own. This
will result in standard behavior across platforms, such as making sure
that symlinks are always resolved.

(cherry picked from commit 0abe058d7f99c9c7bbaf4ee98308c5e78d229897)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list