mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Copy and paste error. An initialized global cannot be a weak reference.
llvm-svn: 32075
This commit is contained in:
parent
8f43fbf759
commit
1d611158eb
@ -604,9 +604,6 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
|
||||
O << "\t\t; '" << I->getName() << "'\n";
|
||||
} else {
|
||||
switch (I->getLinkage()) {
|
||||
case GlobalValue::ExternalWeakLinkage:
|
||||
O << "\t.weak_reference " << name << "\n";
|
||||
break;
|
||||
case GlobalValue::LinkOnceLinkage:
|
||||
case GlobalValue::WeakLinkage:
|
||||
O << "\t.globl " << name << '\n'
|
||||
|
Loading…
Reference in New Issue
Block a user