Reduce mandatory stack rss by 256kb

This commit is contained in:
Justine Tunney 2023-09-07 04:30:44 -07:00
parent 0e087143fd
commit b592716d1c
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
15 changed files with 98 additions and 125 deletions

View file

@ -27,6 +27,10 @@
#include "libc/str/str.h"
#include "libc/sysv/consts/o.h"
// TODO(jart): Delete?
STATIC_STACK_ALIGN(GetStackSize());
static char stacklog[1024];
dontasan size_t GetStackUsage(char *s, size_t n) {