forked from OSchip/llvm-project
parent
6476a3b4ba
commit
db66456285
|
@ -291,8 +291,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||||
SwitchToDataSection("");
|
SwitchToDataSection("");
|
||||||
|
|
||||||
for (std::set<std::string>::iterator i = ExtWeakSymbols.begin(),
|
for (std::set<std::string>::iterator i = ExtWeakSymbols.begin(),
|
||||||
e = ExtWeakSymbols.end();
|
e = ExtWeakSymbols.end(); i != e; ++i) {
|
||||||
i != e; ++i) {
|
|
||||||
O << (Subtarget->isTargetDarwin() ? "\t.weak_reference" : "\t.weak")
|
O << (Subtarget->isTargetDarwin() ? "\t.weak_reference" : "\t.weak")
|
||||||
<< " " << *i << "\n";
|
<< " " << *i << "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue