mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
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:
parent
8f61f984b0
commit
52cff83526
@ -1169,9 +1169,9 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
|
|||||||
|
|
||||||
if (!HiddenGVStubs.empty()) {
|
if (!HiddenGVStubs.empty()) {
|
||||||
SwitchToSection(TAI->getDataSection());
|
SwitchToSection(TAI->getDataSection());
|
||||||
|
EmitAlignment(2);
|
||||||
for (StringSet<>::iterator I = HiddenGVStubs.begin(),
|
for (StringSet<>::iterator I = HiddenGVStubs.begin(),
|
||||||
E = HiddenGVStubs.end(); I != E; ++I) {
|
E = HiddenGVStubs.end(); I != E; ++I) {
|
||||||
EmitAlignment(2);
|
|
||||||
const char *Name = I->getKeyData();
|
const char *Name = I->getKeyData();
|
||||||
printSuffixedName(Name, "$non_lazy_ptr");
|
printSuffixedName(Name, "$non_lazy_ptr");
|
||||||
O << ":\n" << TAI->getData32bitsDirective() << Name << '\n';
|
O << ":\n" << TAI->getData32bitsDirective() << Name << '\n';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user