forked from OSchip/llvm-project
parent
1604b02c4c
commit
66c816a6a3
|
@ -462,7 +462,7 @@ void Printer::printOp(const MachineOperand &MO,
|
||||||
}
|
}
|
||||||
|
|
||||||
// External global variables need a non-lazily-resolved stub
|
// External global variables need a non-lazily-resolved stub
|
||||||
if (GV->hasInternalLinkage() == false &&
|
if (!GV->hasInternalLinkage() &&
|
||||||
TM.AddressTaken.find(GV) != TM.AddressTaken.end()) {
|
TM.AddressTaken.find(GV) != TM.AddressTaken.end()) {
|
||||||
GVStubs.insert(Name);
|
GVStubs.insert(Name);
|
||||||
O << "L" << Name << "$non_lazy_ptr";
|
O << "L" << Name << "$non_lazy_ptr";
|
||||||
|
|
|
@ -462,7 +462,7 @@ void Printer::printOp(const MachineOperand &MO,
|
||||||
}
|
}
|
||||||
|
|
||||||
// External global variables need a non-lazily-resolved stub
|
// External global variables need a non-lazily-resolved stub
|
||||||
if (GV->hasInternalLinkage() == false &&
|
if (!GV->hasInternalLinkage() &&
|
||||||
TM.AddressTaken.find(GV) != TM.AddressTaken.end()) {
|
TM.AddressTaken.find(GV) != TM.AddressTaken.end()) {
|
||||||
GVStubs.insert(Name);
|
GVStubs.insert(Name);
|
||||||
O << "L" << Name << "$non_lazy_ptr";
|
O << "L" << Name << "$non_lazy_ptr";
|
||||||
|
|
Loading…
Reference in New Issue