From 832927bee254474e6e0746e0935a8bc6aedb9c0f Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 11 Jul 2019 06:00:40 +0000 Subject: Fix build breakage on Win32. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@365732 91177308-0d34-0410-b5e6-96231b3b80d8 --- Common/Filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3