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, |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 149 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
150 return annotations_simple_map_; | 150 return annotations_simple_map_; |
151 } | 151 } |
152 | 152 |
153 const SystemSnapshot* ProcessSnapshotMinidump::System() const { | 153 const SystemSnapshot* ProcessSnapshotMinidump::System() const { |
154 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 154 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
155 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 | 155 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 |
156 return nullptr; | 156 return nullptr; |
157 } | 157 } |
158 | 158 |
| 159 const MemorySnapshot* ProcessSnapshotMinidump::Peb() const { |
| 160 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
| 161 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 |
| 162 return nullptr; |
| 163 } |
| 164 |
159 std::vector<const ThreadSnapshot*> ProcessSnapshotMinidump::Threads() const { | 165 std::vector<const ThreadSnapshot*> ProcessSnapshotMinidump::Threads() const { |
160 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 166 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
161 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 | 167 NOTREACHED(); // https://code.google.com/p/crashpad/issues/detail?id=10 |
162 return std::vector<const ThreadSnapshot*>(); | 168 return std::vector<const ThreadSnapshot*>(); |
163 } | 169 } |
164 | 170 |
165 std::vector<const ModuleSnapshot*> ProcessSnapshotMinidump::Modules() const { | 171 std::vector<const ModuleSnapshot*> ProcessSnapshotMinidump::Modules() const { |
166 INITIALIZATION_STATE_DCHECK_VALID(initialized_); | 172 INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
167 std::vector<const ModuleSnapshot*> modules; | 173 std::vector<const ModuleSnapshot*> modules; |
168 for (internal::ModuleSnapshotMinidump* module : modules_) { | 174 for (internal::ModuleSnapshotMinidump* module : modules_) { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 << "duplicate module_crashpad_info_list minidump_module_list_index " | 323 << "duplicate module_crashpad_info_list minidump_module_list_index " |
318 << minidump_link.minidump_module_list_index; | 324 << minidump_link.minidump_module_list_index; |
319 return false; | 325 return false; |
320 } | 326 } |
321 } | 327 } |
322 | 328 |
323 return true; | 329 return true; |
324 } | 330 } |
325 | 331 |
326 } // namespace crashpad | 332 } // namespace crashpad |
OLD | NEW |