#include "minidump/minidump_exception_writer.h"
#include <utility>
#include "base/check_op.h"
#include "base/numerics/safe_conversions.h"
#include "minidump/minidump_context_writer.h"
#include "snapshot/exception_snapshot.h"
#include "util/file/file_writer.h"
#include "util/misc/arraysize.h"
namespace crashpad {
MinidumpExceptionWriter::MinidumpExceptionWriter()
: … { … }
MinidumpExceptionWriter::~MinidumpExceptionWriter() { … }
void MinidumpExceptionWriter::InitializeFromSnapshot(
const ExceptionSnapshot* exception_snapshot,
const MinidumpThreadIDMap& thread_id_map,
bool allow_missing_thread_id_from_map) { … }
void MinidumpExceptionWriter::SetContext(
std::unique_ptr<MinidumpContextWriter> context) { … }
void MinidumpExceptionWriter::SetExceptionInformation(
const std::vector<uint64_t>& exception_information) { … }
bool MinidumpExceptionWriter::Freeze() { … }
size_t MinidumpExceptionWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*> MinidumpExceptionWriter::Children() { … }
bool MinidumpExceptionWriter::WriteObject(FileWriterInterface* file_writer) { … }
MinidumpStreamType MinidumpExceptionWriter::StreamType() const { … }
}