[all-commits] [llvm/llvm-project] 36b37c: [DependencyScanningFilesystem] Make sure the local...

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Tue Sep 19 18:18:36 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36b37c775c285bbff9b57630e7ea9d00b918cc91
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
    M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
    A clang/test/ClangScanDeps/relative-filenames.c

  Log Message:
  [DependencyScanningFilesystem] Make sure the local/shared cache filename lookups use only absolute paths (#66122)

Previously a relative path would be used as a key for cache lookup and
if the same relative path was used from another compiler invocation with
a different working directory then the first cache entry was erroneously

More information about the All-commits mailing list