[Lldb-commits] [PATCH 2/4] Host::LaunchProcess in linux

Marco Minutoli mminutoli at gmail.com
Mon Apr 18 06:20:45 PDT 2011


LaunchProcess is declared as a pure virtual and linux is missing its
implementation ATM.

This patch gives a "fake" implementation (waiting for a real one) to
solve the compilation breakage issue due to its lack.
---
 source/Host/linux/Host.cpp |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/source/Host/linux/Host.cpp b/source/Host/linux/Host.cpp
index b0d43e8..3498698 100644
--- a/source/Host/linux/Host.cpp
+++ b/source/Host/linux/Host.cpp
@@ -14,6 +14,7 @@
 // C++ Includes
 // Other libraries and framework includes
 // Project includes
+#include "lldb/Core/Error.h"
 #include "lldb/Host/Host.h"
 
 using namespace lldb;
@@ -33,3 +34,11 @@ Host::GetOSVersion(uint32_t &major,
     status = sscanf(un.release, "%u.%u.%u", &major, &minor, &update);
      return status == 3;
 }
+
+Error
+Host::LaunchProcess (ProcessLaunchInfo &launch_info)
+{
+    Error error;
+    assert(!"Not implemented yet!");
+    return error;
+}
-- 
1.7.1




More information about the lldb-commits mailing list