Skip to content

Commit 1f929aa

Browse files
committed
[dsymutil] Fix MachOUtils formatting (NFC)
1 parent 1783185 commit 1f929aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/tools/dsymutil/MachOUtils.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,9 @@ static bool createDwarfSegment(uint64_t VMAddr, uint64_t FileOffset,
328328
VMAddr = alignTo(VMAddr, Alignment);
329329
FileOffset = alignTo(FileOffset, Alignment);
330330
if (FileOffset > UINT32_MAX)
331-
return error("section " + Sec->getName() + "'s file offset exceeds 4GB."
332-
" Refusing to produce an invalid Mach-O file.");
331+
return error("section " + Sec->getName() +
332+
"'s file offset exceeds 4GB."
333+
" Refusing to produce an invalid Mach-O file.");
333334
}
334335
Writer.writeSection(Layout, *Sec, VMAddr, FileOffset, 0, 0, 0);
335336

@@ -414,7 +415,7 @@ bool generateDsymCompanion(
414415
++NumLoadCommands;
415416
LoadCommandSize += sizeof(UUIDCmd);
416417
break;
417-
case MachO::LC_BUILD_VERSION: {
418+
case MachO::LC_BUILD_VERSION: {
418419
MachO::build_version_command Cmd;
419420
memset(&Cmd, 0, sizeof(Cmd));
420421
Cmd = InputBinary.getBuildVersionLoadCommand(LCI);

0 commit comments

Comments
 (0)