[Lldb-commits] [lldb] [lldb][lldb-server] Enable sending RegisterFlags as XML (PR #69951)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 23 11:10:15 PDT 2023


================
@@ -3113,6 +3119,10 @@ GDBRemoteCommunicationServerLLGS::BuildTargetXml() {
     if (!format.empty())
       response << "format=\"" << format << "\" ";
 
+    if (reg_info->flags_type) {
+      response << "type=\"" << reg_info->flags_type->GetID() << "\" ";
+    }
----------------
clayborg wrote:

no braces for single statement `if` per llvm coding guidelines

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


More information about the lldb-commits mailing list