Skip to content

Commit 4e0bde2

Browse files
committed
init size to zero
1 parent d47f1b9 commit 4e0bde2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lld/MachO/SyntheticSections.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,6 +1727,7 @@ static Align getStringPieceAlignment(const CStringInputSection *isec,
17271727
}
17281728

17291729
void CStringSection::finalizeContents() {
1730+
size = 0;
17301731
// TODO: Call buildCStringPriorities() to support cstring ordering when
17311732
// deduplication is off, although this may negatively impact build
17321733
// performance.

0 commit comments

Comments
 (0)