[Lldb-commits] [lldb] r135792 - in /lldb/trunk/source/Plugins/Process/Utility: RegisterContextDarwin_arm.cpp RegisterContextDarwin_x86_64.cpp
Peter Collingbourne
peter at pcc.me.uk
Fri Jul 22 12:13:02 PDT 2011
Author: pcc
Date: Fri Jul 22 14:13:02 2011
New Revision: 135792
URL: http://llvm.org/viewvc/llvm-project?rev=135792&view=rev
Log:
Disable compilation of RegisterContextDarwin_arm.cpp on non-Darwin platforms,
and fix RegisterContextDarwin_x86_64.cpp build
RegisterContextDarwin_arm.cpp contains too much platform specific code
to easily fix.
Modified:
lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp?rev=135792&r1=135791&r2=135792&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp Fri Jul 22 14:13:02 2011
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#if defined(__APPLE__)
+
#include "RegisterContextDarwin_arm.h"
// C Includes
@@ -1213,4 +1215,4 @@
return false;
}
-
+#endif
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp?rev=135792&r1=135791&r2=135792&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp Fri Jul 22 14:13:02 2011
@@ -9,6 +9,8 @@
// C Includes
+#include <stdarg.h>
+
// C++ Includes
// Other libraries and framework includes
#include "lldb/Core/DataBufferHeap.h"
More information about the lldb-commits
mailing list