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
f317a47cd8
Fixup and polish chibicc some more
...
Fixes #433
2022-06-20 04:32:25 -07:00
Justine Tunney
579b597ded
Refactor out some duplicated code
2021-08-14 06:17:56 -07:00