mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
MC/COFF: Correctly emit the size of an empty string table.
llvm-svn: 144111
This commit is contained in:
parent
a85aa24d64
commit
3b2694409f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user