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

References

tools/lldb/source/Commands/CommandObjectDisassemble.cpp
  224   if (!m_options.arch.IsValid())
  225     m_options.arch = target->GetArchitecture();
  227   if (!m_options.arch.IsValid()) {
  234   const char *plugin_name = m_options.GetPluginName();
  235   const char *flavor_string = m_options.GetFlavorString();
  238       Disassembler::FindPlugin(m_options.arch, flavor_string, plugin_name);
  245           plugin_name, m_options.arch.GetArchitectureName());
  249           m_options.arch.GetArchitectureName());
  253              !disassembler->FlavorValidForArchSpec(m_options.arch,
  271   if (m_options.show_mixed && m_options.num_lines_context == 0)
  271   if (m_options.show_mixed && m_options.num_lines_context == 0)
  272     m_options.num_lines_context = 2;
  279   if (m_options.show_mixed)
  282   if (m_options.show_bytes)
  285   if (m_options.raw)
  288   if (!m_options.func_name.empty()) {
  289     ConstString name(m_options.func_name.c_str());
  292             GetDebugger(), m_options.arch, plugin_name, flavor_string,
  295             m_options.num_instructions, m_options.show_mixed,
  295             m_options.num_instructions, m_options.show_mixed,
  296             m_options.show_mixed ? m_options.num_lines_context : 0, options,
  296             m_options.show_mixed ? m_options.num_lines_context : 0, options,
  308     if (m_options.frame_line) {
  320         m_options.at_pc =
  322         m_options.show_mixed = false;
  324     } else if (m_options.current_function) {
  341       if (m_options.at_pc) {
  349         if (m_options.num_instructions == 0) {
  352           m_options.num_instructions = DEFAULT_DISASM_NUM_INS;
  356         range.GetBaseAddress().SetOffset(m_options.start_addr);
  358           if (m_options.end_addr != LLDB_INVALID_ADDRESS) {
  359             if (m_options.end_addr <= m_options.start_addr) {
  359             if (m_options.end_addr <= m_options.start_addr) {
  365             range.SetByteSize(m_options.end_addr - m_options.start_addr);
  365             range.SetByteSize(m_options.end_addr - m_options.start_addr);
  369           if (m_options.symbol_containing_addr != LLDB_INVALID_ADDRESS &&
  375                       m_options.symbol_containing_addr,
  399                     m_options.symbol_containing_addr);
  406                 lldb::addr_t file_addr = m_options.symbol_containing_addr;
  431     if (m_options.num_instructions != 0) {
  456                 GetDebugger(), m_options.arch, plugin_name, flavor_string,
  458                 m_options.num_instructions, m_options.show_mixed,
  458                 m_options.num_instructions, m_options.show_mixed,
  459                 m_options.show_mixed ? m_options.num_lines_context : 0, options,
  459                 m_options.show_mixed ? m_options.num_lines_context : 0, options,
  463           if (m_options.start_addr != LLDB_INVALID_ADDRESS)
  466                 m_options.start_addr);
  467           else if (m_options.symbol_containing_addr != LLDB_INVALID_ADDRESS)
  471                 m_options.symbol_containing_addr);
  504                 GetDebugger(), m_options.arch, plugin_name, flavor_string,
  505                 m_exe_ctx, cur_range, m_options.num_instructions,
  506                 m_options.show_mixed,
  507                 m_options.show_mixed ? m_options.num_lines_context : 0, options,
  507                 m_options.show_mixed ? m_options.num_lines_context : 0, options,
tools/lldb/source/Commands/CommandObjectDisassemble.h
   71   Options *GetOptions() override { return &m_options; }