Patch from David Forsythe for FreeBSD build!

llvm-svn: 136800
This commit is contained in:
Johnny Chen 2011-08-03 18:55:26 +00:00
parent c5a136103b
commit f044a1e788
3 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
#if defined(__APPLE__)
#include "RegisterContextMach_arm.h"
// C Includes
@ -82,4 +84,4 @@ RegisterContextMach_arm::DoWriteDBG (lldb::tid_t tid, int flavor, const DBG &dbg
return ::thread_set_state(tid, flavor, (thread_state_t)&dbg, DBGWordCount);
}
#endif

View File

@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
#if defined(__APPLE__)
// C Includes
#include <mach/thread_act.h>
@ -68,4 +69,4 @@ RegisterContextMach_i386::DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &ex
return ::thread_set_state(tid, flavor, (thread_state_t)&exc, EXCWordCount);
}
#endif

View File

@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
#if defined(__APPLE__)
// C Includes
#include <mach/thread_act.h>
@ -68,3 +69,4 @@ RegisterContextMach_x86_64::DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &
return ::thread_set_state(tid, flavor, (thread_state_t)&exc, EXCWordCount);
}
#endif