cosmopolitan/libc/mem
Justine Tunney eeb20775d2
Add dontthrow attribute to most libc functions
This will help C++ code that uses exceptions to be tinier. For example,
this change shaves away 1000 lines of assembly code from LLVM's libcxx,
which is 0.7% of all assembly instructions in the entire library.
2024-01-09 01:26:03 -08:00
..
_gc_free.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
alg.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
aligned_alloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
alloca.h Remove some dead code 2023-07-03 02:48:29 -07:00
arraylist.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
arraylist2.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
bisect.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
bsearch.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bsearch_r.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
BUILD.mk more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
bulk_free.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
calloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
critbit0_allprefixed.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0_clear.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0_contains.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0_delete.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0_emplace.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0_get.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0_insert.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
free.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gc.c Bring back gc() function 2024-01-08 10:26:28 -08:00
gc.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
heapsort.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
hook.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
hook_realloc_in_place.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
mallinfo.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc_inspect_all.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc_trim.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc_usable_size.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mallopt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mem.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
memalign.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mergesort.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
posix_memalign.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
putenv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pvalloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
qsort.c more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
radix_sort_int32.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
radix_sort_int64.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
realloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
reallocarray.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
realpath.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
reverse.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
setenv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
shuffle.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sortedints.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sortedints.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
strdup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strndup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
valloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsdup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00