From 91b290038cbd00a48028922a5e76c0c39d6ebcb6 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Fri, 8 Feb 2019 15:51:31 +0000 Subject: Remove support for generating .eh_frame ELF section. The eh_frame support was originally added because the old libunwind library didn't support debug_frame. The new libunwind supports debug_frame well, and since we have switched to it, we can remove the legacy code. The main advantage of debug_frame is that it can be compressed as part of mini-debug-info. I am somewhat preserving the .eh_frame_hdr binary search table (renamed as .debug_frame_hdr.android). Bug: 123621350 Test: Generated framework oat files are identical. Change-Id: I35b18895482f2176e02df07b086af7a1d40f90d5 --- compiler/debug/dwarf/dwarf_constants.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'compiler/debug/dwarf/dwarf_constants.h') diff --git a/compiler/debug/dwarf/dwarf_constants.h b/compiler/debug/dwarf/dwarf_constants.h index 96f805e85f..7beb1fa7da 100644 --- a/compiler/debug/dwarf/dwarf_constants.h +++ b/compiler/debug/dwarf/dwarf_constants.h @@ -680,14 +680,6 @@ enum ExceptionHeaderValueApplication : uint8_t { DW_EH_PE_aligned = 0x50, }; -enum CFIFormat : uint8_t { - // This is the original format as defined by the specification. - // It is used for the .debug_frame section. - DW_DEBUG_FRAME_FORMAT, - // Slightly modified format used for the .eh_frame section. - DW_EH_FRAME_FORMAT -}; - } // namespace dwarf } // namespace art -- cgit v1.2.3-59-g8ed1b