[Lldb-commits] [lldb] 2f95b64 - Rename posix/FileSystem.cpp to FileSystemPosix.cpp

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 15 11:48:56 PST 2019


Author: Adrian Prantl
Date: 2019-11-15T11:48:46-08:00
New Revision: 2f95b6488bfa7197cae69f511066d84e926573ab

URL: https://github.com/llvm/llvm-project/commit/2f95b6488bfa7197cae69f511066d84e926573ab
DIFF: https://github.com/llvm/llvm-project/commit/2f95b6488bfa7197cae69f511066d84e926573ab.diff

LOG: Rename posix/FileSystem.cpp to FileSystemPosix.cpp

to avoid a linker warning on Darwin about two files having the same name.

Added: 
    lldb/source/Host/posix/FileSystemPosix.cpp

Modified: 
    lldb/source/Host/CMakeLists.txt

Removed: 
    lldb/source/Host/posix/FileSystem.cpp


################################################################################
diff  --git a/lldb/source/Host/CMakeLists.txt b/lldb/source/Host/CMakeLists.txt
index aa409bf24c9b..ff849e2743dd 100644
--- a/lldb/source/Host/CMakeLists.txt
+++ b/lldb/source/Host/CMakeLists.txt
@@ -80,7 +80,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Windows")
 else()
   add_host_subdirectory(posix
     posix/DomainSocket.cpp
-    posix/FileSystem.cpp
+    posix/FileSystemPosix.cpp
     posix/HostInfoPosix.cpp
     posix/HostProcessPosix.cpp
     posix/HostThreadPosix.cpp

diff  --git a/lldb/source/Host/posix/FileSystem.cpp b/lldb/source/Host/posix/FileSystemPosix.cpp
similarity index 100%
rename from lldb/source/Host/posix/FileSystem.cpp
rename to lldb/source/Host/posix/FileSystemPosix.cpp


        


More information about the lldb-commits mailing list