[lld] r365732 - Fix build breakage on Win32.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 23:00:40 PDT 2019
Author: ruiu
Date: Wed Jul 10 23:00:40 2019
New Revision: 365732
URL: http://llvm.org/viewvc/llvm-project?rev=365732&view=rev
Log:
Fix build breakage on Win32.
Modified:
lld/trunk/Common/Filesystem.cpp
Modified: lld/trunk/Common/Filesystem.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/Common/Filesystem.cpp?rev=365732&r1=365731&r2=365732&view=diff
==============================================================================
--- lld/trunk/Common/Filesystem.cpp (original)
+++ lld/trunk/Common/Filesystem.cpp Wed Jul 10 23:00:40 2019
@@ -41,7 +41,7 @@ using namespace lld;
void lld::unlinkAsync(StringRef path) {
// Removing a file is async on windows.
#if defined(_WIN32)
- sys::fs::remove(Path);
+ sys::fs::remove(path);
#else
if (!threadsEnabled || !sys::fs::exists(path) ||
!sys::fs::is_regular_file(path))
More information about the llvm-commits
mailing list