Build fix for systems that do not support NT_X86_XSTATE ptrace support.

Patch by Ashok Thirumurthi.

llvm-svn: 180581
This commit is contained in:
Matt Kopec 2013-04-25 23:00:45 +00:00
parent 73e244a49f
commit f92bca3b36
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@
using namespace lldb_private;
using namespace lldb;
// Support ptrace extensions even when compiled without required kernel support
#ifndef NT_X86_XSTATE
#define NT_X86_XSTATE 0x202
#endif
// Internal codes for all x86_64 registers.
enum
{