From b4a68625ecc9fbb1121c1335dcdcb4700610e599 Mon Sep 17 00:00:00 2001 From: Hiroshi Yamauchi Date: Mon, 18 Aug 2025 10:33:30 -0700 Subject: [PATCH] Test --- README.md | 1 + clang/test/ClangScanDeps/modules-availability-check.c | 1 + llvm/lib/CAS/FileSystemCache.cpp | 3 +++ 3 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 390fda0b08a34..57e525fde3837 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + # Swift's fork of llvm-project This is Swift's fork of llvm-project. For more information on Swift's diff --git a/clang/test/ClangScanDeps/modules-availability-check.c b/clang/test/ClangScanDeps/modules-availability-check.c index 0dc31c1d6519f..7bf932116c66b 100644 --- a/clang/test/ClangScanDeps/modules-availability-check.c +++ b/clang/test/ClangScanDeps/modules-availability-check.c @@ -13,6 +13,7 @@ // RUN: %deps-to-rsp %t/deps.json --module-name=mod > %t/mod.rsp // RUN: %deps-to-rsp %t/deps.json --tu-index 0 > %t/tu.rsp // RUN: not %clang @%t/mod.rsp 2>&1 | FileCheck %s +// RUN: false // CHECK: error: 'fUnavail' is unavailable diff --git a/llvm/lib/CAS/FileSystemCache.cpp b/llvm/lib/CAS/FileSystemCache.cpp index 42c06694bdb9b..8f6c751beef08 100644 --- a/llvm/lib/CAS/FileSystemCache.cpp +++ b/llvm/lib/CAS/FileSystemCache.cpp @@ -105,6 +105,9 @@ static DirectoryEntry &makeLazyEntry( DirectoryEntry &Parent, FileSystemCache::Directory &D, StringRef TreePath, DirectoryEntry::EntryKind Kind, std::optional Ref, sys::path::Style PathStyle) { + llvm::dbgs() << "makeLazyEntry\n"; + llvm::dbgs() << "TreePath " << TreePath << "\n"; + llvm::dbgs() << "Parent.getTreePath() " << Parent.getTreePath() << "\n"; assert(sys::path::parent_path(TreePath, PathStyle) == Parent.getTreePath()); assert(!D.lookup(sys::path::filename(TreePath, PathStyle))); assert(!D.isComplete());