]> xenbits.xensource.com Git - unikraft/libs/libunwind.git/commitdiff
Enable unwind tables for libunwind stable staging RELEASE-0.16.0
authorMarco Schlumpp <marco@unikraft.io>
Mon, 20 Nov 2023 08:14:43 +0000 (09:14 +0100)
committerRazvan Deaconescu <razvand@unikraft.io>
Mon, 20 Nov 2023 17:55:30 +0000 (19:55 +0200)
libunwind has to unwind its own functions too when unwinding the
complete stack. Without unwind tables this is impossible. Therefore,
enable them for libunwind itself.

Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Makefile.uk

index 2594192c78e79d4bc251ce92e8357353802adfa5..eb3d56bc21115c40171689c50484e8be4295410b 100644 (file)
@@ -68,6 +68,7 @@ LIBUNWIND_FLAGS-y += -Wsign-compare
 LIBUNWIND_FLAGS-y += -D_LIBUNWIND_IS_BAREMETAL
 LIBUNWIND_FLAGS-y += -D_LIBUNWIND_IS_NATIVE_ONLY
 LIBUNWIND_FLAGS-y += -D_LIBUNWIND_HAS_NO_THREADS
+LIBUNWIND_FLAGS-y += -funwind-tables
 
 LIBUNWIND_CFLAGS-y += $(LIBUNWIND_FLAGS-y)