diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
commit | af76e592c7f9deff0e55c13dbb4a34f07f1c7f64 (patch) | |
tree | 7a9d9824fa8735ec1a2eed14653689ce31b567a1 /lib/MC/MCSectionELF.cpp | |
parent | 9c52affd374e20b212d3266050f13d87ba80e36d (diff) | |
download | llvm-af76e592c7f9deff0e55c13dbb4a34f07f1c7f64.tar.gz llvm-af76e592c7f9deff0e55c13dbb4a34f07f1c7f64.tar.bz2 llvm-af76e592c7f9deff0e55c13dbb4a34f07f1c7f64.tar.xz |
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCSectionELF.cpp')
-rw-r--r-- | lib/MC/MCSectionELF.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/MC/MCSectionELF.cpp b/lib/MC/MCSectionELF.cpp index fe0fcb3a06..96f8429ad9 100644 --- a/lib/MC/MCSectionELF.cpp +++ b/lib/MC/MCSectionELF.cpp @@ -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)) { |