mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 05:40:09 +00:00
[libunwind] Use __builtin_alloca to avoid missing include
Differential Revision: https://reviews.llvm.org/D149635
This commit is contained in:
parent
c46d732fd7
commit
3f6818bf44
@ -127,7 +127,7 @@
|
||||
#if defined(_LIBUNWIND_REMEMBER_STACK_ALLOC) || defined(__APPLE__) || \
|
||||
defined(__linux__) || defined(__ANDROID__) || defined(__MINGW32__) || \
|
||||
defined(_LIBUNWIND_IS_BAREMETAL)
|
||||
#define _LIBUNWIND_REMEMBER_ALLOC(_size) alloca(_size)
|
||||
#define _LIBUNWIND_REMEMBER_ALLOC(_size) __builtin_alloca(_size)
|
||||
#define _LIBUNWIND_REMEMBER_FREE(_ptr) \
|
||||
do { \
|
||||
} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user