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..d375b5147df10e7132599e59c03fa134a8fc3e5a 100644 |
--- a/snapshot/win/module_snapshot_win.cc |
+++ b/snapshot/win/module_snapshot_win.cc |
@@ -148,7 +148,11 @@ 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; |
+ if (!pe_image_reader_->DebugDirectoryInformation(uuid, &age, &pdbname)) |
+ *uuid = crashpad::UUID(); |
} |
std::vector<std::string> ModuleSnapshotWin::AnnotationsVector() const { |