File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1186,7 +1186,7 @@ static void referenceStubBinder() {
1186
1186
// dyld_stub_binder is in libSystem.dylib, which is usually linked in. This
1187
1187
// isn't needed for correctness, but the presence of that symbol suppresses
1188
1188
// "no symbols" diagnostics from `nm`.
1189
- // StubHelperSection::setup () adds a reference and errors out if
1189
+ // StubHelperSection::setUp () adds a reference and errors out if
1190
1190
// dyld_stub_binder doesn't exist in case it is actually needed.
1191
1191
symtab->addUndefined (" dyld_stub_binder" , /* file=*/ nullptr , /* isWeak=*/ false );
1192
1192
}
Original file line number Diff line number Diff line change @@ -715,7 +715,7 @@ void StubHelperSection::writeTo(uint8_t *buf) const {
715
715
}
716
716
}
717
717
718
- void StubHelperSection::setup () {
718
+ void StubHelperSection::setUp () {
719
719
Symbol *binder = symtab->addUndefined (" dyld_stub_binder" , /* file=*/ nullptr ,
720
720
/* isWeakRef=*/ false );
721
721
if (auto *undefined = dyn_cast<Undefined>(binder))
@@ -769,7 +769,7 @@ void ObjCStubsSection::addEntry(Symbol *sym) {
769
769
symbols.push_back (newSym);
770
770
}
771
771
772
- void ObjCStubsSection::setup () {
772
+ void ObjCStubsSection::setUp () {
773
773
Symbol *objcMsgSend = symtab->addUndefined (" _objc_msgSend" , /* file=*/ nullptr ,
774
774
/* isWeakRef=*/ false );
775
775
objcMsgSend->used = true ;
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ class StubHelperSection final : public SyntheticSection {
304
304
bool isNeeded () const override ;
305
305
void writeTo (uint8_t *buf) const override ;
306
306
307
- void setup ();
307
+ void setUp ();
308
308
309
309
DylibSymbol *stubBinder = nullptr ;
310
310
Defined *dyldPrivate = nullptr ;
@@ -324,7 +324,7 @@ class ObjCStubsSection final : public SyntheticSection {
324
324
bool isNeeded () const override { return !symbols.empty (); }
325
325
void finalize () override { isec->isFinal = true ; }
326
326
void writeTo (uint8_t *buf) const override ;
327
- void setup ();
327
+ void setUp ();
328
328
329
329
static constexpr llvm::StringLiteral symbolPrefix = " _objc_msgSend$" ;
330
330
Original file line number Diff line number Diff line change @@ -1139,7 +1139,7 @@ template <class LP> void Writer::run() {
1139
1139
// InputSections, we should have `isec->canonical() == isec`.
1140
1140
scanSymbols ();
1141
1141
if (in.objcStubs ->isNeeded ())
1142
- in.objcStubs ->setup ();
1142
+ in.objcStubs ->setUp ();
1143
1143
scanRelocations ();
1144
1144
1145
1145
// Do not proceed if there was an undefined symbol.
@@ -1148,7 +1148,7 @@ template <class LP> void Writer::run() {
1148
1148
return ;
1149
1149
1150
1150
if (in.stubHelper ->isNeeded ())
1151
- in.stubHelper ->setup ();
1151
+ in.stubHelper ->setUp ();
1152
1152
1153
1153
if (in.objCImageInfo ->isNeeded ())
1154
1154
in.objCImageInfo ->finalizeContents ();
You can’t perform that action at this time.
0 commit comments