[Bazel] Update for 957334382c

Update LLVM configuration to define `HAVE_UNW_ADD_DYNAMIC_FDE` for macOS
since https://github.com/llvm/llvm-project/commit/957334382c moved that
to a define.

Differential Revision: https://reviews.llvm.org/D108157
This commit is contained in:
Geoffrey Martin-Noble 2021-08-16 12:12:38 -07:00
parent 9b8425e42c
commit b51e71fe66
3 changed files with 7 additions and 0 deletions

View file

@ -49,6 +49,7 @@ macos_defines = posix_defines + [
"HAVE_MALLOC_MALLOC_H=1",
"HAVE_MALLOC_ZONE_STATISTICS=1",
"HAVE_PROC_PID_RUSAGE=1",
"HAVE_UNW_ADD_DYNAMIC_FDE=1",
]
win32_defines = [

View file

@ -80,6 +80,9 @@
/* Define to 1 if we can deregister EH frames on this platform. */
#define HAVE_DEREGISTER_FRAME 1
/* Define if __unw_add_dynamic_fde() is available on this platform. */
/* HAVE_UNW_ADD_DYNAMIC_FDE defined in Bazel */
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1

View file

@ -64,6 +64,9 @@
/* Define to 1 if we can deregister EH frames on this platform. */
#cmakedefine HAVE_DEREGISTER_FRAME ${HAVE_DEREGISTER_FRAME}
/* Define if __unw_add_dynamic_fde() is available on this platform. */
#cmakedefine HAVE_UNW_ADD_DYNAMIC_FDE ${HAVE_UNW_ADD_DYNAMIC_FDE}
/* Define to 1 if you have the <errno.h> header file. */
#cmakedefine HAVE_ERRNO_H ${HAVE_ERRNO_H}