| Index: snapshot/win/module_snapshot_win.cc
|
| diff --git a/snapshot/win/module_snapshot_win.cc b/snapshot/win/module_snapshot_win.cc
|
| index 3876fb1ed644fee124fe1726deb7127c185d79a1..194d15ac8ae915e9ce76b80038f5ff9d079d82f4 100644
|
| --- a/snapshot/win/module_snapshot_win.cc
|
| +++ b/snapshot/win/module_snapshot_win.cc
|
| @@ -60,6 +60,14 @@ bool ModuleSnapshotWin::Initialize(
|
| &uuid_, &age_dword, &pdb_name_)) {
|
| static_assert(sizeof(DWORD) == sizeof(uint32_t), "unexpected age size");
|
| age_ = age_dword;
|
| + } else {
|
| + // If we fully supported all old debugging formats, we would want to extract
|
| + // and emit a different type of CodeView record here (as old Microsoft tools
|
| + // would do). As we don't expect to ever encounter a module that wouldn't be
|
| + // be using .PDB that we actually have symbols for, we simply set a
|
| + // plausible name here, but this will never correspond to symbols that we
|
| + // have.
|
| + pdb_name_ = base::UTF16ToUTF8(name_);
|
| }
|
|
|
| INITIALIZATION_STATE_SET_VALID(initialized_);
|
|
|