[PATCH] D68953: Enable most VFS tests on Windows

Adrian McCarthy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 11:58:57 PDT 2019


amccarth created this revision.
amccarth added a reviewer: rnk.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Inconsistencies in when/if paths are cannoicalized prevented VFS tests from working on Windows.  This fixes the primary cause and enables most of the tests (15/20).

Remaining VFS tests are still XFAILed on Windows because there are additional causes in some code paths.  I plan to diagnose and correct those in a future patch.


https://reviews.llvm.org/D68953

Files:
  clang/lib/Lex/HeaderSearch.cpp
  clang/test/VFS/external-names.c
  clang/test/VFS/framework-import.m
  clang/test/VFS/implicit-include.c
  clang/test/VFS/include-mixed-real-and-virtual.c
  clang/test/VFS/include-real-from-virtual.c
  clang/test/VFS/include-virtual-from-real.c
  clang/test/VFS/include.c
  clang/test/VFS/incomplete-umbrella.m
  clang/test/VFS/module-import.m
  clang/test/VFS/real-path-found-first.m
  clang/test/VFS/relative-path.c
  clang/test/VFS/umbrella-framework-import-skipnonexist.m
  llvm/lib/Support/VirtualFileSystem.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68953.224887.patch
Type: text/x-patch
Size: 10167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191014/af8fcece/attachment.bin>


More information about the llvm-commits mailing list