[Interop][watchos_arm64] Exclude arm32-specific functions from platform libs

This commit is contained in:
Sergey Bogolepov
2019-12-18 18:18:09 +07:00
committed by Sergey Bogolepov
parent 178ba2944b
commit 8adb1aa6fa
2 changed files with 9 additions and 0 deletions
@@ -33,6 +33,12 @@ excludedFunctions = __tg_promote KERNEL_AUDIT_TOKEN KERNEL_SECURITY_TOKEN \
asl_decode_buffer asl_encode_buffer asl_remove_index \
averunnable dbm_forder pidlock ttyaction ttylock ttymsg ttyunlock uuid_generate_early_random
# These functions are depend on __arm__ macro. Include them back
# when our LLVM distribution will gain support for arm64_32 target.
excludedFunctions.watchos_arm64 = _simd_ceil_f4 _simd_ceil_d2 _simd_floor_f4 _simd_floor_d2 \
_simd_rint_f4 _simd_rint_d2 _simd_trunc_f4 _simd_trunc_d2 \
__tg_trunc __tg_ceil __tg_rint __tg_floor simd_fract
compilerOpts = -D_XOPEN_SOURCE -DSYSCTL_DEF_ENABLED
linkerOpts = -ldl -lz -lbz2 -lcompression
@@ -6,6 +6,9 @@ headers = objc/NSObjCRuntime.h objc/NSObject.h objc/message.h objc/objc-api.h \
headerFilter = objc/**
excludedFunctions.watchos_arm64 = _objc_msgForward_stret \
class_getMethodImplementation_stret method_invoke_stret
compilerOpts = -D_XOPEN_SOURCE -DOBJC_OLD_DISPATCH_PROTOTYPES=1
linkerOpts = -lobjc