summaryrefslogtreecommitdiffstats
path: root/lldb/include
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2018-09-10 23:09:09 +0000
committerDavide Italiano <davide@freebsd.org>2018-09-10 23:09:09 +0000
commitae3f793e9e19ca36192a8161c69dee32c037e7a8 (patch)
tree58406cdcfe976e0ac6bade211c08fca409864bea /lldb/include
parentb69ce1fcd0878a51d9fb6d24a5ac9dcee30ade1e (diff)
downloadbcm5719-llvm-ae3f793e9e19ca36192a8161c69dee32c037e7a8.tar.gz
bcm5719-llvm-ae3f793e9e19ca36192a8161c69dee32c037e7a8.zip
Rollback "Fix raw address breakpoints not resolving".
It broke a bunch of bots. Ted confirmed, but can't revert for now so I'm reverting on his behalf. llvm-svn: 341878
Diffstat (limited to 'lldb/include')
-rw-r--r--lldb/include/lldb/Core/Address.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/lldb/include/lldb/Core/Address.h b/lldb/include/lldb/Core/Address.h
index 26924218172..617aaefe91c 100644
--- a/lldb/include/lldb/Core/Address.h
+++ b/lldb/include/lldb/Core/Address.h
@@ -525,11 +525,11 @@ public:
bool CalculateSymbolContextLineEntry(LineEntry &line_entry) const;
//------------------------------------------------------------------
- // Returns true if the m_section_wp once had a reference to a valid section
- // shared pointer, but no longer does. This can happen if we have an address
- // from a module that gets unloaded and deleted. This function should only be
- // called if GetSection() returns an empty shared pointer and you want to
- // know if this address used to have a valid section.
+ // Returns true if the section should be valid, but isn't because the shared
+ // pointer to the section can't be reconstructed from a weak pointer that
+ // contains a valid weak reference to a section. Returns false if the section
+ // weak pointer has no reference to a section, or if the section is still
+ // valid
//------------------------------------------------------------------
bool SectionWasDeleted() const;
@@ -539,6 +539,15 @@ protected:
//------------------------------------------------------------------
lldb::SectionWP m_section_wp; ///< The section for the address, can be NULL.
lldb::addr_t m_offset; ///< Offset into section if \a m_section_wp is valid...
+
+ //------------------------------------------------------------------
+ // Returns true if the m_section_wp once had a reference to a valid section
+ // shared pointer, but no longer does. This can happen if we have an address
+ // from a module that gets unloaded and deleted. This function should only be
+ // called if GetSection() returns an empty shared pointer and you want to
+ // know if this address used to have a valid section.
+ //------------------------------------------------------------------
+ bool SectionWasDeletedPrivate() const;
};
//----------------------------------------------------------------------
OpenPOWER on IntegriCloud