1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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

llvm-svn: 74094
This commit is contained in:
Chris Lattner 2009-06-24 18:24:42 +00:00
parent 0cb01a746f
commit afabad6552

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';