aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-10 18:01:34 +0000
committerChris Lattner <sabre@nondot.org>2009-08-10 18:01:34 +0000
commitc076a9793936b140364671a5e39ee53bd266c6c3 (patch)
tree6d31d39e0f7559942d278f303be5be23f577343d /lib/Target
parente1e8a82986e12f9cf841004c78ff051df9df11d8 (diff)
downloadexternal_llvm-c076a9793936b140364671a5e39ee53bd266c6c3.zip
external_llvm-c076a9793936b140364671a5e39ee53bd266c6c3.tar.gz
external_llvm-c076a9793936b140364671a5e39ee53bd266c6c3.tar.bz2
make sure that arm nonlazypointers are aligned properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
index 9f79938..15c42d6 100644
--- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
@@ -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";