pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lldb-git: Eliminate local patches
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Mar 21 18:46:37 2017 +0100
Changeset: e5e95e2b61ab20470a8ceffcf1d9aed548cd580b
Removed Files:
lldb-git/patches/patch-source_Plugins_Process_CMakeLists.txt
lldb-git/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h
lldb-git/patches/patch-tools_lldb-server_CMakeLists.txt
Log Message:
lldb-git: Eliminate local patches
Merged upstream:
https://reviews.llvm.org/D31192 Create instance of DynamicLoaderPOSIXDYLD on NetBSD
https://reviews.llvm.org/D31138 Add stub for PluginProcessNetBSD
https://reviews.llvm.org/D31146 Enable AUXV and QPassSignals in gdb-remote for NetBSD
https://reviews.llvm.org/D31132 Add NetBSD case in Entry::Type::ThreadID
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e5e95e2b61ab20470a8ceffcf1d9aed548cd580b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
.../patch-source_Plugins_Process_CMakeLists.txt | 12 -----
...ch-source_Plugins_Process_NetBSD_CMakeLists.txt | 25 ----------
..._Plugins_Process_NetBSD_NativeProcessNetBSD.cpp | 56 ----------------------
...ce_Plugins_Process_NetBSD_NativeProcessNetBSD.h | 54 ---------------------
..._Process_NetBSD_NativeRegisterContextNetBSD.cpp | 24 ----------
...ns_Process_NetBSD_NativeRegisterContextNetBSD.h | 46 ------------------
...e_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp | 26 ----------
...rce_Plugins_Process_NetBSD_NativeThreadNetBSD.h | 36 --------------
.../patches/patch-tools_lldb-server_CMakeLists.txt | 12 -----
9 files changed, 291 deletions(-)
diffs:
diff --git a/lldb-git/patches/patch-source_Plugins_Process_CMakeLists.txt b/lldb-git/patches/patch-source_Plugins_Process_CMakeLists.txt
deleted file mode 100644
index bc0f72258c..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/CMakeLists.txt.orig 2017-02-23 07:09:45.000000000 +0000
-+++ source/Plugins/Process/CMakeLists.txt
-@@ -5,6 +5,7 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "FreeB
- add_subdirectory(FreeBSD)
- add_subdirectory(POSIX)
- elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
-+ add_subdirectory(NetBSD)
- add_subdirectory(POSIX)
- elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
- add_subdirectory(Windows/Common)
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt
deleted file mode 100644
index e70de23341..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/CMakeLists.txt.orig 2017-03-20 16:10:36.196207069 +0000
-+++ source/Plugins/Process/NetBSD/CMakeLists.txt
-@@ -0,0 +1,20 @@
-+include_directories(.)
-+include_directories(../POSIX)
-+include_directories(../Utility)
-+
-+add_lldb_library(lldbPluginProcessNetBSD PLUGIN
-+ NativeProcessNetBSD.cpp
-+ NativeRegisterContextNetBSD.cpp
-+ NativeThreadNetBSD.cpp
-+
-+ LINK_LIBS
-+ lldbCore
-+ lldbHost
-+ lldbSymbol
-+ lldbTarget
-+ lldbUtility
-+ lldbPluginProcessPOSIX
-+ lldbPluginProcessUtility
-+ LINK_COMPONENTS
-+ Support
-+ )
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
deleted file mode 100644
index 66df09cfae..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp.orig 2017-03-21 14:39:27.315415766 +0000
-+++ source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
-@@ -0,0 +1,51 @@
-+//===-- NativeProcessNetBSD.cpp ------------------------------- -*- C++ -*-===//
-+//
-+// The LLVM Compiler Infrastructure
-+//
-+// This file is distributed under the University of Illinois Open Source
-+// License. See LICENSE.TXT for details.
-+//
-+//===----------------------------------------------------------------------===//
-+
-+#include "NativeProcessNetBSD.h"
-+
-+// C Includes
-+
-+// C++ Includes
-+
-+// Other libraries and framework includes
-+
-+#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
-+
-+// System includes - They have to be included after framework includes because
-+// they define some
-+// macros which collide with variable names in other modules
-+
-+using namespace lldb;
-+using namespace lldb_private;
-+using namespace lldb_private::process_netbsd;
-+using namespace llvm;
-+
-+// -----------------------------------------------------------------------------
-+// Public Static Methods
-+// -----------------------------------------------------------------------------
-+
-+Error NativeProcessProtocol::Launch(
-+ ProcessLaunchInfo &launch_info,
-+ NativeProcessProtocol::NativeDelegate &native_delegate, MainLoop &mainloop,
-+ NativeProcessProtocolSP &native_process_sp) {
-+ return Error();
-+}
-+
-+Error NativeProcessProtocol::Attach(
-+ lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate,
-+ MainLoop &mainloop, NativeProcessProtocolSP &native_process_sp) {
-+ return Error();
-+}
-+
-+// -----------------------------------------------------------------------------
-+// Public Instance Methods
-+// -----------------------------------------------------------------------------
-+
-+NativeProcessNetBSD::NativeProcessNetBSD()
-+ : NativeProcessProtocol(LLDB_INVALID_PROCESS_ID) {}
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
deleted file mode 100644
index 1ab6dab074..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/NativeProcessNetBSD.h.orig 2017-03-21 14:39:27.347835320 +0000
-+++ source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
-@@ -0,0 +1,49 @@
-+//===-- NativeProcessNetBSD.h --------------------------------- -*- C++ -*-===//
-+//
-+// The LLVM Compiler Infrastructure
-+//
-+// This file is distributed under the University of Illinois Open Source
-+// License. See LICENSE.TXT for details.
-+//
-+//===----------------------------------------------------------------------===//
-+
-+#ifndef liblldb_NativeProcessNetBSD_H_
-+#define liblldb_NativeProcessNetBSD_H_
-+
-+// C++ Includes
-+
-+// Other libraries and framework includes
-+
-+#include "lldb/Core/ArchSpec.h"
-+#include "lldb/Host/FileSpec.h"
-+#include "lldb/Target/MemoryRegionInfo.h"
-+
-+#include "NativeThreadNetBSD.h"
-+#include "lldb/Host/common/NativeProcessProtocol.h"
-+
-+namespace lldb_private {
-+namespace process_netbsd {
-+/// @class NativeProcessNetBSD
-+/// @brief Manages communication with the inferior (debugee) process.
-+///
-+/// Upon construction, this class prepares and launches an inferior process for
-+/// debugging.
-+///
-+/// Changes in the inferior process state are broadcasted.
-+class NativeProcessNetBSD : public NativeProcessProtocol {
-+ friend Error NativeProcessProtocol::Launch(
-+ ProcessLaunchInfo &launch_info, NativeDelegate &native_delegate,
-+ MainLoop &mainloop, NativeProcessProtocolSP &process_sp);
-+
-+ friend Error NativeProcessProtocol::Attach(
-+ lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate,
-+ MainLoop &mainloop, NativeProcessProtocolSP &process_sp);
-+
-+private:
-+ NativeProcessNetBSD();
-+};
-+
-+} // namespace process_netbsd
-+} // namespace lldb_private
-+
-+#endif // #ifndef liblldb_NativeProcessNetBSD_H_
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
deleted file mode 100644
index 5a2b8909eb..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.cpp.orig 2017-03-21 14:39:27.380399180 +0000
-+++ source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.cpp
-@@ -0,0 +1,19 @@
-+//===-- NativeRegisterContextNetBSD.cpp -------------------------*- C++ -*-===//
-+//
-+// The LLVM Compiler Infrastructure
-+//
-+// This file is distributed under the University of Illinois Open Source
-+// License. See LICENSE.TXT for details.
-+//
-+//===----------------------------------------------------------------------===//
-+
-+#include "NativeRegisterContextNetBSD.h"
-+
-+using namespace lldb_private;
-+using namespace lldb_private::process_netbsd;
-+
-+NativeRegisterContextNetBSD::NativeRegisterContextNetBSD(
-+ NativeThreadProtocol &native_thread, uint32_t concrete_frame_idx,
-+ RegisterInfoInterface *reg_info_interface_p)
-+ : NativeRegisterContextRegisterInfo(native_thread, concrete_frame_idx,
-+ reg_info_interface_p) {}
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
deleted file mode 100644
index 59f12b785c..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
+++ /dev/null
@@ -1,46 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h.orig 2017-03-21 14:39:27.419665433 +0000
-+++ source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h
-@@ -0,0 +1,41 @@
-+//===-- NativeRegisterContextNetBSD.h ---------------------------*- C++ -*-===//
-+//
-+// The LLVM Compiler Infrastructure
-+//
-+// This file is distributed under the University of Illinois Open Source
-+// License. See LICENSE.TXT for details.
-+//
-+//===----------------------------------------------------------------------===//
-+
-+#ifndef lldb_NativeRegisterContextNetBSD_h
-+#define lldb_NativeRegisterContextNetBSD_h
-+
-+#include "lldb/Host/common/NativeRegisterContextRegisterInfo.h"
-+#include "lldb/Host/common/NativeThreadProtocol.h"
-+
-+#include "Plugins/Process/NetBSD/NativeProcessNetBSD.h"
-+
-+namespace lldb_private {
-+namespace process_netbsd {
-+
-+class NativeRegisterContextNetBSD : public NativeRegisterContextRegisterInfo {
-+public:
-+ NativeRegisterContextNetBSD(NativeThreadProtocol &native_thread,
-+ uint32_t concrete_frame_idx,
-+ RegisterInfoInterface *reg_info_interface_p);
-+
-+ // This function is implemented in the NativeRegisterContextNetBSD_*
-+ // subclasses to create a new instance of the host specific
-+ // NativeRegisterContextNetBSD. The implementations can't collide as only one
-+ // NativeRegisterContextNetBSD_* variant should be compiled into the final
-+ // executable.
-+ static NativeRegisterContextNetBSD *
-+ CreateHostNativeRegisterContextNetBSD(const ArchSpec &target_arch,
-+ NativeThreadProtocol &native_thread,
-+ uint32_t concrete_frame_idx);
-+};
-+
-+} // namespace process_netbsd
-+} // namespace lldb_private
-+
-+#endif // #ifndef lldb_NativeRegisterContextNetBSD_h
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
deleted file mode 100644
index b39fcd9e43..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp.orig 2017-03-21 14:39:27.452920481 +0000
-+++ source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp
-@@ -0,0 +1,21 @@
-+//===-- NativeThreadNetBSD.cpp -------------------------------- -*- C++ -*-===//
-+//
-+// The LLVM Compiler Infrastructure
-+//
-+// This file is distributed under the University of Illinois Open Source
-+// License. See LICENSE.TXT for details.
-+//
-+//===----------------------------------------------------------------------===//
-+
-+#include "NativeThreadNetBSD.h"
-+#include "NativeRegisterContextNetBSD.h"
-+
-+#include "NativeProcessNetBSD.h"
-+
-+using namespace lldb;
-+using namespace lldb_private;
-+using namespace lldb_private::process_netbsd;
-+
-+NativeThreadNetBSD::NativeThreadNetBSD(NativeProcessNetBSD *process,
-+ lldb::tid_t tid)
-+ : NativeThreadProtocol(process, tid) {}
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h
deleted file mode 100644
index e0cc320b83..0000000000
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/NativeThreadNetBSD.h.orig 2017-03-21 14:39:27.484287194 +0000
-+++ source/Plugins/Process/NetBSD/NativeThreadNetBSD.h
-@@ -0,0 +1,31 @@
-+//===-- NativeThreadNetBSD.h ---------------------------------- -*- C++ -*-===//
-+//
-+// The LLVM Compiler Infrastructure
-+//
-+// This file is distributed under the University of Illinois Open Source
-+// License. See LICENSE.TXT for details.
-+//
-+//===----------------------------------------------------------------------===//
-+
-+#ifndef liblldb_NativeThreadNetBSD_H_
-+#define liblldb_NativeThreadNetBSD_H_
-+
-+#include "lldb/Host/common/NativeThreadProtocol.h"
-+
-+namespace lldb_private {
-+namespace process_netbsd {
-+
-+class NativeProcessNetBSD;
-+
-+class NativeThreadNetBSD : public NativeThreadProtocol {
-+ friend class NativeProcessNetBSD;
-+
-+public:
-+ NativeThreadNetBSD(NativeProcessNetBSD *process, lldb::tid_t tid);
-+};
-+
-+typedef std::shared_ptr<NativeThreadNetBSD> NativeThreadNetBSDSP;
-+} // namespace process_netbsd
-+} // namespace lldb_private
-+
-+#endif // #ifndef liblldb_NativeThreadNetBSD_H_
diff --git a/lldb-git/patches/patch-tools_lldb-server_CMakeLists.txt b/lldb-git/patches/patch-tools_lldb-server_CMakeLists.txt
deleted file mode 100644
index 70025c050a..0000000000
--- a/lldb-git/patches/patch-tools_lldb-server_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- tools/lldb-server/CMakeLists.txt.orig 2017-02-23 07:09:45.000000000 +0000
-+++ tools/lldb-server/CMakeLists.txt
-@@ -17,6 +17,7 @@ endif ()
- if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
- include_directories(
- ../../../../llvm/include
-+ ../../source/Plugins/Process/NetBSD
- ../../source/Plugins/Process/POSIX
- )
- endif ()
Home |
Main Index |
Thread Index |
Old Index