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

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

Issue 1414323003: win: Add a note about /Z7 obsolescence regarding CodeView debug info (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 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 | no next file » | 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 //! <a 557 //! <a
558 //! href="http://pierrelib.pagesperso-orange.fr/exec_formats/MS_Symbol_Type_v1 .0.pdf#page=71">Microsoft 558 //! href="http://pierrelib.pagesperso-orange.fr/exec_formats/MS_Symbol_Type_v1 .0.pdf#page=71">Microsoft
559 //! Symbol and Type Information</a>, section 7.2, “Debug Information Format” 559 //! Symbol and Type Information</a>, section 7.2, “Debug Information Format”
560 //! for a list of debug information formats, and <a 560 //! for a list of debug information formats, and <a
561 //! href="http://undocumented.rawol.com/sbs-w2k-1-windows-2000-debugging-suppo rt.pdf#page=63">Undocumented 561 //! href="http://undocumented.rawol.com/sbs-w2k-1-windows-2000-debugging-suppo rt.pdf#page=63">Undocumented
562 //! Windows 2000 Secrets</a>, Windows 2000 Debugging Support/Microsoft Symbol 562 //! Windows 2000 Secrets</a>, Windows 2000 Debugging Support/Microsoft Symbol
563 //! File Internals/CodeView Subsections for an in-depth description of the 563 //! File Internals/CodeView Subsections for an in-depth description of the
564 //! CodeView 4.1 format. Signatures seen in the wild include “NB09” 564 //! CodeView 4.1 format. Signatures seen in the wild include “NB09”
565 //! (0x3930424e) for CodeView 4.1 and “NB11” (0x3131424e) for CodeView 5.0. 565 //! (0x3930424e) for CodeView 4.1 and “NB11” (0x3131424e) for CodeView 5.0.
566 //! This form of debugging information within the module, as opposed to a link 566 //! This form of debugging information within the module, as opposed to a link
567 //! to an external `.pdb` file, is chosen by building with `/Z7`. 567 //! to an external `.pdb` file, is chosen by building with `/Z7` in Visual
568 //! Studio 6.0 (1998) and earlier. This embedded form of debugging information
569 //! is now considered obsolete.
568 //! 570 //!
569 //! On Windows, the CodeView record is taken from a module’s 571 //! On Windows, the CodeView record is taken from a module’s
570 //! IMAGE_DEBUG_DIRECTORY entry whose Type field has the value 572 //! IMAGE_DEBUG_DIRECTORY entry whose Type field has the value
571 //! IMAGE_DEBUG_TYPE_CODEVIEW (`2`), if any. Records in 573 //! IMAGE_DEBUG_TYPE_CODEVIEW (`2`), if any. Records in
572 //! crashpad::CodeViewRecordPDB70 format are generated by Visual Studio .NET 574 //! crashpad::CodeViewRecordPDB70 format are generated by Visual Studio .NET
573 //! (2002) (version 7.0) and later. 575 //! (2002) (version 7.0) and later.
574 //! 576 //!
575 //! When the CodeView record is not present, the fields of this 577 //! When the CodeView record is not present, the fields of this
576 //! MINIDUMP_LOCATION_DESCRIPTOR will be `0`. 578 //! MINIDUMP_LOCATION_DESCRIPTOR will be `0`.
577 MINIDUMP_LOCATION_DESCRIPTOR CvRecord; 579 MINIDUMP_LOCATION_DESCRIPTOR CvRecord;
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 //! - A MINIDUMP_MODULE_LIST stream. All loaded modules are present. 976 //! - A MINIDUMP_MODULE_LIST stream. All loaded modules are present.
975 //! - Typically, a MINIDUMP_MEMORY_LIST stream containing duplicate pointers 977 //! - Typically, a MINIDUMP_MEMORY_LIST stream containing duplicate pointers
976 //! to the stack memory regions also referenced by the MINIDUMP_THREAD_LIST 978 //! to the stack memory regions also referenced by the MINIDUMP_THREAD_LIST
977 //! stream. This type of minidump file also includes a 979 //! stream. This type of minidump file also includes a
978 //! MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered around 980 //! MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered around
979 //! the exception address or the instruction pointer. 981 //! the exception address or the instruction pointer.
980 MiniDumpNormal = 0x00000000, 982 MiniDumpNormal = 0x00000000,
981 }; 983 };
982 984
983 #endif // CRASHPAD_COMPAT_NON_WIN_DBGHELP_H_ 985 #endif // CRASHPAD_COMPAT_NON_WIN_DBGHELP_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698