diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-07-31 08:25:25 +0000 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-07-31 08:25:25 +0000 |
| commit | d2deeb4490ed6fad5832c8958afa6ead283cf85a (patch) | |
| tree | f3e8084a0ac1d42682a4385fa95d7de5924a5f4a /lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h | |
| parent | d65c166e35dbc3432d7b3ad5a7eb6fe7b9e7e211 (diff) | |
| download | bcm5719-llvm-d2deeb4490ed6fad5832c8958afa6ead283cf85a.tar.gz bcm5719-llvm-d2deeb4490ed6fad5832c8958afa6ead283cf85a.zip | |
SymbolVendor: Remove the object file member variable
Summary:
The last responsibility of the SymbolVendor was to hold an owning
reference to the object file (in case symbols are being read from a
different file than the main module). As SymbolFile classes already hold
a non-owning reference to the object file, we can easily remove this
responsibility of the SymbolVendor by making the SymbolFile reference
owning.
Reviewers: JDevlieghere, clayborg, jingham
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D65401
llvm-svn: 367392
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h index 2cdebaf3a46..0b4f96b2036 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h @@ -34,10 +34,10 @@ public: static const char *GetPluginDescriptionStatic(); static lldb_private::SymbolFile * - CreateInstance(lldb_private::ObjectFile *obj_file); + CreateInstance(lldb::ObjectFileSP objfile_sp); // Constructors and Destructors - SymbolFileDWARFDebugMap(lldb_private::ObjectFile *ofile); + SymbolFileDWARFDebugMap(lldb::ObjectFileSP objfile_sp); ~SymbolFileDWARFDebugMap() override; uint32_t CalculateAbilities() override; |

