aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-07-11 06:00:40 +0000
committerRui Ueyama <ruiu@google.com>2019-07-11 06:00:40 +0000
commit832927bee254474e6e0746e0935a8bc6aedb9c0f (patch)
tree305eba7a17f9c59284db65e62ce15073084ce2d8
parentcc52c36bd9f0356674331b6288c571ce80064eb6 (diff)
Fix build breakage on Win32.
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@365732 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Common/Filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common/Filesystem.cpp b/Common/Filesystem.cpp
index 0b47ac7c6..c3d3f998f 100644
--- a/Common/Filesystem.cpp
+++ b/Common/Filesystem.cpp
@@ -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))