[mips][microMIPS] Mark symbols as microMIPS if necessary

Differential Revision: http://reviews.llvm.org/D6039


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zoran Jovanovic
2014-11-05 16:35:20 +00:00
parent e9b9ca452f
commit 0f0a134d9d
5 changed files with 143 additions and 2 deletions

View File

@@ -346,8 +346,8 @@ public:
/// @p Section. This is required to update CurSection.
///
/// This corresponds to assembler directives like .section, .text, etc.
void SwitchSection(const MCSection *Section,
const MCExpr *Subsection = nullptr) {
virtual void SwitchSection(const MCSection *Section,
const MCExpr *Subsection = nullptr) {
assert(Section && "Cannot switch to a null section!");
MCSectionSubPair curSection = SectionStack.back().first;
SectionStack.back().second = curSection;