Index: snapshot/win/module_snapshot_win.cc |
diff --git a/snapshot/win/module_snapshot_win.cc b/snapshot/win/module_snapshot_win.cc |
index 1819a45baa1808c150ab7fc8e3e10679054c813e..f1536f5599e0553dba931a86d68c5aefda840ac1 100644 |
--- a/snapshot/win/module_snapshot_win.cc |
+++ b/snapshot/win/module_snapshot_win.cc |
@@ -148,7 +148,10 @@ ModuleSnapshot::ModuleType ModuleSnapshotWin::GetModuleType() const { |
void ModuleSnapshotWin::UUID(crashpad::UUID* uuid) const { |
INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
- CHECK(false) << "TODO(scottmg)"; |
+ // TODO(scottmg): Also pass the age and pdbname through to snapshot? |
+ DWORD age; |
+ std::string pdbname; |
+ pe_image_reader_->DebugDirectoryInformation(uuid, &age, &pdbname); |
Mark Mentovai
2015/08/31 21:48:20
If this fails, reinitialize uuid to the default UU
scottmg
2015/08/31 23:05:01
Done.
|
} |
std::vector<std::string> ModuleSnapshotWin::AnnotationsVector() const { |