From dcd887eb8326ec195149c7fd6711ddb715c4ad1f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Sep 2021 23:07:06 -0400 Subject: Add a simple bump pointer allocator --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index d7ba9d0..45009c4 100644 --- a/meson.build +++ b/meson.build @@ -66,7 +66,7 @@ if get_option('strict') '-Wformat-signedness', '-Wformat-truncation=2', '-Wformat=2', - '-Wframe-larger-than=1024', + '-Wframe-larger-than=2048', '-Wimplicit-fallthrough=2', '-Winit-self', # '-Winline', @@ -86,7 +86,7 @@ if get_option('strict') '-Wshift-overflow=2', '-Wsizeof-array-argument', '-Wstack-protector', - '-Wstack-usage=1024', + '-Wstack-usage=2048', '-Wstrict-aliasing=3', # '-Wstrict-overflow=5', '-Wstringop-overflow=3', @@ -184,6 +184,7 @@ sources = [ 'src/allocator.c', 'src/bitset.c', 'src/btree.c', + 'src/bump_allocator.c', 'src/digest.c', 'src/hash.c', 'src/ring.c', -- cgit v1.2.1