summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2015-10-26 10:57:09 +0000
committerDavid Srbecky <dsrbecky@google.com>2015-11-08 20:17:13 +0000
commit6d8c8f0344a706df651567387ede683ab3ec1b5f (patch)
tree2c2fe153db3dd59de6b175b040d1209e2e76728e /compiler/optimizing/graph_visualizer.cc
parent2264f624e41acf09b17c3961bd52966e43f2b58f (diff)
Rewrite ElfBuilder to make streaming directly to file easier.
The previous design required knowing all the sections and their sizes before even the first byte of the file was written. The new design allows sections to be written one by one without any knowledge of later sections. Furthermore, as soon as section is started, its virtual memory address is known, which removes the need for the various patching passes. The new ElfBuilder essentially tries to be a thin wrapper around OutputStream which keeps track where the various sections start/end and then writes their ELF headers. Change-Id: I817e7f3b41882e4e4b9b442cfe56e4ef2e26babd
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions