diff options
author | Pavel Labath <pavel@labath.sk> | 2019-02-14 14:40:10 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-02-14 14:40:10 +0000 |
commit | 66d88326abf9e4b39df1db61f0bf2dce746f2900 (patch) | |
tree | 5af4c128b2c3927b95f5480a5de1b627cfde94ef /lldb/source/Symbol/ObjectFile.cpp | |
parent | c374a800e7f84f701bf2fceb39c35d0909603c1e (diff) | |
download | bcm5719-llvm-66d88326abf9e4b39df1db61f0bf2dce746f2900.tar.gz bcm5719-llvm-66d88326abf9e4b39df1db61f0bf2dce746f2900.zip |
Move UnwindTable from ObjectFile to Module
Summary:
This is a preparatory step to enable adding extra unwind strategies by
symbol file plugins. This has been discussed on the lldb-dev mailing
list: <http://lists.llvm.org/pipermail/lldb-dev/2019-February/014703.html>.
Reviewers: jasonmolenda, clayborg, espindola
Subscribers: lemo, emaste, lldb-commits, arichardson
Differential Revision: https://reviews.llvm.org/D58129
llvm-svn: 354033
Diffstat (limited to 'lldb/source/Symbol/ObjectFile.cpp')
-rw-r--r-- | lldb/source/Symbol/ObjectFile.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lldb/source/Symbol/ObjectFile.cpp b/lldb/source/Symbol/ObjectFile.cpp index 5c7c1b7c3ad..211b96f8337 100644 --- a/lldb/source/Symbol/ObjectFile.cpp +++ b/lldb/source/Symbol/ObjectFile.cpp @@ -263,8 +263,7 @@ ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, : ModuleChild(module_sp), m_file(), // This file could be different from the original module's file m_type(eTypeInvalid), m_strata(eStrataInvalid), - m_file_offset(file_offset), m_length(length), m_data(), - m_unwind_table(*this), m_process_wp(), + m_file_offset(file_offset), m_length(length), m_data(), m_process_wp(), m_memory_addr(LLDB_INVALID_ADDRESS), m_sections_up(), m_symtab_up(), m_synthetic_symbol_idx(0) { if (file_spec_ptr) @@ -286,9 +285,8 @@ ObjectFile::ObjectFile(const lldb::ModuleSP &module_sp, DataBufferSP &header_data_sp) : ModuleChild(module_sp), m_file(), m_type(eTypeInvalid), m_strata(eStrataInvalid), m_file_offset(0), m_length(0), m_data(), - m_unwind_table(*this), m_process_wp(process_sp), - m_memory_addr(header_addr), m_sections_up(), m_symtab_up(), - m_synthetic_symbol_idx(0) { + m_process_wp(process_sp), m_memory_addr(header_addr), m_sections_up(), + m_symtab_up(), m_synthetic_symbol_idx(0) { if (header_data_sp) m_data.SetData(header_data_sp, 0, header_data_sp->GetByteSize()); Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_OBJECT)); |