reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/tools/driver/Driver.cpp
  154     command_set = &m_option_data.m_initial_commands;
  157     command_set = &m_option_data.m_after_file_commands;
  160     command_set = &m_option_data.m_after_crash_commands;
  168           m_option_data.m_source_quietly || command_entry.source_quietly;
  194     m_option_data.m_print_version = true;
  198     m_option_data.m_print_python_path = true;
  202     m_option_data.m_batch = true;
  214     m_option_data.m_core_file = arg_value;
  218     m_option_data.m_use_external_editor = true;
  233     m_option_data.m_debug_mode = true;
  240       m_option_data.m_args.emplace_back(arg_value);
  244       m_option_data.m_args.emplace_back(path);
  268     m_option_data.m_source_quietly = true;
  273     m_option_data.m_process_name = arg_value;
  277     m_option_data.m_wait_for = true;
  283     m_option_data.m_process_pid = strtol(arg_value, &remainder, 0);
  293     m_option_data.m_repl_lang =
  295     if (m_option_data.m_repl_lang == eLanguageTypeUnknown) {
  303     m_option_data.m_repl = true;
  307     m_option_data.m_repl = true;
  309       m_option_data.m_repl_options = arg_value;
  319       m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterCrash,
  326       m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterCrash,
  333       m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterFile,
  340       m_option_data.AddInitialCommand(arg_value, eCommandPlacementBeforeFile,
  347       m_option_data.AddInitialCommand(arg_value, eCommandPlacementAfterFile,
  354       m_option_data.AddInitialCommand(arg_value, eCommandPlacementBeforeFile,
  361   if (m_option_data.m_process_name.empty() &&
  362       m_option_data.m_process_pid == LLDB_INVALID_PROCESS_ID) {
  366     if (m_option_data.m_args.empty()) {
  368         m_option_data.m_args.push_back(arg->getAsString((args)));
  375         m_option_data.m_args.emplace_back(value);
  381   if (m_option_data.m_print_version) {
  387   if (m_option_data.m_print_python_path) {
  487   m_debugger.SetUseExternalEditor(m_option_data.m_use_external_editor);
  502   if (m_option_data.m_debug_mode) {
  527   if (!m_option_data.m_repl) {
  528     const size_t num_args = m_option_data.m_args.size();
  534                                EscapeString(m_option_data.m_args[0]).c_str());
  537                                EscapeString(m_option_data.m_args[0]).c_str());
  539       if (!m_option_data.m_core_file.empty()) {
  541                                EscapeString(m_option_data.m_core_file).c_str());
  549               " %s", EscapeString(m_option_data.m_args[arg_idx]).c_str());
  552     } else if (!m_option_data.m_core_file.empty()) {
  554                              EscapeString(m_option_data.m_core_file).c_str());
  555     } else if (!m_option_data.m_process_name.empty()) {
  558           EscapeString(m_option_data.m_process_name).c_str());
  560       if (m_option_data.m_wait_for)
  565     } else if (LLDB_INVALID_PROCESS_ID != m_option_data.m_process_pid) {
  567                              m_option_data.m_process_pid);
  571   } else if (!m_option_data.m_after_file_commands.empty()) {
  577   if (m_option_data.m_debug_mode) {
  611       if (m_option_data.m_batch)
  618       if (m_option_data.m_batch && stopped_for_crash &&
  619           !m_option_data.m_after_crash_commands.empty()) {
  656   else if (m_option_data.m_batch && !stopped_for_crash)
  662     if (m_option_data.m_repl) {
  664       if (!m_option_data.m_repl_options.empty())
  665         repl_options = m_option_data.m_repl_options.c_str();
  667           m_debugger.RunREPL(m_option_data.m_repl_lang, repl_options));