aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-24 18:24:42 +0000
committerChris Lattner <sabre@nondot.org>2009-06-24 18:24:42 +0000
commit52cff8352622c38a1ab95daffca92a45f81ef02a (patch)
treea1e82b0bbabc04f1529a5dceb171d3f9fe68484b /lib/Target
parent8f61f984b0c4584709cf5e41414e882a32766a3f (diff)
downloadexternal_llvm-52cff8352622c38a1ab95daffca92a45f81ef02a.zip
external_llvm-52cff8352622c38a1ab95daffca92a45f81ef02a.tar.gz
external_llvm-52cff8352622c38a1ab95daffca92a45f81ef02a.tar.bz2
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
index 9eabfc0..02f10f6 100644
--- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
+++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
@@ -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';