diff options
author | 2016-02-17 17:46:10 +0000 | |
---|---|---|
committer | 2016-02-17 17:46:10 +0000 | |
commit | 45724f9a0cc38dbb3071beb3eeab96499868b49c (patch) | |
tree | ecbe2d8109125de2031af7ac4e0f4fc03a3b6d12 /compiler/elf_writer.h | |
parent | 6065402316da2b51eed5fc34cffbd991766bd408 (diff) |
Revert "Allow method references across oat files for multi-image."
Breaks Quick tests.
This reverts commit 6065402316da2b51eed5fc34cffbd991766bd408.
Change-Id: I8a5469ba7cea5f46b85cb489b3e0ef06ed548f03
Diffstat (limited to 'compiler/elf_writer.h')
-rw-r--r-- | compiler/elf_writer.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/compiler/elf_writer.h b/compiler/elf_writer.h index c9ea0083d5..d50a08cb20 100644 --- a/compiler/elf_writer.h +++ b/compiler/elf_writer.h @@ -52,12 +52,14 @@ class ElfWriter { virtual ~ElfWriter() {} virtual void Start() = 0; - virtual void SetLoadedSectionSizes(size_t rodata_size, size_t text_size, size_t bss_size) = 0; - virtual void PrepareDebugInfo(const ArrayRef<const debug::MethodDebugInfo>& method_infos) = 0; + virtual void PrepareDebugInfo(size_t rodata_section_size, + size_t text_section_size, + const ArrayRef<const debug::MethodDebugInfo>& method_infos) = 0; virtual OutputStream* StartRoData() = 0; virtual void EndRoData(OutputStream* rodata) = 0; virtual OutputStream* StartText() = 0; virtual void EndText(OutputStream* text) = 0; + virtual void SetBssSize(size_t bss_size) = 0; virtual void WriteDynamicSection() = 0; virtual void WriteDebugInfo(const ArrayRef<const debug::MethodDebugInfo>& method_infos) = 0; virtual void WritePatchLocations(const ArrayRef<const uintptr_t>& patch_locations) = 0; @@ -68,9 +70,6 @@ class ElfWriter { // should Seek() back to the position where the stream was before this operation. virtual OutputStream* GetStream() = 0; - // Get the size that the loaded ELF file will occupy in memory. - virtual size_t GetLoadedSize() = 0; - protected: ElfWriter() = default; }; |