aboutsummaryrefslogtreecommitdiff
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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCSectionWasm.cpp b/llvm/lib/MC/MCSectionWasm.cpp
index 9faa4ca..4599132 100644
--- a/llvm/lib/MC/MCSectionWasm.cpp
+++ b/llvm/lib/MC/MCSectionWasm.cpp
@@ -69,6 +69,8 @@ void MCSectionWasm::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T,
OS << 'G';
if (SegmentFlags & wasm::WASM_SEG_FLAG_STRINGS)
OS << 'S';
+ if (SegmentFlags & wasm::WASM_SEG_FLAG_TLS)
+ OS << 'T';
OS << '"';