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
Justine Tunney
fa20edc44d
Reduce header complexity
...
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00
Justine Tunney
1351d3cede
Remove bool from public headers
2023-11-15 20:58:46 -08:00
Justine Tunney
dc6c67256f
Remove old stack code and improve dirstream
2023-08-16 07:54:40 -07:00
Justine Tunney
17aea99bb3
Fold LIBC_ALG into LIBC_MEM
2022-08-13 08:32:34 -07:00