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

References

tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
   40   m_regs = std::move(info.m_regs);
   40   m_regs = std::move(info.m_regs);
  393     m_regs.push_back(reg_info);
  397   return m_regs.size();
  405   const uint32_t reg_num = m_regs.size();
  427   m_regs.push_back(reg_info);
  469   const size_t num_regs = m_regs.size();
  472       m_regs[i].value_regs = m_value_regs_map[i].data();
  474       m_regs[i].value_regs = nullptr;
  483     if (m_regs[reg_num].value_regs) {
  521       m_regs[i].invalidate_regs = m_invalidate_regs_map[i].data();
  523       m_regs[i].invalidate_regs = nullptr;
  529   for (const auto &reg : m_regs) {
  541       for (auto &reg : m_regs) {
  562       for (auto &reg : m_regs) {
  585       for (auto &reg : m_regs) {
  601       for (auto &reg : m_regs) {
  622 size_t DynamicRegisterInfo::GetNumRegisters() const { return m_regs.size(); }
  632   if (i < m_regs.size())
  633     return &m_regs[i];
  638   if (i < m_regs.size())
  639     return &m_regs[i];
  667   reg_collection::const_iterator pos, end = m_regs.end();
  668   for (pos = m_regs.begin(); pos != end; ++pos) {
  670       return std::distance(m_regs.begin(), pos);
  677   m_regs.clear();
  690   const size_t num_regs = m_regs.size();
  694     s.Printf("[%3" PRIu64 "] name = %-10s", (uint64_t)i, m_regs[i].name);
  696              m_regs[i].byte_size, m_regs[i].byte_offset, m_regs[i].encoding,
  696              m_regs[i].byte_size, m_regs[i].byte_offset, m_regs[i].encoding,
  696              m_regs[i].byte_size, m_regs[i].byte_offset, m_regs[i].encoding,
  697              FormatManager::GetFormatAsCString(m_regs[i].format));
  698     if (m_regs[i].kinds[eRegisterKindProcessPlugin] != LLDB_INVALID_REGNUM)
  700                m_regs[i].kinds[eRegisterKindProcessPlugin]);
  701     if (m_regs[i].kinds[eRegisterKindDWARF] != LLDB_INVALID_REGNUM)
  702       s.Printf(", dwarf = %3u", m_regs[i].kinds[eRegisterKindDWARF]);
  703     if (m_regs[i].kinds[eRegisterKindEHFrame] != LLDB_INVALID_REGNUM)
  704       s.Printf(", ehframe = %3u", m_regs[i].kinds[eRegisterKindEHFrame]);
  705     if (m_regs[i].kinds[eRegisterKindGeneric] != LLDB_INVALID_REGNUM)
  706       s.Printf(", generic = %3u", m_regs[i].kinds[eRegisterKindGeneric]);
  707     if (m_regs[i].alt_name)
  708       s.Printf(", alt-name = %s", m_regs[i].alt_name);
  709     if (m_regs[i].value_regs) {
  711       for (size_t j = 0; m_regs[i].value_regs[j] != LLDB_INVALID_REGNUM; ++j) {
  712         s.Printf("%s ", m_regs[m_regs[i].value_regs[j]].name);
  712         s.Printf("%s ", m_regs[m_regs[i].value_regs[j]].name);
  716     if (m_regs[i].invalidate_regs) {
  718       for (size_t j = 0; m_regs[i].invalidate_regs[j] != LLDB_INVALID_REGNUM;
  720         s.Printf("%s ", m_regs[m_regs[i].invalidate_regs[j]].name);
  720         s.Printf("%s ", m_regs[m_regs[i].invalidate_regs[j]].name);
  734       s.Printf("%s ", m_regs[m_sets[i].registers[idx]].name);
  742   for (auto &reg_info : m_regs) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
  926         if (m_regs[i].name && g_register_infos[i].name) {
  927           if (strcmp(m_regs[i].name, g_register_infos[i].name)) {
  934         if (m_regs[i].byte_size != g_register_infos[i].byte_size) {