[Lldb-commits] [lldb] [lldb][test] Remove `self` references from decorators (PR #72416)

Jordan Rupprecht via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 15 17:35:59 PST 2023


================
@@ -184,3 +187,144 @@ def hasChattyStderr(test_case):
     ):
         return True  # The dynamic linker on the device will complain about unknown DT entries
     return False
+
+
+def builder_module():
+    return get_builder(sys.platform)
+
+
+def getArchitecture():
+    """Returns the architecture in effect the test suite is running with."""
+    module = builder_module()
+    arch = module.getArchitecture()
+    if arch == "amd64":
+        arch = "x86_64"
+    if arch in ["armv7l", "armv8l"]:
+        arch = "arm"
+    return arch
+
+
+lldbArchitecture = None
+
+
+def getLldbArchitecture():
----------------
rupprecht wrote:

Thanks, applied

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


More information about the lldb-commits mailing list