| OLD | NEW |
| 1 // Copyright 2015 The Crashpad Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CRASHPAD_UTIL_MISC_PDB_STRUCTURES_H_ | 15 #ifndef CRASHPAD_UTIL_MISC_PDB_STRUCTURES_H_ |
| 16 #define CRASHPAD_UTIL_MISC_PDB_STRUCTURES_H_ | 16 #define CRASHPAD_UTIL_MISC_PDB_STRUCTURES_H_ |
| 17 | 17 |
| 18 #include <stdint.h> |
| 19 |
| 18 #include "util/misc/uuid.h" | 20 #include "util/misc/uuid.h" |
| 19 | 21 |
| 20 namespace crashpad { | 22 namespace crashpad { |
| 21 | 23 |
| 22 //! \brief A CodeView record linking to a `.pdb` 2.0 file. | 24 //! \brief A CodeView record linking to a `.pdb` 2.0 file. |
| 23 //! | 25 //! |
| 24 //! This format provides an indirect link to debugging data by referencing an | 26 //! This format provides an indirect link to debugging data by referencing an |
| 25 //! external `.pdb` file by its name, timestamp, and age. This structure may be | 27 //! external `.pdb` file by its name, timestamp, and age. This structure may be |
| 26 //! pointed to by MINIDUMP_MODULE::CvRecord. It has been superseded by | 28 //! pointed to by MINIDUMP_MODULE::CvRecord. It has been superseded by |
| 27 //! CodeViewRecordPDB70. | 29 //! CodeViewRecordPDB70. |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 //! | 124 //! |
| 123 //! This is a NUL-terminated string. On Windows, it will be encoded in the | 125 //! This is a NUL-terminated string. On Windows, it will be encoded in the |
| 124 //! code page of the system that linked the module. On other operating | 126 //! code page of the system that linked the module. On other operating |
| 125 //! systems, UTF-8 may be used. | 127 //! systems, UTF-8 may be used. |
| 126 uint8_t pdb_name[1]; | 128 uint8_t pdb_name[1]; |
| 127 }; | 129 }; |
| 128 | 130 |
| 129 } // namespace crashpad | 131 } // namespace crashpad |
| 130 | 132 |
| 131 #endif // CRASHPAD_UTIL_MISC_PDB_STRUCTURES_H_ | 133 #endif // CRASHPAD_UTIL_MISC_PDB_STRUCTURES_H_ |
| OLD | NEW |