only emit one .align for all the hidden gv stubs instead of one for each.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-06-24 18:24:42 +00:00
parent 8f61f984b0
commit 52cff83526

View File

@ -1169,9 +1169,9 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
if (!HiddenGVStubs.empty()) {
SwitchToSection(TAI->getDataSection());
EmitAlignment(2);
for (StringSet<>::iterator I = HiddenGVStubs.begin(),
E = HiddenGVStubs.end(); I != E; ++I) {
EmitAlignment(2);
const char *Name = I->getKeyData();
printSuffixedName(Name, "$non_lazy_ptr");
O << ":\n" << TAI->getData32bitsDirective() << Name << '\n';