diff options
author | Pavel Labath <pavel@labath.sk> | 2021-10-18 10:39:58 +0200 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2021-10-21 12:58:45 +0200 |
commit | 2ace1e5753a49195ca17f3e175c7e189cf147760 (patch) | |
tree | b325dc674709615db76b8826d1edb7e48ec6f209 /lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp | |
parent | 898e80964c950fb49a133ff6018079fe8a7c922b (diff) | |
download | llvm-2ace1e5753a49195ca17f3e175c7e189cf147760.zip llvm-2ace1e5753a49195ca17f3e175c7e189cf147760.tar.gz llvm-2ace1e5753a49195ca17f3e175c7e189cf147760.tar.bz2 |
[lldb] Remove ConstString from GetPluginNameStatic of some plugins
This patch deals with ObjectFile, ObjectContainer and OperatingSystem
plugins. I'll convert the other types in separate patches.
In order to enable piecemeal conversion, I am leaving some ConstStrings
in the lowest PluginManager layers. I'll convert those as the last step.
Differential Revision: https://reviews.llvm.org/D112061
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp index e19bd77..b4a26bd 100644 --- a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp +++ b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp @@ -53,15 +53,6 @@ void ObjectFileJIT::Terminate() { PluginManager::UnregisterPlugin(CreateInstance); } -lldb_private::ConstString ObjectFileJIT::GetPluginNameStatic() { - static ConstString g_name("jit"); - return g_name; -} - -const char *ObjectFileJIT::GetPluginDescriptionStatic() { - return "JIT code object file"; -} - ObjectFile *ObjectFileJIT::CreateInstance(const lldb::ModuleSP &module_sp, DataBufferSP &data_sp, lldb::offset_t data_offset, |