OSDN Git Service

Add ElfWriter::GetStream().
authorVladimir Marko <vmarko@google.com>
Thu, 3 Dec 2015 18:29:23 +0000 (18:29 +0000)
committerVladimir Marko <vmarko@google.com>
Fri, 4 Dec 2015 15:58:02 +0000 (15:58 +0000)
commit131980fc9aeb2b4d03480443e0fb494c76ce03a2
treea071f8a706146ed4279c3cbe933d9a46910f480d
parent68cebffee2f44f0345bd7be7e4cbad0f10e64082
Add ElfWriter::GetStream().

This will be used for writing the OatHeader which is
currently oddly written through the .text stream.

Also move the error delaying output stream out of the
ElfBuilder<> to its own file and move all output stream
files to compiler/linker/.

Change-Id: I00db4e33ed80ac4757ec459946c7b5ae014a3a2e
23 files changed:
build/Android.gtest.mk
compiler/Android.mk
compiler/dwarf/dwarf_test.h
compiler/elf_builder.h
compiler/elf_writer.h
compiler/elf_writer_quick.cc
compiler/image_test.cc
compiler/linker/arm/relative_patcher_arm_base.cc
compiler/linker/arm64/relative_patcher_arm64.cc
compiler/linker/buffered_output_stream.cc [moved from compiler/buffered_output_stream.cc with 100% similarity]
compiler/linker/buffered_output_stream.h [moved from compiler/buffered_output_stream.h with 88% similarity]
compiler/linker/error_delaying_output_stream.h [new file with mode: 0644]
compiler/linker/file_output_stream.cc [moved from compiler/file_output_stream.cc with 100% similarity]
compiler/linker/file_output_stream.h [moved from compiler/file_output_stream.h with 87% similarity]
compiler/linker/output_stream.cc [moved from compiler/output_stream.cc with 100% similarity]
compiler/linker/output_stream.h [moved from compiler/output_stream.h with 91% similarity]
compiler/linker/output_stream_test.cc [moved from compiler/output_stream_test.cc with 100% similarity]
compiler/linker/vector_output_stream.cc [moved from compiler/vector_output_stream.cc with 94% similarity]
compiler/linker/vector_output_stream.h [moved from compiler/vector_output_stream.h with 91% similarity]
compiler/oat_test.cc
compiler/oat_writer.cc
dex2oat/dex2oat.cc
oatdump/oatdump.cc