mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
MC/COFF: Correctly emit the size of an empty string table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d76a78462
commit
0d64632c9e
@ -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…
x
Reference in New Issue
Block a user