[Lldb-commits] [lldb] [LLDB][SaveCore] Add SBCoreDumpOptions Object, and SBProcess::SaveCore() overload (PR #98403)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 09:53:16 PDT 2024


================
@@ -1271,13 +1271,13 @@ class CommandObjectProcessSaveCore : public CommandObjectParsed {
 
       switch (short_option) {
       case 'p':
-        m_requested_plugin_name = option_arg.str();
+        m_core_dump_options.SetCoreDumpPluginName(option_arg.data());
----------------
Jlalond wrote:

I agree with the API change, but the underlying CoreDumpOptions would then need to reference the plugin manager and enumerate the plugins correct?

https://github.com/llvm/llvm-project/pull/98403


More information about the lldb-commits mailing list