mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
MC: Add target hook to control symbol quoting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -64,8 +64,10 @@ void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI,
|
||||
|
||||
if (ShouldOmitSectionDirective(SectionName, MAI)) {
|
||||
OS << '\t' << getSectionName();
|
||||
if (Subsection)
|
||||
OS << '\t' << *Subsection;
|
||||
if (Subsection) {
|
||||
OS << '\t';
|
||||
Subsection->print(OS, &MAI);
|
||||
}
|
||||
OS << '\n';
|
||||
return;
|
||||
}
|
||||
@@ -153,8 +155,11 @@ void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI,
|
||||
|
||||
OS << '\n';
|
||||
|
||||
if (Subsection)
|
||||
OS << "\t.subsection\t" << *Subsection << '\n';
|
||||
if (Subsection) {
|
||||
OS << "\t.subsection\t";
|
||||
Subsection->print(OS, &MAI);
|
||||
OS << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
bool MCSectionELF::UseCodeAlign() const {
|
||||
|
Reference in New Issue
Block a user