Merge "Make sure debug_frame is not compressed." into main am: 77704b7505

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2826691

Change-Id: Iaf31d10b9edc09fff35cfdcc181cb43dc1bac3e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Christopher Ferris 2023-11-11 01:39:16 +00:00 committed by Automerger Merge Worker
commit 93c0926a52

View file

@ -1736,7 +1736,12 @@ cc_defaults {
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,