diff options
author | Peter Collingbourne <pcc@google.com> | 2020-12-29 15:26:24 -0800 |
---|---|---|
committer | Peter Collingbourne <pcc@google.com> | 2020-12-29 15:28:03 -0800 |
commit | 4b1bd5d6804c250d6f6724ea799cbf7f2994da2a (patch) | |
tree | c0881b271c40a58df699ef142160cb7f85019990 | |
parent | ade93bc54de0c4f0fed2039ab1404e8c0c9bf81e (diff) | |
download | libunwind_llvm-4b1bd5d6804c250d6f6724ea799cbf7f2994da2a.tar.gz |
Define _LIBUNWIND_IS_NATIVE_ONLY when building LLVM libunwind.
This macro needs to be defined in order to support unwinding past
functions built with return pointer authentication.
Change-Id: Id8c6f1db55fc5341285629fbb3d3b41b7dcf14e7
-rw-r--r-- | Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ LIBUNWIND_CFLAGS = [ "-Wall", "-Werror", "-D_LIBUNWIND_USE_DLADDR=0", + "-D_LIBUNWIND_IS_NATIVE_ONLY", ] LIBUNWIND_CPPFLAGS = [ |