diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2021-02-04 12:28:31 -0800 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2021-02-11 21:47:33 -0800 |
commit | e434fc0dde8c6b11df8c4d68c2758c3b5d69a97f (patch) | |
tree | 61a3274fa814719433e2883b64e09a0b700581ea /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | |
parent | 79401b43ce4e3aa856c50e78b38327e3ff4ae9eb (diff) | |
download | llvm-e434fc0dde8c6b11df8c4d68c2758c3b5d69a97f.zip llvm-e434fc0dde8c6b11df8c4d68c2758c3b5d69a97f.tar.gz llvm-e434fc0dde8c6b11df8c4d68c2758c3b5d69a97f.tar.bz2 |
gn build: Support cross-compiling libunwind for Android.
- Usual cross-compilation fix: s/target_/current_/g
- Define _LIBUNWIND_IS_NATIVE_ONLY to enable unwinding past
functions with return pointer authentication.
- Android needs two libunwind static libraries: one with symbols exported and
one without. These both need to be in the same build tree so
the libunwind_hermetic_static_library configuration option doesn't
help here. Replace it with build rules that build both libraries.
- Install the libraries in the location that Android expects them to be.
Differential Revision: https://reviews.llvm.org/D96563
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions