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..99606bc02f88bc1901e88b13afd8d744ff3b824b 100644 |
--- a/snapshot/win/module_snapshot_win.h |
+++ b/snapshot/win/module_snapshot_win.h |
@@ -61,6 +61,12 @@ 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_.get(); |
Mark Mentovai
2015/09/19 03:02:47
Just “return *pe_image_reader_” should be enough,
scottmg
2015/09/19 04:24:41
Done.
|
+ } |
+ |
// ModuleSnapshot: |
std::string Name() const override; |