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 <izmmishao5@gmail.com> 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
This commit is contained in:
wfh@chromium.org 2014-03-24 12:12:17 +00:00
parent b764582a53
commit 213a0698cb
6 changed files with 4769 additions and 1 deletions

View file

@ -52,6 +52,13 @@
'<(DEPTH)/client/windows/unittests/testing.gyp:gtest',
'dump_syms',
],
'msvs_settings': {
'VCLinkerTool': {
'AdditionalDependencies': [
'shell32.lib',
],
},
},
},
],
}

View file

@ -57,6 +57,8 @@ const wchar_t* kRootNames[] = {
L"omap_stretched",
// A PDB file with OMAP data for an image that has been basic block reordered.
L"omap_reorder_bbs",
// A 64bit PDB file with no OMAP data.
L"dump_syms_regtest64",
};
void TrimLastComponent(const std::wstring& path,

Binary file not shown.

File diff suppressed because it is too large Load diff