Fixed some Apple platform libs

This commit is contained in:
Igor Chevdar
2019-11-20 16:44:53 +03:00
parent f1b4a9f150
commit 61bed4965d
17 changed files with 55 additions and 16 deletions
@@ -4,4 +4,3 @@ package = platform.CoreAudioTypes
modules = CoreAudioTypes
compilerOpts = -framework CoreAudioTypes
linkerOpts = -framework CoreAudioTypes
+1
View File
@@ -5,3 +5,4 @@ modules = UIKit
compilerOpts = -framework UIKit
linkerOpts = -framework UIKit
excludedFunctions = UISceneErrorDomain
@@ -2,6 +2,9 @@ depends = posix
package = platform.builtin
headerFilter = **
language = C
excludedFunctions.ios_arm32 = builtin_clear_cache
excludedFunctions.ios_arm64 = builtin_clear_cache
---
// See https://github.com/llvm-mirror/clang/blob/master/include/clang/Basic/Builtins.def
// TODO: autogenerate from machine format.
+7 -2
View File
@@ -29,10 +29,15 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern
headerFilter = **
excludedFunctions = __tg_promote
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
excludedFunctions.ios_arm32 = _Unwind_Backtrace _Unwind_FindEnclosingFunction _Unwind_Find_FDE \
_Unwind_SjLj_ForcedUnwind __deregister_frame __register_frame
compilerOpts = -D_XOPEN_SOURCE -DSYSCTL_DEF_ENABLED
linkerOpts = -ldl -lz
linkerOpts = -ldl -lz -lbz2 -lcompression -late
---
+4 -1
View File
@@ -14,7 +14,10 @@ headers = alloca.h assert.h complex.h ctype.h dirent.h dlfcn.h err.h errno.h fcn
sys/syslimits.h sys/time.h sys/times.h sys/utsname.h sys/wait.h
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -ldl
linkerOpts = -ldl -lresolv
excludedFunctions = acl_valid_link_np add_profil pfctlinput profil unwhiteout zopen getdirentries
excludedFunctions.ios_arm32 = longjmperror
excludedFunctions.ios_arm64 = longjmperror
---
// Wrapper to access errno variable.
@@ -4,4 +4,3 @@ package = platform.CoreAudioTypes
modules = CoreAudioTypes
compilerOpts = -framework CoreAudioTypes
linkerOpts = -framework CoreAudioTypes
+9
View File
@@ -5,3 +5,12 @@ modules = GLUT
compilerOpts = -framework GLUT
linkerOpts = -framework GLUT
excludedFunctions = __smapDrawSphereMapMeshBack __smapDrawSphereMapMeshSide __smapValidateSphereMapMesh \
bisecting_plane draw_angle_style_back_cap draw_angle_style_front_cap \
draw_binorm_segment_c_and_edge_n draw_binorm_segment_c_and_facet_n draw_binorm_segment_edge_n \
draw_binorm_segment_facet_n draw_raw_style_end_cap draw_round_style_cap_callback \
draw_segment_c_and_edge_n draw_segment_c_and_facet_n draw_segment_color draw_segment_edge_n \
draw_segment_facet_n draw_segment_plain extrusion_angle_join extrusion_raw_join \
extrusion_round_or_cut_join rot_about_axis_d rot_about_axis_f rot_axis_d rot_axis_f \
rot_omega_d rot_omega_f up_sanity_check urot_about_axis_d urot_about_axis_f urot_axis_d \
urot_axis_f urot_omega_d urot_omega_f uview_direction_d uview_direction_f uviewpoint_d uviewpoint_f
+9 -3
View File
@@ -12,7 +12,7 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern
gethostuuid.h glob.h ifaddrs.h inttypes.h iso646.h \
langinfo.h \
libgen.h libunwind.h \
membership.h menu.h monetary.h mpool.h \
membership.h monetary.h mpool.h \
nameser.h ndbm.h nl_types.h \
notify.h notify_keys.h ntsid.h \
printf.h \
@@ -30,7 +30,13 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern
headerFilter = **
excludedFunctions = __tg_promote
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 \
DebugStr Debugger SysBreak SysBreakFunc SysBreakStr clock_get_res clock_set_res \
mach_vm_region_info mach_vm_region_info_64 os_trace_info_with_payload safe_gets \
task_wire vm_map_64 vm_map_exec_lockdown vm_mapped_pages_info vm_region vm_region_recurse \
xpc_debugger_api_misuse_info
compilerOpts = -D_XOPEN_SOURCE -DSHARED_LIBBIND -D_DARWIN_NO_64_BIT_INODE -DSYSCTL_DEF_ENABLED
linkerOpts = -ldl -lz
linkerOpts = -ldl -lz -lcurses -lbz2 -lcompression -late -lbsm
@@ -4,4 +4,3 @@ package = platform.CoreAudioTypes
modules = CoreAudioTypes
compilerOpts = -framework CoreAudioTypes
linkerOpts = -framework CoreAudioTypes
+1
View File
@@ -5,3 +5,4 @@ modules = UIKit
compilerOpts = -framework UIKit
linkerOpts = -framework UIKit
excludedFunctions = UISceneErrorDomain
@@ -2,6 +2,8 @@ depends = posix
package = platform.builtin
headerFilter = **
language = C
excludedFunctions.tvos_arm64 = builtin_clear_cache
---
// See https://github.com/llvm-mirror/clang/blob/master/include/clang/Basic/Builtins.def
// TODO: autogenerate from machine format.
+4 -2
View File
@@ -29,10 +29,12 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern
headerFilter = **
excludedFunctions = __tg_promote
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
compilerOpts = -D_XOPEN_SOURCE -DSYSCTL_DEF_ENABLED
linkerOpts = -ldl -lz
linkerOpts = -ldl -lz -lbz2 -lcompression -late
---
+4 -1
View File
@@ -14,7 +14,10 @@ headers = alloca.h assert.h complex.h ctype.h dirent.h dlfcn.h err.h errno.h fcn
sys/syslimits.h sys/time.h sys/times.h sys/utsname.h sys/wait.h
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -ldl
linkerOpts = -ldl -lresolv
excludedFunctions = acl_valid_link_np pfctlinput profil unwhiteout zopen getdirentries
excludedFunctions.tvos_arm64 = longjmperror
---
// Wrapper to access errno variable.
@@ -4,4 +4,3 @@ package = platform.CoreAudioTypes
modules = CoreAudioTypes
compilerOpts = -framework CoreAudioTypes
linkerOpts = -framework CoreAudioTypes
@@ -2,6 +2,8 @@ depends = posix
package = platform.builtin
headerFilter = **
language = C
excludedFunctions.watchos_arm32 = builtin_clear_cache
---
// See https://github.com/llvm-mirror/clang/blob/master/include/clang/Basic/Builtins.def
// TODO: autogenerate from machine format.
+4 -2
View File
@@ -29,10 +29,12 @@ headers = AssertMacros.h Availability.h AvailabilityInternal.h \
headerFilter = **
excludedFunctions = __tg_promote
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
compilerOpts = -D_XOPEN_SOURCE -DSYSCTL_DEF_ENABLED
linkerOpts = -ldl -lz
linkerOpts = -ldl -lz -lbz2 -lcompression
---
// AppleTextureEncoder.h is not available for WatchOS simulator
+5 -1
View File
@@ -14,7 +14,11 @@ headers = alloca.h assert.h complex.h ctype.h dirent.h dlfcn.h err.h errno.h fcn
sys/syslimits.h sys/time.h sys/times.h sys/utsname.h sys/wait.h
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -ldl
linkerOpts = -ldl -lresolv
excludedFunctions = acl_valid_link_np pfctlinput profil unwhiteout zopen getdirentries
excludedFunctions.watchos_arm32 = longjmperror
excludedFunctions.watchos_arm64 = longjmperror
---
// Wrapper to access errno variable.