summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis5x@gmail.com>2013-08-27 05:04:57 +0000
committerCharles Davis <cdavis5x@gmail.com>2013-08-27 05:04:57 +0000
commit510938e5283ac05b0b9fa52e0bd39695ca0f6531 (patch)
treed24d6641cc10cd002f530ffcbc285bfd26a1254d /lldb/source/Target/Process.cpp
parent237ad9741a9b70dc984a4adecd85f68510263995 (diff)
downloadbcm5719-llvm-510938e5283ac05b0b9fa52e0bd39695ca0f6531.tar.gz
bcm5719-llvm-510938e5283ac05b0b9fa52e0bd39695ca0f6531.zip
Fix some names in the wake of my Mach-O changes to LLVM.
llvm-svn: 189317
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index c93d7da965c..5c101b96d22 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -41,6 +41,10 @@
#include "lldb/Target/ThreadPlan.h"
#include "lldb/Target/ThreadPlanBase.h"
+#ifndef LLDB_DISABLE_POSIX
+#include <spawn.h>
+#endif
+
using namespace lldb;
using namespace lldb_private;
@@ -665,7 +669,7 @@ ProcessLaunchInfo::FileAction::Duplicate (int fd, int dup_fd)
#ifndef LLDB_DISABLE_POSIX
bool
-ProcessLaunchInfo::FileAction::AddPosixSpawnFileAction (posix_spawn_file_actions_t *file_actions,
+ProcessLaunchInfo::FileAction::AddPosixSpawnFileAction (void *_file_actions,
const FileAction *info,
Log *log,
Error& error)
@@ -673,6 +677,8 @@ ProcessLaunchInfo::FileAction::AddPosixSpawnFileAction (posix_spawn_file_actions
if (info == NULL)
return false;
+ posix_spawn_file_actions_t *file_actions = reinterpret_cast<posix_spawn_file_actions_t *>(_file_actions);
+
switch (info->m_action)
{
case eFileActionNone:
OpenPOWER on IntegriCloud