aboutsummaryrefslogtreecommitdiffstats
path: root/source/Core/Section.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/Section.cpp')
-rw-r--r--source/Core/Section.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/Core/Section.cpp b/source/Core/Section.cpp
index f30ddd2c18c3..7615dc1d65c7 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 &section_data) {
#pragma mark SectionList
-SectionList::SectionList() : m_sections() {}
-
-SectionList::~SectionList() {}
-
SectionList &SectionList::operator=(const SectionList &rhs) {
if (this != &rhs)
m_sections = rhs.m_sections;