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

Side by Side Diff: compat/non_win/dbghelp.h

Issue 435243002: Add MinidumpSystemInfoWriter and its test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Fix release-mode death test Created 6 years, 4 months 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 | compat/non_win/winnt.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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 //! 202 //!
203 //! This field is only valid if #VendorId identifies the CPU vendor as 203 //! This field is only valid if #VendorId identifies the CPU vendor as
204 //! “AuthenticAMD”. 204 //! “AuthenticAMD”.
205 uint32_t AMDExtendedCpuFeatures; 205 uint32_t AMDExtendedCpuFeatures;
206 } X86CpuInfo; 206 } X86CpuInfo;
207 207
208 //! \brief Information about non-x86 CPUs, and x86_64 CPUs when not running 208 //! \brief Information about non-x86 CPUs, and x86_64 CPUs when not running
209 //! 32-bit x86 processes. 209 //! 32-bit x86 processes.
210 struct __attribute__((packed, aligned(4))) { 210 struct __attribute__((packed, aligned(4))) {
211 //! \brief Bitfields containing supported CPU capabilities as identified by 211 //! \brief Bitfields containing supported CPU capabilities as identified by
212 //! bits corresponding to `PF_*` values passed to 212 //! bits corresponding to \ref PF_x "PF_*" values passed to
213 //! `IsProcessorFeaturePresent()`. 213 //! `IsProcessorFeaturePresent()`.
214 uint64_t ProcessorFeatures[2]; 214 uint64_t ProcessorFeatures[2];
215 } OtherCpuInfo; 215 } OtherCpuInfo;
216 }; 216 };
217 217
218 //! \brief Information about the system that hosted the process that the 218 //! \brief Information about the system that hosted the process that the
219 //! minidump file contains a snapshot of. 219 //! minidump file contains a snapshot of.
220 struct __attribute__((packed, aligned(4))) MINIDUMP_SYSTEM_INFO { 220 struct __attribute__((packed, aligned(4))) MINIDUMP_SYSTEM_INFO {
221 // The next 4 fields are from the SYSTEM_INFO structure returned by 221 // The next 4 fields are from the SYSTEM_INFO structure returned by
222 // GetSystemInfo(). 222 // GetSystemInfo().
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 //! - A MINIDUMP_MODULE_LIST stream. All loaded modules are present. 840 //! - A MINIDUMP_MODULE_LIST stream. All loaded modules are present.
841 //! - Typically, a MINIDUMP_MEMORY_LIST stream containing duplicate pointers 841 //! - Typically, a MINIDUMP_MEMORY_LIST stream containing duplicate pointers
842 //! to the stack memory regions also referenced by the MINIDUMP_THREAD_LIST 842 //! to the stack memory regions also referenced by the MINIDUMP_THREAD_LIST
843 //! stream. Since Windows 7 (NT 6.1), this type of minidump file also 843 //! stream. Since Windows 7 (NT 6.1), this type of minidump file also
844 //! includes a MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered 844 //! includes a MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered
845 //! around the exception address or the instruction pointer. 845 //! around the exception address or the instruction pointer.
846 MiniDumpNormal = 0x00000000, 846 MiniDumpNormal = 0x00000000,
847 }; 847 };
848 848
849 #endif // CRASHPAD_COMPAT_NON_WIN_DBGHELP_H_ 849 #endif // CRASHPAD_COMPAT_NON_WIN_DBGHELP_H_
OLDNEW
« no previous file with comments | « no previous file | compat/non_win/winnt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698