Layout helper function.

Introduce a helper method to add a section to the end of a layout. This
will be used by the ELF ObjectWriter code to add the metadata sections
(symbol table, etc) to the end of an object file.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Fleming
2010-08-16 18:35:06 +00:00
parent 6c8b3d2f1f
commit a8bf473fb1
2 changed files with 36 additions and 0 deletions

View File

@@ -664,6 +664,8 @@ public:
void WriteSectionData(const MCSectionData *Section, const MCAsmLayout &Layout,
MCObjectWriter *OW) const;
void AddSectionToTheEnd(MCSectionData &SD, MCAsmLayout &Layout);
public:
/// Construct a new assembler instance.
///