Lines Matching refs:Stub
1 //===- Stub.cpp -----------------------------------------------------------===//
9 #include "mcld/Fragment/Stub.h"
20 Stub::Stub() : Fragment(Fragment::Stub), m_pSymInfo(NULL) {
23 Stub::~Stub() {
28 void Stub::setSymInfo(ResolveInfo* pSymInfo) {
32 void Stub::applyFixup(Relocation& pSrcReloc,
35 // build a name for stub symbol
43 // create LDSymbol for the stub
56 // add relocations of this stub (i.e., set the branch target of the stub)
67 void Stub::applyFixup(FragmentRef& pSrcFragRef,
70 // If applying fixups is based on the source FragmentRef, each target stub
72 assert(0 && "target stub should override this function");
75 void Stub::addFixup(DWord pOffset, SWord pAddend, Type pType) {
80 void Stub::addFixup(const Fixup& pFixup) {