[all-commits] [llvm/llvm-project] b01815: [Utils] Compare true file locations instead of str...

Henrik G. Olsson via All-commits all-commits at lists.llvm.org
Thu Sep 11 15:49:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0181514b4d2a5f61ae5b405ee32643e6b8ff71b
      https://github.com/llvm/llvm-project/commit/b0181514b4d2a5f61ae5b405ee32643e6b8ff71b
  Author: Henrik G. Olsson <hnrklssn at gmail.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M llvm/utils/lit/lit/DiffUpdater.py

  Log Message:
  -----------
  [Utils] Compare true file locations instead of string paths (#158160)

Previously we compared paths by string manipulation, however Windows
paths can use both '\' and '/' as path separators, which made this
fragile. This uses the pathlib.Path.samefile API instead.



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