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

Side by Side Diff: minidump/minidump_extensions.h

Issue 705153002: Add list_annotations to MinidumpModuleCrashpadInfo (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@minidump_string_list_writer
Patch Set: Rebase Created 6 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
« no previous file with comments | « no previous file | minidump/minidump_module_crashpad_info_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 uint32_t version; 367 uint32_t version;
368 368
369 //! \brief A link to a MINIDUMP_MODULE structure in the module list stream. 369 //! \brief A link to a MINIDUMP_MODULE structure in the module list stream.
370 //! 370 //!
371 //! This field is an index into MINIDUMP_MODULE_LIST::Modules. This field’s 371 //! This field is an index into MINIDUMP_MODULE_LIST::Modules. This field’s
372 //! value must be in the range of MINIDUMP_MODULE_LIST::NumberOfEntries. 372 //! value must be in the range of MINIDUMP_MODULE_LIST::NumberOfEntries.
373 //! 373 //!
374 //! This field is present when #version is at least `1`. 374 //! This field is present when #version is at least `1`.
375 uint32_t minidump_module_list_index; 375 uint32_t minidump_module_list_index;
376 376
377 //! \brief A MinidumpRVAList pointing to MinidumpUTF8String objects. The
378 //! module controls the data that appears here.
379 //!
380 //! These strings correspond to ModuleSnapshot::AnnotationsVector() and do not
381 //! duplicate anything in #simple_annotations.
382 //!
383 //! This field is present when #version is at least `1`.
384 MINIDUMP_LOCATION_DESCRIPTOR list_annotations;
385
377 //! \brief A MinidumpSimpleStringDictionary pointing to strings interpreted as 386 //! \brief A MinidumpSimpleStringDictionary pointing to strings interpreted as
378 //! key-value pairs. The module controls the data that appears here. 387 //! key-value pairs. The module controls the data that appears here.
379 //! 388 //!
389 //! These key-value pairs correspond to
390 //! ModuleSnapshot::AnnotationsSimpleMap() and do not duplicate anything in
391 //! #list_annotations.
392 //!
380 //! This field is present when #version is at least `1`. 393 //! This field is present when #version is at least `1`.
381 MINIDUMP_LOCATION_DESCRIPTOR simple_annotations; 394 MINIDUMP_LOCATION_DESCRIPTOR simple_annotations;
382 }; 395 };
383 396
384 //! \brief Additional Crashpad-specific information about modules carried within 397 //! \brief Additional Crashpad-specific information about modules carried within
385 //! a minidump file. 398 //! a minidump file.
386 //! 399 //!
387 //! This structure augments the information provided by 400 //! This structure augments the information provided by
388 //! MINIDUMP_MODULE_LIST. The minidump file must contain a module list stream 401 //! MINIDUMP_MODULE_LIST. The minidump file must contain a module list stream
389 //! (::kMinidumpStreamTypeModuleList) in order for this structure to appear. 402 //! (::kMinidumpStreamTypeModuleList) in order for this structure to appear.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 441
429 //! \brief A pointer to a #MinidumpModuleCrashpadInfoList structure. 442 //! \brief A pointer to a #MinidumpModuleCrashpadInfoList structure.
430 //! 443 //!
431 //! This field is present when #version is at least `1`. 444 //! This field is present when #version is at least `1`.
432 MINIDUMP_LOCATION_DESCRIPTOR module_list; 445 MINIDUMP_LOCATION_DESCRIPTOR module_list;
433 }; 446 };
434 447
435 } // namespace crashpad 448 } // namespace crashpad
436 449
437 #endif // CRASHPAD_MINIDUMP_MINIDUMP_EXTENSIONS_H_ 450 #endif // CRASHPAD_MINIDUMP_MINIDUMP_EXTENSIONS_H_
OLDNEW
« no previous file with comments | « no previous file | minidump/minidump_module_crashpad_info_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698