Displaying 1 result from an estimated 1 matches for "ispicstylestub".
2009 Jun 21
4
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
...printSuffixedName(Name, "$non_lazy_ptr");
}
} else {
printSuffixedName(Name, "$non_lazy_ptr");
}
where shouldPrintStub is:
static inline bool shouldPrintStub(TargetMachine &TM, const
X86Subtarget* ST) {
return ST->isPICStyleStub() && TM.getRelocationModel() !=
Reloc::Static;
}
This is really redundant with isel, because isel also needs to know
exactly which GV references go through a stub so that it isels the
access correctly.
My proposed fix for this is to add an 'unsigned char' slot to
MachineOp...