Lines Matching defs:Stubs
123 void EmitFunctionStubs(const MachineModuleInfoMachO::SymbolListTy &Stubs);
176 // External or weakly linked global variables need non-lazily-resolved stubs
779 MachineModuleInfoELF::SymbolListTy Stubs = MMIELF.GetGVStubList();
780 if (!Stubs.empty()) {
782 for (unsigned i = 0, e = Stubs.size(); i != e; ++i) {
784 OutStreamer.EmitLabel(Stubs[i].first);
786 OutStreamer.EmitValue(MCSymbolRefExpr::Create(Stubs[i].second.getPointer(),
791 Stubs.clear();
888 EmitFunctionStubs(const MachineModuleInfoMachO::SymbolListTy &Stubs) {
898 // Output stubs for dynamically-linked functions
905 for (unsigned i = 0, e = Stubs.size(); i != e; ++i) {
909 MCSymbol *Stub = Stubs[i].first;
910 MCSymbol *RawSym = Stubs[i].second.getPointer();
973 for (unsigned i = 0, e = Stubs.size(); i != e; ++i) {
974 MCSymbol *Stub = Stubs[i].first;
975 MCSymbol *RawSym = Stubs[i].second.getPointer();
1033 MachineModuleInfoMachO::SymbolListTy Stubs = MMIMacho.GetFnStubList();
1034 if (!Stubs.empty())
1035 EmitFunctionStubs(Stubs);
1052 // Output stubs for dynamically-linked functions.
1053 Stubs = MMIMacho.GetGVStubList();
1055 // Output macho stubs for external and common global variables.
1056 if (!Stubs.empty()) {
1061 for (unsigned i = 0, e = Stubs.size(); i != e; ++i) {
1063 OutStreamer.EmitLabel(Stubs[i].first);
1065 MachineModuleInfoImpl::StubValueTy &MCSym = Stubs[i].second;
1083 Stubs.clear();
1087 Stubs = MMIMacho.GetHiddenGVStubList();
1088 if (!Stubs.empty()) {
1092 for (unsigned i = 0, e = Stubs.size(); i != e; ++i) {
1094 OutStreamer.EmitLabel(Stubs[i].first);
1097 Create(Stubs[i].second.getPointer(),
1102 Stubs.clear();