Merge "Make sure debug_frame is not compressed." into main
diff --git a/libc/Android.bp b/libc/Android.bp
index 174ecd9..ced306e 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1736,7 +1736,12 @@
arm: {
// TODO: This is to work around b/24465209. Remove after root cause is fixed.
pack_relocations: false,
- ldflags: ["-Wl,--hash-style=both"],
+ ldflags: [
+ "-Wl,--hash-style=both",
+ // Since we are preserving the debug_frame, do not compress
+ // in this case to make unwinds as fast as possible.
+ "-Wl,--compress-debug-sections=none",
+ ],
version_script: ":libc.arm.map",
no_libcrt: true,