OSDN Git Service

Add --include-cfi compiler option.
authorDavid Srbecky <dsrbecky@google.com>
Sun, 12 Apr 2015 10:40:39 +0000 (11:40 +0100)
committerDavid Srbecky <dsrbecky@google.com>
Mon, 13 Apr 2015 20:24:12 +0000 (21:24 +0100)
commit8dc7324da5bd0f2afd2ab558ab04882329a61fe8
tree245ce4265cc31990fa6d2f6e792ccd9d44af1dc1
parent4af290af4e89cfbc3a4e1ada79909ccee353361a
Add --include-cfi compiler option.

Decouple generation of CFI from the rest of debug symbols.
This makes it possible to generate oat with CFI but without
the rest of debug symbols.

This is in line with intention of the .eh_frame section.
The section does not have the .debug_ prefix because it
is considered somewhat different to the rest of debug symbols.

Change-Id: I32816ecd4f30ac4e0dc69d69a4993e349c737f96
12 files changed:
compiler/dex/quick/codegen_util.cc
compiler/dex/quick/quick_cfi_test.cc
compiler/driver/compiler_options.cc
compiler/driver/compiler_options.h
compiler/elf_writer_debug.cc
compiler/elf_writer_debug.h
compiler/elf_writer_quick.cc
compiler/jit/jit_compiler.cc
compiler/jni/quick/jni_compiler.cc
compiler/oat_writer.cc
compiler/optimizing/optimizing_compiler.cc
dex2oat/dex2oat.cc