Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: third_party/crashpad/crashpad/snapshot/mac/process_types/crashpad_info.proctype

Issue 2478633002: Update Crashpad to b47bf6c250c6b825dee1c5fbad9152c2c962e828 (Closed)
Patch Set: mac comment 2 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and 12 // See the License for the specific language governing permissions and
13 // limitations under the License. 13 // limitations under the License.
14 14
15 // The file corresponds to Crashpad’s client/crashpad_info.h. 15 // The file corresponds to Crashpad’s client/crashpad_info.h.
16 // 16 //
17 // This file is intended to be included multiple times in the same translation 17 // This file is intended to be included multiple times in the same translation
18 // unit, so #include guards are intentionally absent. 18 // unit, so #include guards are intentionally absent.
19 // 19 //
20 // This file is included by snapshot/mac/process_types.h and 20 // This file is included by snapshot/mac/process_types.h and
21 // snapshot/mac/process_types.cc to produce process type struct definitions and 21 // snapshot/mac/process_types.cc to produce process type struct definitions and
22 // accessors. 22 // accessors.
23 23
24 // Client Mach-O images will contain a __DATA,__crashpad_info section formatted 24 // Client Mach-O images will contain a __DATA,crashpad_info section formatted
25 // according to this structure. 25 // according to this structure.
26 PROCESS_TYPE_STRUCT_BEGIN(CrashpadInfo) 26 PROCESS_TYPE_STRUCT_BEGIN(CrashpadInfo)
27 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, signature) 27 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, signature)
28 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, size) 28 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, size)
29 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, version) 29 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, version)
30 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, indirectly_referenced_memory_cap) 30 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, indirectly_referenced_memory_cap)
31 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, padding_0) 31 PROCESS_TYPE_STRUCT_MEMBER(uint32_t, padding_0)
32 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, crashpad_handler_behavior) // TriState 32 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, crashpad_handler_behavior) // TriState
33 33
34 // TriState 34 // TriState
35 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, system_crash_reporter_forwarding) 35 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, system_crash_reporter_forwarding)
36 36
37 // TriState 37 // TriState
38 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, gather_indirectly_referenced_memory) 38 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, gather_indirectly_referenced_memory)
39 39
40 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, padding_1) 40 PROCESS_TYPE_STRUCT_MEMBER(uint8_t, padding_1)
41 41
42 // SimpleAddressRangeBag* 42 // SimpleAddressRangeBag*
43 PROCESS_TYPE_STRUCT_MEMBER(Pointer, extra_memory_ranges) 43 PROCESS_TYPE_STRUCT_MEMBER(Pointer, extra_memory_ranges)
44 44
45 // SimpleStringDictionary* 45 // SimpleStringDictionary*
46 PROCESS_TYPE_STRUCT_MEMBER(Pointer, simple_annotations) 46 PROCESS_TYPE_STRUCT_MEMBER(Pointer, simple_annotations)
47 47
48 // UserDataStreamListEntry* 48 // UserDataStreamListEntry*
49 PROCESS_TYPE_STRUCT_MEMBER(Pointer, user_data_minidump_stream_head) 49 PROCESS_TYPE_STRUCT_MEMBER(Pointer, user_data_minidump_stream_head)
50 PROCESS_TYPE_STRUCT_END(CrashpadInfo) 50 PROCESS_TYPE_STRUCT_END(CrashpadInfo)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698