[libcxx-commits] [PATCH] D149635: [libunwind] include alloca.h in config.h
Daniel Kiss via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 2 02:10:12 PDT 2023
danielkiss added inline comments.
================
Comment at: libunwind/src/config.h:129
defined(_LIBUNWIND_IS_BAREMETAL)
#define _LIBUNWIND_REMEMBER_ALLOC(_size) alloca(_size)
#define _LIBUNWIND_REMEMBER_FREE(_ptr) \
----------------
alloca.h is needed for this so probably the simplest way is just to build with `_LIBUNWIND_REMEMBER_HEAP_ALLOC` if that causes trouble for you.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149635/new/
https://reviews.llvm.org/D149635
More information about the libcxx-commits
mailing list