forked from OSchip/llvm-project
parent
0cd8d14c7c
commit
3576405a26
|
@ -303,8 +303,10 @@ bool ARMAsmPrinter::doFinalization(Module &M) {
|
|||
break;
|
||||
}
|
||||
|
||||
assert (!C->isNullValue());
|
||||
SwitchToDataSection(".data", I);
|
||||
if (C->isNullValue())
|
||||
SwitchToDataSection(".bss", I);
|
||||
else
|
||||
SwitchToDataSection(".data", I);
|
||||
|
||||
EmitAlignment(Align, I);
|
||||
O << "\t.type " << name << ", %object\n";
|
||||
|
|
Loading…
Reference in New Issue