Skip to content

Commit 419b147

Browse files
committed
swift-api-checker.py: add -swift-only flag when checking ABI stability
The existing logic of ABI checking only works for Swift symbols. We need to add this flag so the script can work with Swift overlays. rdar://60786484
1 parent a927744 commit 419b147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/api_checker/swift-api-checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def run(self, output, module, swift_ver, opts,
151151
for path in self.inputs:
152152
cmd.extend(['-I', path])
153153
if self.abi:
154-
cmd.extend(['-abi'])
154+
cmd.extend(['-abi', '-swift-only'])
155155
cmd.extend(['-' + o for o in opts])
156156
if self.verbose:
157157
cmd.extend(['-v'])

0 commit comments

Comments
 (0)