[Lldb-commits] [lldb] r124069 - /lldb/trunk/include/lldb/API/SBTarget.h

Johnny Chen johnny.chen at apple.com
Sun Jan 23 00:11:49 PST 2011

Author: johnny
Date: Sun Jan 23 02:11:49 2011
New Revision: 124069

URL: http://llvm.org/viewvc/llvm-project?rev=124069&view=rev
Let's teach SWIG to rename the overloaded SBTarget::Launch() function which has
provision for specifying a working directory with the name LaunchWithCWD in our
target language (Python) for now.  This fixes the test suite failures due to the


Modified: lldb/trunk/include/lldb/API/SBTarget.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBTarget.h?rev=124069&r1=124068&r2=124069&view=diff
--- lldb/trunk/include/lldb/API/SBTarget.h (original)
+++ lldb/trunk/include/lldb/API/SBTarget.h Sun Jan 23 02:11:49 2011
@@ -69,6 +69,18 @@
             bool stop_at_entry,
             lldb::SBError& error);
+#ifdef SWIG
+%rename(LaunchWithCWD) Launch (char const **argv,
+                               char const **envp,
+                               const char *stdin_path,
+                               const char *stdout_path,
+                               const char *stderr_path,
+                               const char *working_directory,
+                               uint32_t launch_flags,   // See LaunchFlags
+                               bool stop_at_entry,
+                               lldb::SBError& error);
     Launch (char const **argv,
             char const **envp,

More information about the lldb-commits mailing list