diff --git a/lldb/include/lldb/Symbol/ObjectFile.h b/lldb/include/lldb/Symbol/ObjectFile.h --- a/lldb/include/lldb/Symbol/ObjectFile.h +++ b/lldb/include/lldb/Symbol/ObjectFile.h @@ -673,6 +673,7 @@ virtual size_t ReadSectionData(Section *section, DataExtractor §ion_data); + /// Returns true if the object file exists only in memory. bool IsInMemory() const { return m_memory_addr != LLDB_INVALID_ADDRESS; } // Strip linker annotations (such as @@VERSION) from symbol names. @@ -736,6 +737,7 @@ DataExtractor m_data; ///< The data for this object file so things can be parsed lazily. lldb::ProcessWP m_process_wp; + /// Set if the object file only exists in memory. const lldb::addr_t m_memory_addr; std::unique_ptr m_sections_up; std::unique_ptr m_symtab_up;