From: Chris Lattner Date: Mon, 10 Aug 2009 18:02:16 +0000 (+0000) Subject: arm only needs to emit one .align directive for hidden nlp's, not one X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f3231de60bb64c3f6fc6770b3e6174f4f839a4f3;p=oota-llvm.git arm only needs to emit one .align directive for hidden nlp's, not one per pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78574 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 15c42d6f480..114558d5552 100644 --- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -1348,9 +1348,9 @@ bool ARMAsmPrinter::doFinalization(Module &M) { if (!HiddenGVNonLazyPtrs.empty()) { SwitchToSection(getObjFileLowering().getDataSection()); + EmitAlignment(2); for (StringMap::iterator I = HiddenGVNonLazyPtrs.begin(), E = HiddenGVNonLazyPtrs.end(); I != E; ++I) { - EmitAlignment(2); O << I->second << ":\n"; O << "\t.long " << I->getKeyData() << "\n"; }