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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 //! | 449 //! |
450 //! Readers can use this field to determine which other fields in the | 450 //! Readers can use this field to determine which other fields in the |
451 //! structure are valid. Upon encountering a value greater than #kVersion, a | 451 //! structure are valid. Upon encountering a value greater than #kVersion, a |
452 //! reader should assume that the structure’s layout is compatible with the | 452 //! reader should assume that the structure’s layout is compatible with the |
453 //! structure defined as having value #kVersion. | 453 //! structure defined as having value #kVersion. |
454 //! | 454 //! |
455 //! Writers may produce values less than #kVersion in this field if there is | 455 //! Writers may produce values less than #kVersion in this field if there is |
456 //! no need for any fields present in later versions. | 456 //! no need for any fields present in later versions. |
457 uint32_t version; | 457 uint32_t version; |
458 | 458 |
| 459 //! \brief A MinidumpSimpleStringDictionary pointing to strings interpreted as |
| 460 //! key-value pairs. |
| 461 //! |
| 462 //! These key-value pairs correspond to |
| 463 //! ProcessSnapshot::AnnotationsSimpleMap(). |
| 464 //! |
| 465 //! This field is present when #version is at least `1`. |
| 466 MINIDUMP_LOCATION_DESCRIPTOR simple_annotations; |
| 467 |
459 //! \brief A pointer to a #MinidumpModuleCrashpadInfoList structure. | 468 //! \brief A pointer to a #MinidumpModuleCrashpadInfoList structure. |
460 //! | 469 //! |
461 //! This field is present when #version is at least `1`. | 470 //! This field is present when #version is at least `1`. |
462 MINIDUMP_LOCATION_DESCRIPTOR module_list; | 471 MINIDUMP_LOCATION_DESCRIPTOR module_list; |
463 }; | 472 }; |
464 | 473 |
465 #if defined(COMPILER_MSVC) | 474 #if defined(COMPILER_MSVC) |
466 #pragma pack(pop) | 475 #pragma pack(pop) |
467 #endif // COMPILER_MSVC | 476 #endif // COMPILER_MSVC |
468 #undef PACKED | 477 #undef PACKED |
469 | 478 |
470 MSVC_POP_WARNING(); // C4200 | 479 MSVC_POP_WARNING(); // C4200 |
471 | 480 |
472 } // namespace crashpad | 481 } // namespace crashpad |
473 | 482 |
474 #endif // CRASHPAD_MINIDUMP_MINIDUMP_EXTENSIONS_H_ | 483 #endif // CRASHPAD_MINIDUMP_MINIDUMP_EXTENSIONS_H_ |
OLD | NEW |