Major refactor of the ELFWriter code. Instead of building up one big
authorChris Lattner <sabre@nondot.org>
Sat, 16 Jul 2005 08:01:13 +0000 (08:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 16 Jul 2005 08:01:13 +0000 (08:01 +0000)
commit5f48ff7d1f27891f129ff09f1bbd0fced8c41f5a
tree965d0a83800b477d7ef621413f75264265dda923
parent5a8441ea3fc145393d6274156bd05c4a006099ea
Major refactor of the ELFWriter code.  Instead of building up one big
vector that represents the .o file at once, build up a vector for each
section of the .o file.  This is needed because the .o file writer needs
to be able to switch between sections as it emits them (e.g. switch
between the .text section and the .rel section when emitting code).

This patch has no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22453 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ELFWriter.h
lib/CodeGen/ELFWriter.cpp