File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ 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 =
121+ bool RequiresFirstSectionOutsideFirstPage =
122122 O.EncryptionInfoCommandIndex .has_value ();
123123 for (LoadCommand &LC : O.LoadCommands ) {
124124 auto &MLC = LC.MachOLoadCommand ;
@@ -173,9 +173,9 @@ uint64_t MachOLayoutBuilder::layoutSegments() {
173173 if (!Sec->hasValidOffset ()) {
174174 Sec->Offset = 0 ;
175175 } else {
176- if (FirstSectExtraEncryptableOffset ) {
176+ if (RequiresFirstSectionOutsideFirstPage ) {
177177 SectOffset = alignToPowerOf2 (SectOffset, PageSize);
178- FirstSectExtraEncryptableOffset = false ;
178+ RequiresFirstSectionOutsideFirstPage = false ;
179179 }
180180 Sec->Offset = SegOffset + SectOffset;
181181 Sec->Size = Sec->Content .size ();
You can’t perform that action at this time.
0 commit comments