mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "llvm/MC/MCSectionELF.h"
|
||||
#include "llvm/MC/MCContext.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Target/TargetAsmInfo.h"
|
||||
#include "llvm/MC/MCAsmInfo.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
@@ -23,7 +23,7 @@ Create(const StringRef &Section, unsigned Type, unsigned Flags,
|
||||
// ShouldOmitSectionDirective - Decides whether a '.section' directive
|
||||
// should be printed before the section name
|
||||
bool MCSectionELF::ShouldOmitSectionDirective(const char *Name,
|
||||
const TargetAsmInfo &TAI) const {
|
||||
const MCAsmInfo &TAI) const {
|
||||
|
||||
// FIXME: Does .section .bss/.data/.text work everywhere??
|
||||
if (strcmp(Name, ".text") == 0 ||
|
||||
@@ -44,7 +44,7 @@ bool MCSectionELF::ShouldPrintSectionType(unsigned Ty) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void MCSectionELF::PrintSwitchToSection(const TargetAsmInfo &TAI,
|
||||
void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &TAI,
|
||||
raw_ostream &OS) const {
|
||||
|
||||
if (ShouldOmitSectionDirective(SectionName.c_str(), TAI)) {
|
||||
|
||||
Reference in New Issue
Block a user