[Lldb-commits] [lldb] a749bd7 - [lldb] Add addressing_bits to KNOWN_HOST_INFO_KEYS and sort the list

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 14 14:15:24 PDT 2021


Author: Jonas Devlieghere
Date: 2021-04-14T14:15:17-07:00
New Revision: a749bd76394c05b423cd643633188eb09f59fbe8

URL: https://github.com/llvm/llvm-project/commit/a749bd76394c05b423cd643633188eb09f59fbe8
DIFF: https://github.com/llvm/llvm-project/commit/a749bd76394c05b423cd643633188eb09f59fbe8.diff

LOG: [lldb] Add addressing_bits to KNOWN_HOST_INFO_KEYS and sort the list

This fixes TestGdbRemoteHostInfo on Apple Silicon.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
index 01c2a38e2757..e69116877d63 100644
--- a/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
+++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
@@ -14,22 +14,23 @@ class TestGdbRemoteHostInfo(GdbRemoteTestCaseBase):
     mydir = TestBase.compute_mydir(__file__)
 
     KNOWN_HOST_INFO_KEYS = set([
+        "addressing_bits",
         "arch",
-        "cputype",
         "cpusubtype",
+        "cputype",
+        "default_packet_timeout",
         "distribution_id",
         "endian",
         "hostname",
-        "ostype",
+        "maccatalyst_version",
         "os_build",
         "os_kernel",
         "os_version",
-        "maccatalyst_version",
+        "ostype",
         "ptrsize",
         "triple",
         "vendor",
         "watchpoint_exceptions_received",
-        "default_packet_timeout",
     ])
 
     DARWIN_REQUIRED_HOST_INFO_KEYS = set([


        


More information about the lldb-commits mailing list