Skip to content

Commit 2498d6c

Browse files
shahmishalJDevlieghere
authored andcommitted
Update TestSwiftAvailability.py to use lldbplatformutil.getArchitecture()
(cherry picked from commit 7cbb01a)
1 parent 4a1e76f commit 2498d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/lang/swift/availability/TestSwiftAvailability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def getOSName(os):
1717
return os
1818

1919
def getArch(os):
20-
if os == 'macosx': return 'x86_64'
20+
if os == 'macosx': return lldbplatformutil.getArchitecture()
2121
if os == 'ios': return 'arm64'
2222
if os == 'tvos': return 'arm64'
2323
if os == 'watchos': return 'armv7k'

0 commit comments

Comments
 (0)