commit | df39be6cb4eb44011db3d3e86f8fe463f81ce127 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Wed Apr 17 21:18:16 2013 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Wed Apr 17 21:18:16 2013 +0000 |
tree | a008e657a29cef0e9c842f58d4eebb9bd45aba2b | |
parent | 53c9def43359f9b908565b28340e461ce5463009 [diff] [blame] |
Add support for subsections to the ELF assembler. Fixes PR8717. Differential Revision: http://llvm-reviews.chandlerc.com/D598 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179725 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/MC/MCSectionCOFF.cpp b/lib/MC/MCSectionCOFF.cpp index aac9377..6cedf06 100644 --- a/lib/MC/MCSectionCOFF.cpp +++ b/lib/MC/MCSectionCOFF.cpp
@@ -29,7 +29,8 @@ } void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI, - raw_ostream &OS) const { + raw_ostream &OS, + const MCExpr *Subsection) const { // standard sections don't require the '.section' if (ShouldOmitSectionDirective(SectionName, MAI)) {