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