Skip to content

Commit 7cb0fc4

Browse files
committed
Fix formatting
1 parent d09f3d7 commit 7cb0fc4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lld/MachO/SyntheticSections.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ void StubHelperSection::writeTo(uint8_t *buf) const {
791791

792792
void StubHelperSection::setUp() {
793793
Symbol *binder = symtab->addUndefined("dyld_stub_binder", /*file=*/nullptr,
794-
/*isWeakRef=*/false);
794+
/*isWeakRef=*/false);
795795
if (auto *undefined = dyn_cast<Undefined>(binder))
796796
treatUndefinedSymbol(*undefined,
797797
"lazy binding (normally in libSystem.dylib)");
@@ -1182,7 +1182,7 @@ void SymtabSection::emitObjectFileStab(ObjFile *file) {
11821182
StabsEntry stab(N_OSO);
11831183
stab.sect = target->cpuSubtype;
11841184
SmallString<261> path(!file->archiveName.empty() ? file->archiveName
1185-
: file->getName());
1185+
: file->getName());
11861186
std::error_code ec = sys::fs::make_absolute(path);
11871187
if (ec)
11881188
fatal("failed to get absolute path for " + path);
@@ -1548,9 +1548,9 @@ uint32_t StringTableSection::addString(StringRef str) {
15481548
if (!inserted)
15491549
return it->second;
15501550
}
1551-
1551+
15521552
strings.push_back(str);
1553-
size += str.size() + 1; // +1 for null terminator
1553+
size += str.size() + 1; // account for null terminator
15541554
return strx;
15551555
}
15561556

0 commit comments

Comments
 (0)