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

Chris Lattner sabre at nondot.org
Wed Jan 17 09:42:58 PST 2007



Changes in directory llvm/include/llvm/Target:

TargetAsmInfo.h updated: 1.21 -> 1.22
---
Log message:

document that BSSSection can be null.
Add new ZeroFillDirective directive.


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

 TargetAsmInfo.h |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.21 llvm/include/llvm/Target/TargetAsmInfo.h:1.22
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.21	Wed Jan 17 04:33:08 2007
+++ llvm/include/llvm/Target/TargetAsmInfo.h	Wed Jan 17 11:42:30 2007
@@ -39,10 +39,15 @@
     ///
     const char *DataSection;              // Defaults to ".data".
 
-    /// BSSSection - Section directive for uninitialized data.
+    /// BSSSection - Section directive for uninitialized data.  Null if this
+    /// target doesn't support a BSS section.
     ///
     const char *BSSSection;               // Default to ".bss".
     
+    /// 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.
+    
     /// AddressSize - Size of addresses used in file.
     ///
     unsigned AddressSize;                 // Defaults to 4.
@@ -320,6 +325,9 @@
     const char *getBSSSection() const {
       return BSSSection;
     }
+    const char *getZeroFillDirective() const {
+      return ZeroFillDirective;
+    }
     unsigned getAddressSize() const {
       return AddressSize;
     }






More information about the llvm-commits mailing list