Skip to content

Commit 8ba9078

Browse files
authored
Merge pull request #9891 from swiftlang/cherrypick-7cbb01a4ad2a4d47cd2986a588a32fe3b78d313c
Update TestSwiftAvailability.py to use lldbplatformutil.getArchitectu…
2 parents 4a1e76f + 2498d6c commit 8ba9078

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)