aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-04-04 11:06:35 +0000
committerqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-04-04 11:06:35 +0000
commita66d4b272a91524e5dce90472fdee3b38b5296f1 (patch)
tree308b3975d24e32cc6ae312bb54f0e7c607904462 /src
parentAccept version 3 .eh_frame unwinding data, as well as version 1. (diff)
downloadbreakpad-a66d4b272a91524e5dce90472fdee3b38b5296f1.tar.xz
Fixed "unused method" warning, reported by Xcode 4.2 on simulator.
Patch by tball@google.com Review URL: https://breakpad.appspot.com/371002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@948 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-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 cd0fe65b..b8aebc29 100644
--- a/src/client/ios/handler/ios_exception_minidump_generator.mm
+++ b/src/client/ios/handler/ios_exception_minidump_generator.mm
@@ -40,12 +40,14 @@ const uint32_t kExpectedFinalSp = 0;
const int kExceptionType = EXC_SOFTWARE;
const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
+#ifdef HAS_ARM_SUPPORT
// Append the given 4 bytes value to the sp position of the stack represented
// by memory.
void AppendToMemory(uint8_t *memory, uint32_t sp, uint32_t data) {
assert(sizeof(data) == 4);
memcpy(memory + sp, &data, sizeof(data));
}
+#endif
} // namespace