DirectXShaderCompiler/lib/MSSupport
Greg Roth 597376b4b1 [linux-port] Enhance FS interface support (#1420)
There are various points where system functions are called via
OS-specific wrappers beginning with llvm::sys::fs. As part of the
development of the HLSL shader compiler, some of the microsoft
versions were altered to call into a further abstraction via the
MSFileSystem interface. In certain cases, this allows non-existent
"included" files to be accessed with the outward appearance of being
real files. However, many of these changes were missed by the Unix
abstraction. This adds them in with the facilitator of adding a few
functions to the MSFilesystem abstraction that better match Unix
system calls.

Needed for various tests that provide fake source files to compile
and include fake headers from within HLSL code. Otherwise, these
files are not found because they are not on the filesystem.

The Unix-like methods are added because in cases where the current
filesystem abstraction just calls the system calls directly, the
windows-style accesses were cumbersome and incomplete. Tablegen
and some tests make use of these simpler implementations.
2018-07-17 12:50:42 -04:00
..
CMakeLists.txt fixes #37 - License cleanup. 2017-01-27 16:48:08 -08:00
MSFileSystemImpl.cpp [linux-port] Enhance FS interface support (#1420) 2018-07-17 12:50:42 -04:00