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

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 15 13:02:33 PST 2023


================
@@ -1310,82 +1308,29 @@ def isAArch64Windows(self):
 
     def getArchitecture(self):
         """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
+        return lldbplatformutil.getArchitecture()
 
     def getLldbArchitecture(self):
----------------
medismailben wrote:

```suggestion
    def getLLDBArchitecture(self):
```

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


More information about the lldb-commits mailing list