forked from OSchip/llvm-project
parent
fd682802e3
commit
63aab8a84c
|
@ -1089,10 +1089,9 @@ void X86ATTAsmPrinter::printGVStub(const char *GV, const char *Prefix) {
|
||||||
|
|
||||||
/// printHiddenGVStub - Print stub for a hidden global value.
|
/// printHiddenGVStub - Print stub for a hidden global value.
|
||||||
///
|
///
|
||||||
void X86ATTAsmPrinter::printHiddenGVStub(const char *GV, const char *Prefix) {
|
void X86ATTAsmPrinter::printHiddenGVStub(const char *GV) {
|
||||||
EmitAlignment(2);
|
EmitAlignment(2);
|
||||||
printSuffixedName(GV, "$non_lazy_ptr", Prefix);
|
printSuffixedName(GV, "$non_lazy_ptr");
|
||||||
if (Prefix) O << Prefix;
|
|
||||||
O << ":\n" << TAI->getData32bitsDirective() << GV << '\n';
|
O << ":\n" << TAI->getData32bitsDirective() << GV << '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -189,7 +189,7 @@ class VISIBILITY_HIDDEN X86ATTAsmPrinter : public AsmPrinter {
|
||||||
void printModuleLevelGV(const GlobalVariable* GVar);
|
void printModuleLevelGV(const GlobalVariable* GVar);
|
||||||
|
|
||||||
void printGVStub(const char *GV, const char *Prefix = NULL);
|
void printGVStub(const char *GV, const char *Prefix = NULL);
|
||||||
void printHiddenGVStub(const char *GV, const char *Prefix = NULL);
|
void printHiddenGVStub(const char *GV);
|
||||||
|
|
||||||
bool runOnMachineFunction(MachineFunction &F);
|
bool runOnMachineFunction(MachineFunction &F);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue