diff options
Diffstat (limited to 'source/Core/Section.cpp')
-rw-r--r-- | source/Core/Section.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/Core/Section.cpp b/source/Core/Section.cpp index f30ddd2c18c37..7615dc1d65c7f 100644 --- a/source/Core/Section.cpp +++ b/source/Core/Section.cpp @@ -269,7 +269,7 @@ bool Section::ResolveContainedAddress(addr_t offset, Address &so_addr, bool Section::ContainsFileAddress(addr_t vm_addr) const { const addr_t file_addr = GetFileAddress(); - if (file_addr != LLDB_INVALID_ADDRESS) { + if (file_addr != LLDB_INVALID_ADDRESS && !IsThreadSpecific()) { if (file_addr <= vm_addr) { const addr_t offset = (vm_addr - file_addr) * m_target_byte_size; return offset < GetByteSize(); @@ -417,10 +417,6 @@ lldb::offset_t Section::GetSectionData(DataExtractor §ion_data) { #pragma mark SectionList -SectionList::SectionList() : m_sections() {} - -SectionList::~SectionList() {} - SectionList &SectionList::operator=(const SectionList &rhs) { if (this != &rhs) m_sections = rhs.m_sections; |