Revert "[lldb] Remove redundant .c_str() and .get() calls"

This reverts commit fbaf48be0f.

This has broken all LLDB buildbots:
https://lab.llvm.org/buildbot/#/builders/68/builds/44990
https://lab.llvm.org/buildbot/#/builders/96/builds/33160
This commit is contained in:
Muhammad Omair Javaid
2022-12-19 13:50:31 +05:00
parent 0fe37a75a5
commit 58e9cc13e2
49 changed files with 113 additions and 99 deletions

View File

@@ -104,7 +104,7 @@ ScriptedProcess::ScriptedProcess(
ExecutionContext exe_ctx(target_sp, /*get_process=*/false);
StructuredData::GenericSP object_sp = GetInterface().CreatePluginObject(
m_scripted_process_info.GetClassName(), exe_ctx,
m_scripted_process_info.GetClassName().c_str(), exe_ctx,
m_scripted_process_info.GetArgsSP());
if (!object_sp || !object_sp->IsValid()) {