[darwin] add support for __isPlatformVersionAtLeast check for if (@available)The __isPlatformVersionAtLeast routine is an implementation of `if (@available)` checkthat uses the _availability_versi
[darwin] add support for __isPlatformVersionAtLeast check for if (@available)The __isPlatformVersionAtLeast routine is an implementation of `if (@available)` checkthat uses the _availability_version_check API on Darwin that's supported onmacOS 10.15, iOS 13, tvOS 13 and watchOS 6.Differential Revision: https://reviews.llvm.org/D90367
show more ...
[compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*These lit configuration files are really Python source code. Using the.py file extension helps editors and tools use the correct languagemode. LL
[compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*These lit configuration files are really Python source code. Using the.py file extension helps editors and tools use the correct languagemode. LLVM and Clang already use this convention for lit configuration,this change simply applies it to all of compiler-rt.Reviewers: vitalybuka, dberrisDifferential Revision: https://reviews.llvm.org/D63658llvm-svn: 364591
[builtins][macos] bump up the the macOS version min in os_version_check testsThis ensures that the tests link with the latest OS.llvm-svn: 332647
[compiler-rt][builtins] __isOSVersionAtLeast should load CoreFoundationsymbols dynamicallyThe CoreFoundation symbols uses by __isOSVersionAtLeast should be loaded atruntime to ensure that the pro
[compiler-rt][builtins] __isOSVersionAtLeast should load CoreFoundationsymbols dynamicallyThe CoreFoundation symbols uses by __isOSVersionAtLeast should be loaded atruntime to ensure that the programs that don't use @available won't have to belinked to CoreFoundation.The Clang frontend IRGen library will need to emit a CoreFoundation symbolwhen @available is used to ensure that programs that actually use @availableare linked to CoreFoundation.rdar://31039554llvm-svn: 297760
Reapply r297382: "[compiler-rt][builtins] Add __isOSVersionAtLeast()"Looks like the problem was a case-insensitive include of dispatch/dispatch.h.llvm-svn: 297392
Revert "[compiler-rt][builtins] Add __isOSVersionAtLeast()"This reverts r297382, it was causing build failures.llvm-svn: 297388
[compiler-rt][builtins] Add __isOSVersionAtLeast()This predicate compares the host's marketing OS version to one passed asargument. Currently, only darwin targets are supported. This is done by pa
[compiler-rt][builtins] Add __isOSVersionAtLeast()This predicate compares the host's marketing OS version to one passed asargument. Currently, only darwin targets are supported. This is done by parsingthe SystemVersion.plist file.Also added in this patch is some lit testing infrastructure for builtins, whichpreviously had none. This part of the patch was written by Alex Lorenz (withsome minor modifications).This patch is part of a feature I proposed here:http://lists.llvm.org/pipermail/cfe-dev/2016-July/049851.htmlDifferential revision: https://reviews.llvm.org/D30136llvm-svn: 297382