Do not force unwind info to debug_frame.
The .cfi_sections directive was forcing unwind information into the
debug_frame, which is stripped out. This causes any unwinds done by
libunwind/debuggerd through these art functions to terminate prematurely.
Bug: 15350524
(cherry picked from commit cdb3fa5839f206383c7c20a29f5a3e7f5992aa04)
Change-Id: I4c4b1093e99a54dda308508c2c4a0280696fdc6d
diff --git a/runtime/arch/arm/asm_support_arm.S b/runtime/arch/arm/asm_support_arm.S
index 594252a..c4f68af 100644
--- a/runtime/arch/arm/asm_support_arm.S
+++ b/runtime/arch/arm/asm_support_arm.S
@@ -26,7 +26,6 @@
// Register holding Thread::Current().
#define rSELF r9
-.cfi_sections .debug_frame
.syntax unified
.arch armv7-a
.thumb
diff --git a/runtime/arch/arm64/asm_support_arm64.S b/runtime/arch/arm64/asm_support_arm64.S
index b94375e..55de1ec 100644
--- a/runtime/arch/arm64/asm_support_arm64.S
+++ b/runtime/arch/arm64/asm_support_arm64.S
@@ -35,8 +35,6 @@
#define xIP1 x17
-.cfi_sections .debug_frame
-
.macro ENTRY name
.type \name, #function
.global \name