summaryrefslogtreecommitdiff
path: root/compiler/debug/dwarf/dwarf_constants.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2019-02-08 15:51:31 +0000
committer David Srbecky <dsrbecky@google.com> 2019-02-12 13:51:16 +0000
commit91b290038cbd00a48028922a5e76c0c39d6ebcb6 (patch)
tree0b05e3a20da9ae131b9299554b4c7efa7e156f7d /compiler/debug/dwarf/dwarf_constants.h
parent794350fd0e21aa9e259b6c45394494871e7fdb13 (diff)
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
Diffstat (limited to 'compiler/debug/dwarf/dwarf_constants.h')
-rw-r--r--compiler/debug/dwarf/dwarf_constants.h8
1 files changed, 0 insertions, 8 deletions
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