Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: WebAssembly/wasi-libc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f47ff557cb5e93fbf59f9d5beb14d410ab77cf52
Choose a base ref
..
head repository: WebAssembly/wasi-libc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 80e0c80c36fe0da09de6c5a1645c77b128aaf4f6
Choose a head ref
Showing with 124 additions and 0 deletions.
  1. +121 −0 expected/wasm32-wasip2/defined-symbols.txt
  2. +3 −0 expected/wasm32-wasip2/predefined-macros.txt
121 changes: 121 additions & 0 deletions expected/wasm32-wasip2/defined-symbols.txt
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ __EINVAL
__ENOMEM
__SIG_ERR
__SIG_IGN
__acquire_ptc
__asctime_r
__assert_fail
__c_dot_utf8
@@ -37,7 +38,11 @@ __ctype_tolower_loc
__ctype_toupper_loc
__cxa_atexit
__cxa_finalize
__default_guardsize
__default_stacksize
__des_setkey
__do_cleanup_pop
__do_cleanup_push
__do_des
__duplocale
__env_rm_add
@@ -178,10 +183,34 @@ __pow_log_data
__powf_log2_data
__progname
__progname_full
__pthread_cond_timedwait
__pthread_create
__pthread_detach
__pthread_join
__pthread_key_create
__pthread_key_delete
__pthread_mutex_consistent
__pthread_mutex_lock
__pthread_mutex_timedlock
__pthread_mutex_trylock
__pthread_mutex_unlock
__pthread_rwlock_rdlock
__pthread_rwlock_timedrdlock
__pthread_rwlock_timedwrlock
__pthread_rwlock_tryrdlock
__pthread_rwlock_trywrlock
__pthread_rwlock_unlock
__pthread_rwlock_wrlock
__pthread_setcancelstate
__pthread_testcancel
__pthread_tsd_main
__pthread_tsd_run_dtors
__pthread_tsd_size
__putenv
__qsort_r
__rand48_step
__reallocarray
__release_ptc
__rem_pio2
__rem_pio2_large
__rem_pio2f
@@ -237,6 +266,9 @@ __sysv_signal
__tan
__tandf
__tanl
__testcancel
__tl_lock
__tl_unlock
__tm_to_secs
__tm_to_tzname
__tolower_l
@@ -345,6 +377,7 @@ __wasilibc_nocwd_symlinkat
__wasilibc_nocwd_utimensat
__wasilibc_open_nomode
__wasilibc_populate_preopens
__wasilibc_pthread_self
__wasilibc_register_preopened_fd
__wasilibc_rename_newat
__wasilibc_rename_oldat
@@ -367,6 +400,8 @@ _environ
_exit
_flushlbf
_initialize
_pthread_cleanup_pop
_pthread_cleanup_push
_start
a64l
abort
@@ -1048,6 +1083,89 @@ program_invocation_name
program_invocation_short_name
pselect
psignal
pthread_attr_destroy
pthread_attr_getdetachstate
pthread_attr_getguardsize
pthread_attr_getschedparam
pthread_attr_getstack
pthread_attr_getstacksize
pthread_attr_init
pthread_attr_setdetachstate
pthread_attr_setguardsize
pthread_attr_setschedparam
pthread_attr_setstack
pthread_attr_setstacksize
pthread_barrier_destroy
pthread_barrier_init
pthread_barrier_wait
pthread_barrierattr_destroy
pthread_barrierattr_getpshared
pthread_barrierattr_init
pthread_barrierattr_setpshared
pthread_cancel
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_init
pthread_cond_signal
pthread_cond_timedwait
pthread_cond_wait
pthread_condattr_destroy
pthread_condattr_getclock
pthread_condattr_getpshared
pthread_condattr_init
pthread_condattr_setclock
pthread_condattr_setpshared
pthread_create
pthread_detach
pthread_equal
pthread_exit
pthread_getspecific
pthread_join
pthread_key_create
pthread_key_delete
pthread_mutex_consistent
pthread_mutex_destroy
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_timedlock
pthread_mutex_trylock
pthread_mutex_unlock
pthread_mutexattr_destroy
pthread_mutexattr_getprotocol
pthread_mutexattr_getpshared
pthread_mutexattr_getrobust
pthread_mutexattr_gettype
pthread_mutexattr_init
pthread_mutexattr_setprotocol
pthread_mutexattr_setpshared
pthread_mutexattr_setrobust
pthread_mutexattr_settype
pthread_once
pthread_rwlock_destroy
pthread_rwlock_init
pthread_rwlock_rdlock
pthread_rwlock_timedrdlock
pthread_rwlock_timedwrlock
pthread_rwlock_tryrdlock
pthread_rwlock_trywrlock
pthread_rwlock_unlock
pthread_rwlock_wrlock
pthread_rwlockattr_destroy
pthread_rwlockattr_getpshared
pthread_rwlockattr_init
pthread_rwlockattr_setpshared
pthread_self
pthread_setcancelstate
pthread_setcanceltype
pthread_setspecific
pthread_spin_destroy
pthread_spin_init
pthread_spin_lock
pthread_spin_trylock
pthread_spin_unlock
pthread_testcancel
pthread_timedjoin_np
pthread_tryjoin_np
putc
putc_unlocked
putchar
@@ -1329,6 +1447,8 @@ tfind
tgamma
tgammaf
tgammal
thrd_current
thrd_equal
thrd_sleep
time
timegm
@@ -1350,6 +1470,7 @@ truncate
truncf
truncl
tsearch
tss_get
twalk
udp_accept
udp_bind
3 changes: 3 additions & 0 deletions expected/wasm32-wasip2/predefined-macros.txt
Original file line number Diff line number Diff line change
@@ -1560,8 +1560,10 @@
#define PTHREAD_COND_INITIALIZER {{{0}}}
#define PTHREAD_CREATE_DETACHED 1
#define PTHREAD_CREATE_JOINABLE 0
#define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define PTHREAD_EXPLICIT_SCHED 1
#define PTHREAD_INHERIT_SCHED 0
#define PTHREAD_KEYS_MAX 128
#define PTHREAD_MUTEX_DEFAULT 0
#define PTHREAD_MUTEX_ERRORCHECK 2
#define PTHREAD_MUTEX_INITIALIZER {{{0}}}
@@ -1579,6 +1581,7 @@
#define PTHREAD_RWLOCK_INITIALIZER {{{0}}}
#define PTHREAD_SCOPE_PROCESS 1
#define PTHREAD_SCOPE_SYSTEM 0
#define PTHREAD_STACK_MIN 2048
#define PTRBITS (sizeof(char *) * 8)
#define PTRDIFF_MAX INT32_MAX
#define PTRDIFF_MIN INT32_MIN