projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for subsections to the ELF assembler. Fixes PR8717.
[oota-llvm.git]
/
lib
/
MC
/
MCSectionCOFF.cpp
diff --git
a/lib/MC/MCSectionCOFF.cpp
b/lib/MC/MCSectionCOFF.cpp
index aac93775aebef183abbdcc1f6b79a12342e49f41..6cedf0655cfd47806559fa6be555f2f9e6019a0c 100644
(file)
--- a/
lib/MC/MCSectionCOFF.cpp
+++ b/
lib/MC/MCSectionCOFF.cpp
@@
-29,7
+29,8
@@
bool MCSectionCOFF::ShouldOmitSectionDirective(StringRef Name,
}
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)) {