From 213a0698cbfe226f4a3dcaec31cdcab54ec9ca5a Mon Sep 17 00:00:00 2001 From: "wfh@chromium.org" Date: Mon, 24 Mar 2014 12:12:17 +0000 Subject: Add support for Win64 stack unwind data as STACK CFI This is a copy of https://breakpad.appspot.com/1264002/ where code review took place. See https://bugzilla.mozilla.org/show_bug.cgi?id=548035 and https://code.google.com/p/chromium/issues/detail?id=115922 Credit to Mikhail I. Izmestev for original patch in https://breakpad.appspot.com/345002/ BUG=572 TEST=Run dump_syms_unittest after compiling dump_syms_regtest.cc with x64 toolchain R=mark@chromium.org Review URL: https://breakpad.appspot.com/1274002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1290 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/windows/pdb_source_line_writer.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/common/windows/pdb_source_line_writer.h') diff --git a/src/common/windows/pdb_source_line_writer.h b/src/common/windows/pdb_source_line_writer.h index be6121c3..d928a607 100644 --- a/src/common/windows/pdb_source_line_writer.h +++ b/src/common/windows/pdb_source_line_writer.h @@ -147,6 +147,16 @@ class PDBSourceLineWriter { // Returns true on success. bool PrintSourceFiles(); + // Outputs all of the frame information necessary to construct stack + // backtraces in the absence of frame pointers. For x86 data stored in + // .pdb files. Returns true on success. + bool PrintFrameDataUsingPDB(); + + // Outputs all of the frame information necessary to construct stack + // backtraces in the absence of frame pointers. For x64 data stored in + // .exe, .dll files. Returns true on success. + bool PrintFrameDataUsingEXE(); + // Outputs all of the frame information necessary to construct stack // backtraces in the absence of frame pointers. Returns true on success. bool PrintFrameData(); -- cgit v1.2.1