summaryrefslogtreecommitdiff
path: root/src/debug/createdump/dumpwriter.h
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2017-04-24 17:12:36 -0700
committerGitHub <noreply@github.com>2017-04-24 17:12:36 -0700
commitc53fa592ba54c0f346856d680cc30348850eba83 (patch)
tree060149803ed42df869a145039114ca03ba60760c /src/debug/createdump/dumpwriter.h
parent3712f59c73f00d3312e62f9440c7f03fc7d458e7 (diff)
downloadcoreclr-c53fa592ba54c0f346856d680cc30348850eba83.tar.gz
coreclr-c53fa592ba54c0f346856d680cc30348850eba83.tar.bz2
coreclr-c53fa592ba54c0f346856d680cc30348850eba83.zip
Add "createdump" command to SOS. (#11161)
Uses the createdump utility code as a library. Changed the "-m, --micro" option to "-t, --triage". Lots of cleanup.
Diffstat (limited to 'src/debug/createdump/dumpwriter.h')
-rw-r--r--src/debug/createdump/dumpwriter.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/debug/createdump/dumpwriter.h b/src/debug/createdump/dumpwriter.h
index 272a2ebd78..0b4f88cbd6 100644
--- a/src/debug/createdump/dumpwriter.h
+++ b/src/debug/createdump/dumpwriter.h
@@ -33,14 +33,13 @@ class DumpWriter : IUnknown
private:
LONG m_ref; // reference count
int m_fd;
- DataTarget& m_dataTarget;
CrashInfo& m_crashInfo;
BYTE m_tempBuffer[0x4000];
public:
- DumpWriter(DataTarget& dataTarget, CrashInfo& crashInfo);
+ DumpWriter(CrashInfo& crashInfo);
virtual ~DumpWriter();
- bool OpenDump(char* dumpFileName);
+ bool OpenDump(const char* dumpFileName);
bool WriteDump();
// IUnknown