mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 11:57:39 +08:00
[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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user