[all-commits] [llvm/llvm-project] f11b05: [Support] Resolve symlinks in `getMainExecutable()...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Tue Dec 26 07:33:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f11b056c02cca28fe0b82ec44c59537035100e67
      https://github.com/llvm/llvm-project/commit/f11b056c02cca28fe0b82ec44c59537035100e67
  Author: Alexandre Ganea <37383324+aganea at users.noreply.github.com>
  Date:   2023-12-26 (Tue, 26 Dec 2023)

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

  Log Message:
  -----------
  [Support] Resolve symlinks in `getMainExecutable()` on Windows (#76304)

This makes the Windows implementation for `getMainExecutable()` behave
the same as its Linux counterpart, in regards to symlinks. Previously,
when using `cmake ... -DLLVM_USE_SYMLINKS=ON`, calling this function
wouldn't resolve to the "real", non-symlinked path.




More information about the All-commits mailing list