MC/COFF: Correctly emit the size of an empty string table.

llvm-svn: 144111
This commit is contained in:
Michael J. Spencer 2011-11-08 19:52:32 +00:00
parent 6ea1d665a7
commit 5ca95bc56f
1 changed files with 1 additions and 0 deletions

View File

@ -281,6 +281,7 @@ StringTable::StringTable() {
// The string table data begins with the length of the entire string table
// including the length header. Allocate space for this header.
Data.resize(4);
update_length();
}
size_t StringTable::size() const {