Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sanity: Don't mark memory uninit in sanitize_{alloc,free}() | Tavian Barnes | 12 days | 1 | -10/+34 |
| | | | | | We might want to change the size of an allocated region without changing which bytes are initialized. | ||||
* | alloc: Stop supporting pathological flexible array ABIs | Tavian Barnes | 12 days | 1 | -4/+0 |
| | |||||
* | alloc: Don't require size % align == 0 | Tavian Barnes | 12 days | 1 | -0/+8 |
| | | | | | | | | | Allowing unaligned sizes will allow us to allocate aligned slabs with additional metadata in the tail without ballooning the allocation size for large alignments. Link: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2244.htm#dr_460 Link: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2072.htm | ||||
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -1/+0 |
| | | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented. | ||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -0/+2 |
| | |||||
* | tests: Simplify unit tests with a global variable | Tavian Barnes | 2024-07-07 | 1 | -13/+10 |
| | | | | | It's a little awkward to thread the test result through manually; much easier to just make bfs_check() update a global variable. | ||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | tests: Add ../src to the include path | Tavian Barnes | 2024-04-19 | 1 | -3/+3 |
| | |||||
* | Re-run include-what-you-use | Tavian Barnes | 2024-03-11 | 1 | -0/+1 |
| | |||||
* | tests: New bfs_check() macro | Tavian Barnes | 2024-02-29 | 1 | -10/+12 |
| | | | | | We now report failures and continue, rather than aborting after the first failure. | ||||
* | tests: Merge unit test executables into one | Tavian Barnes | 2024-01-12 | 1 | -3/+3 |
| | |||||
* | config: Add (de)allocator attributes | Tavian Barnes | 2023-11-09 | 1 | -0/+4 |
| | |||||
* | diag: Move enum debug_flags out of ctx.h | Tavian Barnes | 2023-10-12 | 1 | -0/+1 |
| | |||||
* | alloc: Test allocation size overflows | Tavian Barnes | 2023-10-06 | 1 | -2/+10 |
| | |||||
* | alloc: Implement an arena for flexible structs | Tavian Barnes | 2023-06-20 | 1 | -1/+13 |
| | |||||
* | alloc: New header for memory allocation utilities | Tavian Barnes | 2023-06-20 | 1 | -0/+24 |