aboutsummaryrefslogtreecommitdiff
path: root/src/client/ios
diff options
context:
space:
mode:
authorivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-12-03 22:27:01 +0000
committerivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-12-03 22:27:01 +0000
commit08ce8e35eb67c8c0ffcb6c912da9a7312bcac27b (patch)
treed3e5d67d1663992cb814b1de9bcfca1be586a9b4 /src/client/ios
parentFixing several instances of wrong printf format specifiers. (diff)
downloadbreakpad-08ce8e35eb67c8c0ffcb6c912da9a7312bcac27b.tar.xz
Fix unused method warning.
Review URL: https://breakpad.appspot.com/814002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1242 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios')
-rw-r--r--src/client/ios/handler/ios_exception_minidump_generator.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/ios/handler/ios_exception_minidump_generator.mm b/src/client/ios/handler/ios_exception_minidump_generator.mm
index d7db876b..290ac6c5 100644
--- a/src/client/ios/handler/ios_exception_minidump_generator.mm
+++ b/src/client/ios/handler/ios_exception_minidump_generator.mm
@@ -48,11 +48,13 @@ const uintptr_t kExpectedFinalSp = 0;
const int kExceptionType = EXC_SOFTWARE;
const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
+#if defined(HAS_ARM_SUPPORT) || defined(HAS_ARM64_SUPPORT)
// Append the given value to the sp position of the stack represented
// by memory.
void AppendToMemory(uint8_t *memory, uintptr_t sp, uintptr_t data) {
memcpy(memory + sp, &data, sizeof(data));
}
+#endif
} // namespace