mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
print null values in bss
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9dca7ad78f
commit
560a8d0512
@ -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…
x
Reference in New Issue
Block a user