Skip to content

Commit 333a908

Browse files
committed
Fix ObjCopy
1 parent 47e5b2c commit 333a908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ObjCopy/COFF/COFFWriter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void COFFWriter::layoutSections() {
121121
Expected<size_t> COFFWriter::finalizeStringTable() {
122122
for (const auto &S : Obj.getSections())
123123
if (S.Name.size() > COFF::NameSize)
124-
StrTabBuilder.add(S.Name);
124+
StrTabBuilder.add(S.Name, /*Priority=*/UINT8_MAX);
125125

126126
for (const auto &S : Obj.getSymbols())
127127
if (S.Name.size() > COFF::NameSize)

0 commit comments

Comments
 (0)