[Lldb-commits] [PATCH] D129319: [lldb] Add comments to describe m_memory_addr and IsInMemory
Augusto Noronha via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 7 12:06:54 PDT 2022
augusto2112 created this revision.
augusto2112 added a reviewer: jasonmolenda.
Herald added a project: All.
augusto2112 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129319
Files:
lldb/include/lldb/Symbol/ObjectFile.h
Index: lldb/include/lldb/Symbol/ObjectFile.h
===================================================================
--- lldb/include/lldb/Symbol/ObjectFile.h
+++ 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<lldb_private::SectionList> m_sections_up;
std::unique_ptr<lldb_private::Symtab> m_symtab_up;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129319.443023.patch
Type: text/x-patch
Size: 903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220707/4ef07ea6/attachment.bin>
More information about the lldb-commits
mailing list