make sure that arm nonlazypointers are aligned properly

llvm-svn: 78573
This commit is contained in:
Chris Lattner 2009-08-10 18:01:34 +00:00
parent 49b8a24b7e
commit b89551026b

View File

@ -1337,6 +1337,7 @@ bool ARMAsmPrinter::doFinalization(Module &M) {
if (!GVNonLazyPtrs.empty()) {
// Switch with ".non_lazy_symbol_pointer" directive.
SwitchToSection(TLOFMacho.getNonLazySymbolPointerSection());
EmitAlignment(2);
for (StringMap<std::string>::iterator I = GVNonLazyPtrs.begin(),
E = GVNonLazyPtrs.end(); I != E; ++I) {
O << I->second << ":\n";