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 25 matching lines...) Expand all Loading... |
36 // provided because dyld_all_image_infos structs are singletons in a process and | 36 // provided because dyld_all_image_infos structs are singletons in a process and |
37 // are never present in arrays, so the functionality is unnecessary. | 37 // are never present in arrays, so the functionality is unnecessary. |
38 | 38 |
39 #if !defined(PROCESS_TYPE_STRUCT_IMPLEMENT_INTERNAL_READ_INTO) && \ | 39 #if !defined(PROCESS_TYPE_STRUCT_IMPLEMENT_INTERNAL_READ_INTO) && \ |
40 !defined(PROCESS_TYPE_STRUCT_IMPLEMENT_ARRAY) | 40 !defined(PROCESS_TYPE_STRUCT_IMPLEMENT_ARRAY) |
41 | 41 |
42 PROCESS_TYPE_STRUCT_BEGIN(crashreporter_annotations_t) | 42 PROCESS_TYPE_STRUCT_BEGIN(crashreporter_annotations_t) |
43 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, version) // unsigned long | 43 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, version) // unsigned long |
44 PROCESS_TYPE_STRUCT_VERSIONED(crashreporter_annotations_t, version) | 44 PROCESS_TYPE_STRUCT_VERSIONED(crashreporter_annotations_t, version) |
45 | 45 |
46 // Version 4 (Mac OS X 10.7) | 46 // Version 4 (OS X 10.7) |
47 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, message) // char* | 47 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, message) // char* |
48 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, signature_string) // char* | 48 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, signature_string) // char* |
49 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, backtrace) // char* | 49 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, backtrace) // char* |
50 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, message2) // char* | 50 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, message2) // char* |
51 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, thread) | 51 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, thread) |
52 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, dialog_mode) // unsigned int | 52 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, dialog_mode) // unsigned int |
53 | 53 |
54 // Version 5 (OS X 10.11) | 54 // Version 5 (OS X 10.11) |
55 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, unknown_0) | 55 PROCESS_TYPE_STRUCT_MEMBER(uint64_t, unknown_0) |
56 PROCESS_TYPE_STRUCT_END(crashreporter_annotations_t) | 56 PROCESS_TYPE_STRUCT_END(crashreporter_annotations_t) |
57 | 57 |
58 #endif // ! PROCESS_TYPE_STRUCT_IMPLEMENT_INTERNAL_READ_INTO && | 58 #endif // ! PROCESS_TYPE_STRUCT_IMPLEMENT_INTERNAL_READ_INTO && |
59 // ! PROCESS_TYPE_STRUCT_IMPLEMENT_ARRAY | 59 // ! PROCESS_TYPE_STRUCT_IMPLEMENT_ARRAY |
OLD | NEW |