summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2020-12-29 15:26:24 -0800
committerPeter Collingbourne <pcc@google.com>2020-12-29 15:28:03 -0800
commit4b1bd5d6804c250d6f6724ea799cbf7f2994da2a (patch)
treec0881b271c40a58df699ef142160cb7f85019990
parentade93bc54de0c4f0fed2039ab1404e8c0c9bf81e (diff)
downloadlibunwind_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.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b97ee0d..69ff739 100644
--- a/Android.bp
+++ b/Android.bp
@@ -36,6 +36,7 @@ LIBUNWIND_CFLAGS = [
"-Wall",
"-Werror",
"-D_LIBUNWIND_USE_DLADDR=0",
+ "-D_LIBUNWIND_IS_NATIVE_ONLY",
]
LIBUNWIND_CPPFLAGS = [