[llvm-commits] [llvm] r104411 - /llvm/trunk/include/llvm/Target/TargetLoweringObjectFile.h

Eric Christopher echristo at apple.com
Fri May 21 17:00:58 PDT 2010


Author: echristo
Date: Fri May 21 19:00:58 2010
New Revision: 104411

URL: http://llvm.org/viewvc/llvm-project?rev=104411&view=rev
Log:
Add a new section and accessor for TLS data.

Modified:
    llvm/trunk/include/llvm/Target/TargetLoweringObjectFile.h

Modified: llvm/trunk/include/llvm/Target/TargetLoweringObjectFile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLoweringObjectFile.h?rev=104411&r1=104410&r2=104411&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLoweringObjectFile.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLoweringObjectFile.h Fri May 21 19:00:58 2010
@@ -88,6 +88,10 @@
   const MCSection *DwarfRangesSection;
   const MCSection *DwarfMacroInfoSection;
   
+  // Extra TLS Variable Data section.  If the target needs to put additional
+  // information for a TLS variable, it'll go here.
+  const MCSection *TLSExtraDataSection;
+  
   /// SupportsWeakEmptyEHFrame - True if target object file supports a
   /// weak_definition of constant 0 for an omitted EH frame.
   bool SupportsWeakOmittedEHFrame;
@@ -147,6 +151,9 @@
   const MCSection *getDwarfMacroInfoSection() const {
     return DwarfMacroInfoSection;
   }
+  const MCSection *getTLSExtraDataSection() const {
+    return TLSExtraDataSection;
+  }
   
   /// shouldEmitUsedDirectiveFor - This hook allows targets to selectively
   /// decide not to emit the UsedDirective for some symbols in llvm.used.





More information about the llvm-commits mailing list