OLD | NEW |
1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 #if EXC_TYPES_COUNT > 13 // Definition varies with SDK | 55 #if EXC_TYPES_COUNT > 13 // Definition varies with SDK |
56 #error Update this file for new exception types | 56 #error Update this file for new exception types |
57 #elif EXC_TYPES_COUNT != 13 | 57 #elif EXC_TYPES_COUNT != 13 |
58 #undef EXC_TYPES_COUNT | 58 #undef EXC_TYPES_COUNT |
59 #define EXC_TYPES_COUNT 13 | 59 #define EXC_TYPES_COUNT 13 |
60 #endif | 60 #endif |
61 | 61 |
62 // <mach/i386/thread_status.h> | 62 // <mach/i386/thread_status.h> |
63 | 63 |
64 // 10.6 SDK | |
65 | |
66 #ifndef x86_AVX_STATE32 | |
67 #define x86_AVX_STATE32 16 | |
68 #endif | |
69 | |
70 #ifndef x86_AVX_STATE64 | |
71 #define x86_AVX_STATE64 17 | |
72 #endif | |
73 | |
74 // 10.8 SDK | 64 // 10.8 SDK |
75 | 65 |
76 #ifndef x86_AVX_STATE | 66 #ifndef x86_AVX_STATE |
77 #define x86_AVX_STATE 18 | 67 #define x86_AVX_STATE 18 |
78 #endif | 68 #endif |
79 | 69 |
80 #endif // defined(__i386__) || defined(__x86_64__) | 70 #endif // defined(__i386__) || defined(__x86_64__) |
81 | 71 |
82 // <mach/thread_status.h> | 72 // <mach/thread_status.h> |
83 | 73 |
84 // 10.8 SDK | 74 // 10.8 SDK |
85 | 75 |
86 #ifndef THREAD_STATE_FLAVOR_LIST_10_9 | 76 #ifndef THREAD_STATE_FLAVOR_LIST_10_9 |
87 #define THREAD_STATE_FLAVOR_LIST_10_9 129 | 77 #define THREAD_STATE_FLAVOR_LIST_10_9 129 |
88 #endif | 78 #endif |
89 | 79 |
90 #endif // CRASHPAD_COMPAT_MAC_MACH_MACH_H_ | 80 #endif // CRASHPAD_COMPAT_MAC_MACH_MACH_H_ |
OLD | NEW |