Lines Matching refs:m_option_data
157 command_set = &m_option_data.m_initial_commands; in WriteCommandsForSourcing()
160 command_set = &m_option_data.m_after_file_commands; in WriteCommandsForSourcing()
163 command_set = &m_option_data.m_after_crash_commands; in WriteCommandsForSourcing()
171 m_option_data.m_source_quietly || command_entry.source_quietly; in WriteCommandsForSourcing()
197 m_option_data.m_print_version = true; in ProcessArgs()
201 m_option_data.m_print_python_path = true; in ProcessArgs()
205 m_option_data.m_batch = true; in ProcessArgs()
217 m_option_data.m_core_file = arg_value; in ProcessArgs()
221 m_option_data.m_use_external_editor = true; in ProcessArgs()
236 m_option_data.m_debug_mode = true; in ProcessArgs()
243 m_option_data.m_args.emplace_back(arg_value); in ProcessArgs()
247 m_option_data.m_args.emplace_back(path); in ProcessArgs()
271 m_option_data.m_source_quietly = true; in ProcessArgs()
276 m_option_data.m_process_name = arg_value; in ProcessArgs()
280 m_option_data.m_wait_for = true; in ProcessArgs()
286 m_option_data.m_process_pid = strtol(arg_value, &remainder, 0); in ProcessArgs()
296 m_option_data.m_repl_lang = in ProcessArgs()
298 if (m_option_data.m_repl_lang == eLanguageTypeUnknown) { in ProcessArgs()
306 m_option_data.m_repl = true; in ProcessArgs()
310 m_option_data.m_repl = true; in ProcessArgs()
312 m_option_data.m_repl_options = arg_value; in ProcessArgs()
322 m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterCrash, in ProcessArgs()
329 m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterCrash, in ProcessArgs()
336 m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterFile, in ProcessArgs()
343 m_option_data.AddInitialCommand(arg_value, eCommandPlacementBeforeFile, in ProcessArgs()
350 m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterFile, in ProcessArgs()
357 m_option_data.AddInitialCommand(arg_value, eCommandPlacementBeforeFile, in ProcessArgs()
364 if (m_option_data.m_process_name.empty() && in ProcessArgs()
365 m_option_data.m_process_pid == LLDB_INVALID_PROCESS_ID) { in ProcessArgs()
368 m_option_data.m_args.push_back(arg->getAsString((args))); in ProcessArgs()
373 m_option_data.m_args.emplace_back(value); in ProcessArgs()
379 if (m_option_data.m_print_version) { in ProcessArgs()
385 if (m_option_data.m_print_python_path) { in ProcessArgs()
485 m_debugger.SetUseExternalEditor(m_option_data.m_use_external_editor); in MainLoop()
499 sb_interpreter.SourceInitFileInHomeDirectory(result, m_option_data.m_repl); in MainLoop()
500 if (m_option_data.m_debug_mode) { in MainLoop()
525 if (!m_option_data.m_repl) { in MainLoop()
526 const size_t num_args = m_option_data.m_args.size(); in MainLoop()
532 EscapeString(m_option_data.m_args[0]).c_str()); in MainLoop()
535 EscapeString(m_option_data.m_args[0]).c_str()); in MainLoop()
537 if (!m_option_data.m_core_file.empty()) { in MainLoop()
539 EscapeString(m_option_data.m_core_file).c_str()); in MainLoop()
547 " %s", EscapeString(m_option_data.m_args[arg_idx]).c_str()); in MainLoop()
550 } else if (!m_option_data.m_core_file.empty()) { in MainLoop()
552 EscapeString(m_option_data.m_core_file).c_str()); in MainLoop()
553 } else if (!m_option_data.m_process_name.empty()) { in MainLoop()
556 EscapeString(m_option_data.m_process_name).c_str()); in MainLoop()
558 if (m_option_data.m_wait_for) in MainLoop()
563 } else if (LLDB_INVALID_PROCESS_ID != m_option_data.m_process_pid) { in MainLoop()
565 m_option_data.m_process_pid); in MainLoop()
569 } else if (!m_option_data.m_after_file_commands.empty()) { in MainLoop()
575 if (m_option_data.m_debug_mode) { in MainLoop()
610 options.SetStopOnCrash(m_option_data.m_batch); in MainLoop()
616 if (m_option_data.m_batch && in MainLoop()
622 if (m_option_data.m_batch && in MainLoop()
626 if (m_option_data.m_batch && in MainLoop()
628 !m_option_data.m_after_crash_commands.empty()) { in MainLoop()
646 if (m_option_data.m_batch && in MainLoop()
661 if (m_option_data.m_repl) { in MainLoop()
663 if (!m_option_data.m_repl_options.empty()) in MainLoop()
664 repl_options = m_option_data.m_repl_options.c_str(); in MainLoop()
666 m_debugger.RunREPL(m_option_data.m_repl_lang, repl_options)); in MainLoop()