Add some section and constant support for darwin TLS.
[oota-llvm.git] / lib / Target / X86 / X86AsmBackend.cpp
index 8ee836e1c618771b0dc2c73e360304ebcb27ee4a..6abba5a623c569b2077dd2c9a58a35c992c78982 100644 (file)
@@ -222,7 +222,8 @@ public:
   bool isVirtualSection(const MCSection &Section) const {
     const MCSectionMachO &SMO = static_cast<const MCSectionMachO&>(Section);
     return (SMO.getType() == MCSectionMachO::S_ZEROFILL ||
-            SMO.getType() == MCSectionMachO::S_GB_ZEROFILL);
+            SMO.getType() == MCSectionMachO::S_GB_ZEROFILL ||
+            SMO.getType() == MCSectionMachO::S_THREAD_LOCAL_ZEROFILL);
   }
 };