summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSectionWasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/MCSectionWasm.cpp')
-rw-r--r--llvm/lib/MC/MCSectionWasm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCSectionWasm.cpp b/llvm/lib/MC/MCSectionWasm.cpp
index 164ded9a1f8..8633c10a73f 100644
--- a/llvm/lib/MC/MCSectionWasm.cpp
+++ b/llvm/lib/MC/MCSectionWasm.cpp
@@ -62,7 +62,8 @@ void MCSectionWasm::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T,
printName(OS, getSectionName());
OS << ",\"";
- // TODO: Print section flags.
+ if (IsPassive)
+ OS << "passive";
OS << '"';
OpenPOWER on IntegriCloud