mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 12:15:52 +01:00
Submitting on bahalf of Michele Aiello.
Fix Xcode 5.1 compilation issues. Moving a couple of variable under #ifdef to avoid build warnings. R=blundell@chromium.org, mark@chromium.org Review URL: https://breakpad.appspot.com/1054002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1272 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
12528d19bd
commit
2b0db12678
@ -43,12 +43,13 @@
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
const uintptr_t kExpectedFinalFp = sizeof(uintptr_t);
|
|
||||||
const uintptr_t kExpectedFinalSp = 0;
|
|
||||||
const int kExceptionType = EXC_SOFTWARE;
|
const int kExceptionType = EXC_SOFTWARE;
|
||||||
const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
|
const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
|
||||||
|
|
||||||
#if defined(HAS_ARM_SUPPORT) || defined(HAS_ARM64_SUPPORT)
|
#if defined(HAS_ARM_SUPPORT) || defined(HAS_ARM64_SUPPORT)
|
||||||
|
const uintptr_t kExpectedFinalFp = sizeof(uintptr_t);
|
||||||
|
const uintptr_t kExpectedFinalSp = 0;
|
||||||
|
|
||||||
// Append the given value to the sp position of the stack represented
|
// Append the given value to the sp position of the stack represented
|
||||||
// by memory.
|
// by memory.
|
||||||
void AppendToMemory(uint8_t *memory, uintptr_t sp, uintptr_t data) {
|
void AppendToMemory(uint8_t *memory, uintptr_t sp, uintptr_t data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user