Skip to content

Commit 515d571

Browse files
committed
Change variable spelling
1 parent fe56bd4 commit 515d571

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)