mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
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
This commit is contained in:
parent
c076a97939
commit
f3231de60b
@ -1348,9 +1348,9 @@ bool ARMAsmPrinter::doFinalization(Module &M) {
|
||||
|
||||
if (!HiddenGVNonLazyPtrs.empty()) {
|
||||
SwitchToSection(getObjFileLowering().getDataSection());
|
||||
EmitAlignment(2);
|
||||
for (StringMap<std::string>::iterator I = HiddenGVNonLazyPtrs.begin(),
|
||||
E = HiddenGVNonLazyPtrs.end(); I != E; ++I) {
|
||||
EmitAlignment(2);
|
||||
O << I->second << ":\n";
|
||||
O << "\t.long " << I->getKeyData() << "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user