[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 13:42:34 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.SetPluginName(option_arg.data());
----------------
Jlalond wrote:

@clayborg Should we return here the error here from setting an invalid plugin name?

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


More information about the lldb-commits mailing list