Debug features for leaked promises. And then chased down some subsequent use after free issues.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3985 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-09-22 00:38:26 +00:00
parent ab1f47ee9a
commit 8279ec5e9e
4 changed files with 125 additions and 16 deletions

View File

@ -18,7 +18,8 @@ CFLAGS += \
-fdata-sections
LDFLAGS += -Wl,-gc-sections
debug windebug: CFLAGS += -Og -g
debug windebug: CFLAGS += -Og -g -fno-omit-frame-pointer
debug release: LDFLAGS += -rdynamic
release winrelease: CFLAGS += -DNDEBUG -O3 -g
windebug winrelease: CC = i686-w64-mingw32-gcc-win32
windebug winrelease: AS = $(CC)
@ -68,6 +69,7 @@ UV_SOURCES := \
deps/libuv/src/inet.c \
deps/libuv/src/random.c \
deps/libuv/src/strscpy.c \
deps/libuv/src/strtok.c \
deps/libuv/src/threadpool.c \
deps/libuv/src/timer.c \
deps/libuv/src/uv-common.c \