forked from OSchip/llvm-project
Remove unused variable m_header as it hasn't been used since it was
added in 2016. llvm-svn: 336884
This commit is contained in:
parent
73347ec081
commit
4bfb8011f7
|
@ -60,14 +60,13 @@ MinidumpParser::Create(const lldb::DataBufferSP &data_buf_sp) {
|
|||
directory->location;
|
||||
}
|
||||
|
||||
return MinidumpParser(data_buf_sp, header, std::move(directory_map));
|
||||
return MinidumpParser(data_buf_sp, std::move(directory_map));
|
||||
}
|
||||
|
||||
MinidumpParser::MinidumpParser(
|
||||
const lldb::DataBufferSP &data_buf_sp, const MinidumpHeader *header,
|
||||
const lldb::DataBufferSP &data_buf_sp,
|
||||
llvm::DenseMap<uint32_t, MinidumpLocationDescriptor> &&directory_map)
|
||||
: m_data_sp(data_buf_sp), m_header(header), m_directory_map(directory_map) {
|
||||
}
|
||||
: m_data_sp(data_buf_sp), m_directory_map(directory_map) {}
|
||||
|
||||
llvm::ArrayRef<uint8_t> MinidumpParser::GetData() {
|
||||
return llvm::ArrayRef<uint8_t>(m_data_sp->GetBytes(),
|
||||
|
|
|
@ -91,11 +91,10 @@ public:
|
|||
|
||||
private:
|
||||
lldb::DataBufferSP m_data_sp;
|
||||
const MinidumpHeader *m_header;
|
||||
llvm::DenseMap<uint32_t, MinidumpLocationDescriptor> m_directory_map;
|
||||
|
||||
MinidumpParser(
|
||||
const lldb::DataBufferSP &data_buf_sp, const MinidumpHeader *header,
|
||||
const lldb::DataBufferSP &data_buf_sp,
|
||||
llvm::DenseMap<uint32_t, MinidumpLocationDescriptor> &&directory_map);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue