print null values in bss

llvm-svn: 31349
This commit is contained in:
Rafael Espindola 2006-11-01 14:26:44 +00:00
parent 0cd8d14c7c
commit 3576405a26
1 changed files with 4 additions and 2 deletions

View File

@ -303,7 +303,9 @@ bool ARMAsmPrinter::doFinalization(Module &M) {
break;
}
assert (!C->isNullValue());
if (C->isNullValue())
SwitchToDataSection(".bss", I);
else
SwitchToDataSection(".data", I);
EmitAlignment(Align, I);