aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Symbol/ObjectFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Symbol/ObjectFile.h')
-rw-r--r--include/lldb/Symbol/ObjectFile.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/lldb/Symbol/ObjectFile.h b/include/lldb/Symbol/ObjectFile.h
index ff00ac26e67e..4b0a2f9ff936 100644
--- a/include/lldb/Symbol/ObjectFile.h
+++ b/include/lldb/Symbol/ObjectFile.h
@@ -125,8 +125,7 @@ public:
/// The destructor is virtual since this class is designed to be
/// inherited from by the plug-in instance.
//------------------------------------------------------------------
- virtual
- ~ObjectFile();
+ ~ObjectFile() override;
//------------------------------------------------------------------
/// Dump a description of this object to a Stream.
@@ -369,12 +368,11 @@ public:
/// The list of sections contained in this object file.
//------------------------------------------------------------------
virtual SectionList *
- GetSectionList ();
+ GetSectionList (bool update_module_section_list = true);
virtual void
CreateSections (SectionList &unified_section_list) = 0;
-
//------------------------------------------------------------------
/// Notify the ObjectFile that the file addresses in the Sections
/// for this module have been changed.
@@ -595,7 +593,6 @@ public:
virtual lldb_private::Address
GetHeaderAddress () { return Address(m_memory_addr);}
-
virtual uint32_t
GetNumThreadContexts ()
{
@@ -767,7 +764,6 @@ public:
return 0;
}
-
//------------------------------------------------------------------
/// Return true if this file is a dynamic link editor (dyld)
///
@@ -823,6 +819,7 @@ public:
lldb::offset_t section_offset,
void *dst,
size_t dst_len) const;
+
virtual size_t
ReadSectionData (const Section *section,
DataExtractor& section_data) const;
@@ -843,7 +840,11 @@ public:
{
return symbol_name.str();
}
-
+
+ static lldb::SymbolType
+ GetSymbolTypeFromName (llvm::StringRef name,
+ lldb::SymbolType symbol_type_hint = lldb::eSymbolTypeUndefined);
+
protected:
//------------------------------------------------------------------
// Member variables.
@@ -880,5 +881,4 @@ private:
} // namespace lldb_private
-#endif // liblldb_ObjectFile_h_
-
+#endif // liblldb_ObjectFile_h_