Changes in directory llvm/include/llvm/Target:

TargetAsmInfo.h updated: 1.9 -> 1.10
---
Log message:

Added CStringSection.

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

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


Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.9 
llvm/include/llvm/Target/TargetAsmInfo.h:1.10
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.9        Fri Oct 13 12:50:07 2006
+++ llvm/include/llvm/Target/TargetAsmInfo.h    Thu Oct 26 14:16:20 2006
@@ -162,6 +162,12 @@
     /// table.
     const char *JumpTableDirective;
 
+    /// CStringSection - If not null, this allows for special handling of
+    /// cstring constants (\0 terminated string that does not contain any
+    /// other null bytes) on this target. This is commonly supported as
+    /// ".cstring".
+    const char *CStringSection;           // Defaults to NULL
+
     /// StaticCtorsSection - This is the directive that is emitted to switch to
     /// a section to emit the static constructor list.
     /// Defaults to "\t.section .ctors,\"aw\",@progbits".
@@ -366,6 +372,9 @@
     const char *getJumpTableDataSection() const {
       return JumpTableDataSection;
     }
+    const char *getCStringSection() const {
+      return CStringSection;
+    }
     const char *getStaticCtorsSection() const {
       return StaticCtorsSection;
     }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to