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

Chris Lattner sabre at nondot.org
Sat Jan 13 22:27:39 PST 2007



Changes in directory llvm/include/llvm/Target:

TargetAsmInfo.h updated: 1.18 -> 1.19
---
Log message:

add a new HiddenDirective member for handling visibility.


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

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


Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.18 llvm/include/llvm/Target/TargetAsmInfo.h:1.19
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.18	Thu Dec 21 15:24:35 2006
+++ llvm/include/llvm/Target/TargetAsmInfo.h	Sun Jan 14 00:27:21 2007
@@ -216,6 +216,10 @@
     /// global as being a weak undefined symbol.
     const char *WeakRefDirective;         // Defaults to null.
     
+    /// HiddenDirective - This directive, if non-null, is used to declare a
+    /// global or function as having hidden visibility.
+    const char *HiddenDirective;          // Defaults to "\t.hidden\t".
+    
     //===--- Dwarf Emission Directives -----------------------------------===//
 
     /// HasLEB128 - True if target asm supports leb128 directives.
@@ -429,6 +433,9 @@
     const char *getWeakRefDirective() const {
       return WeakRefDirective;
     }
+    const char *getHiddenDirective() const {
+      return HiddenDirective;
+    }
     bool hasLEB128() const {
       return HasLEB128;
     }






More information about the llvm-commits mailing list