Commit Graph

21 Commits

Author SHA1 Message Date
Xi Ge
d09329676b swift-api-checker.py: teach the script to generate target-specific baseline for a single module
This allows us to generate baselines for the Swift stdlib using an Xcode release.
2019-08-30 12:42:10 -07:00
Xi Ge
cdd4eed3ea swift-api-checker.py: remove unnecessary framework search paths 2019-08-26 11:30:53 -07:00
Xi Ge
eab0c55b16 swift-api-checker.py: allow users to specify json file names when dumping framework content 2019-08-26 10:57:58 -07:00
Xi Ge
1857a37e3b Merge pull request #26773 from nkcsgexi/abort-compiler-error
ABI/API checker: abort after error occurs while importing a module
2019-08-21 19:01:55 -07:00
Xi Ge
d4bfae8595 ABI/API checker: abort after error occurs while importing a module 2019-08-21 15:57:39 -07:00
Xi Ge
7a19538cb0 swift-api-checker: pass down --catalyst to infer-imports.py when looking for them 2019-08-21 11:48:10 -07:00
Xi Ge
362ece8445 swift-api-checker: add support for invoking low-level executable using iosmac target 2019-08-20 15:39:09 -07:00
Xi Ge
d388bac43a swift-api-checker: rename existing fixed-module lists to fixed-clang-modules
This patch also adds fixed-swift-modules to hard-code CreateML, which could
not be found in the regular framework search path.
2019-08-20 12:19:46 -07:00
Xi Ge
3914452ecf Revert "Revert "swift-api-checker: update target triples for the tool to use"" 2019-08-01 11:48:27 -07:00
Mishal Shah
f4f3113d38 Revert "swift-api-checker: update target triples for the tool to use" 2019-08-01 11:10:31 -07:00
Xi Ge
79554093a4 swift-api-checker: update target triples for the tool to use 2019-07-31 18:13:48 -07:00
Xi Ge
2908c491f6 swift-api-checker: teach the script to collect all frameworks with Swift overlay in SDKs 2019-07-08 13:14:07 -07:00
Xi Ge
5d906e643a swift-api-checker: teach the script to dump entire SDK content to files separated by modules 2019-07-03 12:56:19 -07:00
Xi Ge
4ac14ea0d5 swift-api-checker: print framework names when diagnosing breakages 2019-06-17 16:19:40 -07:00
Xi Ge
06c958e6af swift-api-checker: teach the script to collect Swift only frameworks from the SDK.
This will only include frameworks like SwiftUI, Combine, etc.

Related: rdar://48456712
2019-06-13 12:36:56 -07:00
Xi Ge
f5853ba44f swift-api-digester: avoid adding MissingMemberDecl to the json file
We explicitly ignore these ABI placeholders to fix an unreachable hit.
2019-05-22 18:09:42 -07:00
Xi Ge
246bfbcc4c linting 2019-03-21 20:29:33 -07:00
Xi Ge
80330d6ee4 swift-api-checker: allow the script to take additional flags to pass down to the executable 2019-03-21 17:25:01 -07:00
Xi Ge
6a502aaefd swift-api-checker: allow users to specify the path of a swift-api-digester 2019-03-20 14:49:16 -07:00
Xi Ge
51bd604a1a swift-api-checker: teach the script to also diagnose the breakages between two previous dumps 2019-03-20 12:26:35 -07:00
Xi Ge
6c0e0ee4f5 utils: add a convenient python wrapper for swift-api-digester
Based on the same concept of swift-api-dump, this python wrapper
provides framework authors a convenient way to generate baseline or
diagnose ABI/API breakages from an existing toolchain where it has
swift-api-digester installed.

cmake installation part will be added in a separate PR.

rdar://problem/29649661
2019-03-19 17:48:16 -07:00