summaryrefslogtreecommitdiff
path: root/compiler/elf_builder.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2016-02-05 09:40:10 +0000
committer David Srbecky <dsrbecky@google.com> 2016-02-05 11:29:14 +0000
commitae5d2738a2b941b543c3fd478af910d4cd16f2ba (patch)
treea198a7b0449c00938a35d013270d0db8bba197c9 /compiler/elf_builder.h
parentac6a195ec8e1b5a7a6bd3d0c53d8997ff7a5e2cc (diff)
Change the method which generates DWARF mini-debug-info.
This splits some code from CL198651. It moves the WriteSection call out one level and does not otherwise change behaviour. Change-Id: I7dc1c7c08b577b50bf6fa366a9b0ca757048b81e
Diffstat (limited to 'compiler/elf_builder.h')
-rw-r--r--compiler/elf_builder.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/elf_builder.h b/compiler/elf_builder.h
index bc7c83ed7d..b673eeb3b6 100644
--- a/compiler/elf_builder.h
+++ b/compiler/elf_builder.h
@@ -361,12 +361,6 @@ class ElfBuilder FINAL {
other_sections_.push_back(std::move(s));
}
- // Set where the next section will be allocated in the virtual address space.
- void SetVirtualAddress(Elf_Addr address) {
- DCHECK_GE(address, virtual_address_);
- virtual_address_ = address;
- }
-
// Reserve space for ELF header and program headers.
// We do not know the number of headers until later, so
// it is easiest to just reserve a fixed amount of space.