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
diff --git a/compiler/cfi_test.h b/compiler/cfi_test.h
index 658bdb3..bc816da 100644
--- a/compiler/cfi_test.h
+++ b/compiler/cfi_test.h
@@ -32,8 +32,6 @@
 
 namespace art {
 
-constexpr dwarf::CFIFormat kCFIFormat = dwarf::DW_DEBUG_FRAME_FORMAT;
-
 class CFITest : public dwarf::DwarfTest {
  public:
   void GenerateExpected(FILE* f, InstructionSet isa, const char* isa_str,
@@ -50,7 +48,7 @@
     // Pretty-print CFI opcodes.
     constexpr bool is64bit = false;
     dwarf::DebugFrameOpCodeWriter<> initial_opcodes;
-    dwarf::WriteCIE(is64bit, dwarf::Reg(8), initial_opcodes, kCFIFormat, &debug_frame_data_);
+    dwarf::WriteCIE(is64bit, dwarf::Reg(8), initial_opcodes, &debug_frame_data_);
     std::vector<uintptr_t> debug_frame_patches;
     dwarf::WriteFDE(is64bit,
                     /* section_address= */ 0,
@@ -58,7 +56,6 @@
                     /* code_address= */ 0,
                     actual_asm.size(),
                     actual_cfi,
-                    kCFIFormat,
                     /* buffer_address= */ 0,
                     &debug_frame_data_,
                     &debug_frame_patches);