mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
[lldb] Fix two bugs in ObjectContainerMachOFileset
Fix two small issues in the live-memory variant of ObjectContainerMachOFileset. Differential revision: https://reviews.llvm.org/D132973
This commit is contained in:
parent
8c9d685fa8
commit
0044cb4b20
@ -42,8 +42,9 @@ ObjectContainerMachOFileset::ObjectContainerMachOFileset(
|
||||
ObjectContainerMachOFileset::ObjectContainerMachOFileset(
|
||||
const lldb::ModuleSP &module_sp, lldb::WritableDataBufferSP data_sp,
|
||||
const lldb::ProcessSP &process_sp, lldb::addr_t header_addr)
|
||||
: ObjectContainer(module_sp, nullptr, 0, 0, data_sp, 0),
|
||||
m_memory_addr(header_addr) {}
|
||||
: ObjectContainer(module_sp, nullptr, 0, data_sp->GetByteSize(), data_sp,
|
||||
0),
|
||||
m_process_wp(process_sp), m_memory_addr(header_addr) {}
|
||||
|
||||
ObjectContainer *ObjectContainerMachOFileset::CreateInstance(
|
||||
const lldb::ModuleSP &module_sp, DataBufferSP &data_sp,
|
||||
|
Loading…
Reference in New Issue
Block a user