forked from OSchip/llvm-project
Patch from David Forsythe for FreeBSD build!
llvm-svn: 136800
This commit is contained in:
parent
c5a136103b
commit
f044a1e788
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue