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/API/SBProcess.cpp | |
| parent | 898e80964c950fb49a133ff6018079fe8a7c922b (diff) | |
[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/API/SBProcess.cpp')
| -rw-r--r-- | lldb/source/API/SBProcess.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp index acdf75a60316..797e19462800 100644 --- a/lldb/source/API/SBProcess.cpp +++ b/lldb/source/API/SBProcess.cpp @@ -1228,8 +1228,7 @@ lldb::SBError SBProcess::SaveCore(const char *file_name) { FileSpec core_file(file_name); SaveCoreStyle core_style = SaveCoreStyle::eSaveCoreFull; - error.ref() = - PluginManager::SaveCore(process_sp, core_file, core_style, ConstString()); + error.ref() = PluginManager::SaveCore(process_sp, core_file, core_style, ""); return LLDB_RECORD_RESULT(error); } |
