Skip to content

Commit ac31e68

Browse files
committed
split llvm-copy changes to another PR
1 parent ff8fce2 commit ac31e68

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, /*Priority=*/UINT8_MAX);
124+
StrTabBuilder.add(S.Name);
125125

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

0 commit comments

Comments
 (0)