Index: snapshot/win/module_snapshot_win.h |
diff --git a/snapshot/win/module_snapshot_win.h b/snapshot/win/module_snapshot_win.h |
index d3ea671c71630806cf60c6bebb22d713a511692d..cd1cf0bfc5cb1c8b46ee1fba015de390185d9bd3 100644 |
--- a/snapshot/win/module_snapshot_win.h |
+++ b/snapshot/win/module_snapshot_win.h |
@@ -61,6 +61,10 @@ class ModuleSnapshotWin final : public ModuleSnapshot { |
//! \param[out] options Options set in the module's CrashpadInfo structure. |
void GetCrashpadOptions(CrashpadInfoClientOptions* options); |
+ //! \brief Returns the PEImageReader used to read this module. Only valid |
+ //! after Initialize() is called. |
+ const PEImageReader& pe_image_reader() const { return *pe_image_reader_; } |
+ |
// ModuleSnapshot: |
std::string Name() const override; |