[Lldb-commits] [lldb] 06489ea - [lldb] [Host/NetBSD] Rename Host.cpp to HostNetBSD.cpp

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 17 03:43:04 PDT 2020


Author: Michał Górny
Date: 2020-03-17T11:42:39+01:00
New Revision: 06489eaa92162c6b01a767124f3fcdada99bb2f1

URL: https://github.com/llvm/llvm-project/commit/06489eaa92162c6b01a767124f3fcdada99bb2f1
DIFF: https://github.com/llvm/llvm-project/commit/06489eaa92162c6b01a767124f3fcdada99bb2f1.diff

LOG: [lldb] [Host/NetBSD] Rename Host.cpp to HostNetBSD.cpp

Rename NetBSD-specific Host.cpp to HostNetBSD.cpp to avoid basename
conflict with common/Host.cpp.

Added: 
    lldb/source/Host/netbsd/HostNetBSD.cpp

Modified: 
    lldb/source/Host/CMakeLists.txt

Removed: 
    lldb/source/Host/netbsd/Host.cpp


################################################################################
diff  --git a/lldb/source/Host/CMakeLists.txt b/lldb/source/Host/CMakeLists.txt
index ac8655f3dd88..357140432010 100644
--- a/lldb/source/Host/CMakeLists.txt
+++ b/lldb/source/Host/CMakeLists.txt
@@ -115,7 +115,7 @@ else()
 
   elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
     add_host_subdirectory(netbsd
-      netbsd/Host.cpp
+      netbsd/HostNetBSD.cpp
       netbsd/HostInfoNetBSD.cpp
       )
 

diff  --git a/lldb/source/Host/netbsd/Host.cpp b/lldb/source/Host/netbsd/HostNetBSD.cpp
similarity index 99%
rename from lldb/source/Host/netbsd/Host.cpp
rename to lldb/source/Host/netbsd/HostNetBSD.cpp
index 57f985129a61..4708fb45deed 100644
--- a/lldb/source/Host/netbsd/Host.cpp
+++ b/lldb/source/Host/netbsd/HostNetBSD.cpp
@@ -1,4 +1,4 @@
-//===-- source/Host/netbsd/Host.cpp ---------------------------------------===//
+//===-- source/Host/netbsd/HostNetBSD.cpp ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.


        


More information about the lldb-commits mailing list