diff options
Diffstat (limited to 'llvm/lib/MC/MCSectionWasm.cpp')
| -rw-r--r-- | llvm/lib/MC/MCSectionWasm.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCSectionWasm.cpp b/llvm/lib/MC/MCSectionWasm.cpp index 81dc4329be6a..459913263268 100644 --- a/llvm/lib/MC/MCSectionWasm.cpp +++ b/llvm/lib/MC/MCSectionWasm.cpp @@ -64,9 +64,13 @@ void MCSectionWasm::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, OS << ",\""; if (IsPassive) - OS << "p"; + OS << 'p'; if (Group) - OS << "G"; + OS << 'G'; + if (SegmentFlags & wasm::WASM_SEG_FLAG_STRINGS) + OS << 'S'; + if (SegmentFlags & wasm::WASM_SEG_FLAG_TLS) + OS << 'T'; OS << '"'; |
