diff options
author | Andrew Ng <anng.sw@gmail.com> | 2017-05-08 08:55:38 +0000 |
---|---|---|
committer | Andrew Ng <anng.sw@gmail.com> | 2017-05-08 08:55:38 +0000 |
commit | 9f9c41adecc5cf07da095246a7d1ccf3828c8c1e (patch) | |
tree | 1908827fc492102516c446817c1457869302086c /llvm/lib/Target/X86/X86LegalizerInfo.cpp | |
parent | c96a84d813925c30f516030c259fac0b4375e6e3 (diff) | |
download | bcm5719-llvm-9f9c41adecc5cf07da095246a7d1ccf3828c8c1e.tar.gz bcm5719-llvm-9f9c41adecc5cf07da095246a7d1ccf3828c8c1e.zip |
[Lit] Fix to prevent creation of "%SystemDrive%" directory on Windows.
This patch propogates the environment variable SYSTEMDRIVE on Windows when
running the unit tests. This prevents the creation of a directory named
"%SystemDrive%" when running the unit tests from FileSystemTest that use the
function llvm::sys::fs::remove_directories which in turn uses SHFileOperationW.
It is within SHFileOperationW that this environment variable may be used and if
undefined causes the creation of a "%SystemDrive%" directory in the current
directory.
Differential Revision: https://reviews.llvm.org/D32910
llvm-svn: 302409
Diffstat (limited to 'llvm/lib/Target/X86/X86LegalizerInfo.cpp')
0 files changed, 0 insertions, 0 deletions