[PATCH] D27827: [ObjC] CodeGen support for @available on macOS
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 2 13:33:26 PDT 2017
thakis added a comment.
We just noticed that if you call __builtin_available() for the first time after activating your app's sandbox, the function will fail:
SandboxViolation: crdmg(15489) deny file-read-data /System/Library/CoreServices/SystemVersion.plist
Violation: deny file-read-data /System/Library/CoreServices/SystemVersion.plist
Process: crdmg [15489]
Path: /Volumes/Build/src/./out/release/crdmg
Thread 0 (id: 421251):
0 libsystem_kernel.dylib 0x00007fffe94a1a86 __open_nocancel + 10
1 crdmg 0x000000010444be98 parseSystemVersionPList + 360
2 0xec83485354415541
Repository:
rL LLVM
https://reviews.llvm.org/D27827
More information about the cfe-commits
mailing list