[PATCH] D54277: Extend VFS with function to get external path.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 14:53:56 PST 2018


JDevlieghere created this revision.
JDevlieghere added reviewers: vsapsai, erik.pilkington.
Herald added a subscriber: kristina.

In LLDB we have a bunch of ways to access the file system, including file description and FILE* pointers. Providing this abstraction at the VFS level doesn't feel worthwhile, because LLVM doesn't use FILE pointers (and we don't want to encourage this) and they wouldn't work anyway with totally in-memory file systems. Instead I propose adding a single function that can be used to get the underlying path.


Repository:
  rL LLVM

https://reviews.llvm.org/D54277

Files:
  include/llvm/Support/VirtualFileSystem.h
  lib/Support/VirtualFileSystem.cpp
  unittests/Support/VirtualFileSystemTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54277.173229.patch
Type: text/x-patch
Size: 5845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181108/72c6e5c5/attachment.bin>


More information about the llvm-commits mailing list