File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ uint64_t MachOLayoutBuilder::layoutSegments() {
118118 uint64_t Offset = IsObjectFile ? (HeaderSize + O.Header .SizeOfCmds ) : 0 ;
119119 // If we are emitting an encryptable binary, our load commands must have a
120120 // separate (non-encrypted) page to themselves.
121- bool FirstSectExtraEncryptableOffset = O.EncryptionInfoCommandIndex .has_value ();
121+ bool FirstSectExtraEncryptableOffset =
122+ O.EncryptionInfoCommandIndex .has_value ();
122123 for (LoadCommand &LC : O.LoadCommands ) {
123124 auto &MLC = LC.MachOLoadCommand ;
124125 StringRef Segname;
@@ -173,7 +174,7 @@ uint64_t MachOLayoutBuilder::layoutSegments() {
173174 Sec->Offset = 0 ;
174175 } else {
175176 if (FirstSectExtraEncryptableOffset) {
176- SectOffset = alignToPowerOf2 (SectOffset, PageSize);
177+ SectOffset = alignToPowerOf2 (SectOffset, PageSize);
177178 FirstSectExtraEncryptableOffset = false ;
178179 }
179180 Sec->Offset = SegOffset + SectOffset;
You can’t perform that action at this time.
0 commit comments