summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-07-22 19:13:02 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-07-22 19:13:02 +0000
commita67dd8fcccd0a819e077032052e1f1e16df261a8 (patch)
treee1085aa2ed8f4e9ffcf0a854f94a9cfa61fd1c84 /lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
parent027ab7e5129db9c5c90ff5375f16658b4cee0a7d (diff)
downloadbcm5719-llvm-a67dd8fcccd0a819e077032052e1f1e16df261a8.tar.gz
bcm5719-llvm-a67dd8fcccd0a819e077032052e1f1e16df261a8.zip
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. llvm-svn: 135792
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
index 47418a1c587..d72ec6733b4 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#if defined(__APPLE__)
+
#include "RegisterContextDarwin_arm.h"
// C Includes
@@ -1213,4 +1215,4 @@ RegisterContextDarwin_arm::ClearHardwareWatchpoint (uint32_t hw_index)
return false;
}
-
+#endif
OpenPOWER on IntegriCloud