Skip to content

Commit 7c3a9fc

Browse files
authored
Merge pull request swiftlang#9318 from swiftlang/shahmishal/fix-testswiftavailability
[lldb] Update TestSwiftAvailability.py to use lldbplatformutil.getArchitectu…
2 parents 89ccf4b + 7cbb01a commit 7c3a9fc

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)