[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h

Lauro Ramos Venancio lauro.venancio at gmail.com
Fri Apr 20 14:38:40 PDT 2007



Changes in directory llvm/include/llvm/Target:

TargetAsmInfo.h updated: 1.28 -> 1.29
---
Log message:

Implement "general dynamic", "initial exec" and "local exec" TLS models for
X86 32 bits.


---
Diffs of the changes:  (+15 -1)

 TargetAsmInfo.h |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.28 llvm/include/llvm/Target/TargetAsmInfo.h:1.29
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.28	Wed Mar  7 19:00:38 2007
+++ llvm/include/llvm/Target/TargetAsmInfo.h	Fri Apr 20 16:38:10 2007
@@ -43,7 +43,15 @@
     /// target doesn't support a BSS section.
     ///
     const char *BSSSection;               // Default to ".bss".
-    
+
+    /// TLSDataSection - Section directive for Thread Local data.
+    ///
+    const char *TLSDataSection;// Defaults to ".section .tdata,"awT", at progbits".
+
+    /// TLSBSSSection - Section directive for Thread Local uninitialized data.
+    /// Null if this target doesn't support a BSS section.
+    ///
+    const char *TLSBSSSection;// Default to ".section .tbss,"awT", at nobits".
     /// ZeroFillDirective - Directive for emitting a global to the ZeroFill
     /// section on this target.  Null if this target doesn't support zerofill.
     const char *ZeroFillDirective;        // Default is null.
@@ -362,6 +370,12 @@
     const char *getBSSSection() const {
       return BSSSection;
     }
+    const char *getTLSDataSection() const {
+      return TLSDataSection;
+    }
+    const char *getTLSBSSSection() const {
+      return TLSBSSSection;
+    }
     const char *getZeroFillDirective() const {
       return ZeroFillDirective;
     }






More information about the llvm-commits mailing list