Changes in directory llvm/include/llvm/Target:

TargetAsmInfo.h updated: 1.14 -> 1.15
---
Log message:

Add weak reference directive.

---
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.14 
llvm/include/llvm/Target/TargetAsmInfo.h:1.15
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.14       Tue Nov 28 19:12:32 2006
+++ llvm/include/llvm/Target/TargetAsmInfo.h    Fri Dec  1 14:45:48 2006
@@ -211,6 +211,10 @@
     /// as being used somehow that the assembler can't see.  This prevents dead
     /// code elimination on some targets.
     const char *UsedDirective;            // Defaults to null.
+
+    /// WeakRefDirective - This directive, if non-null, is used to decalre a
+    /// global as being a weak undefined symbol.
+    const char *WeakRefDirective;         // Defaults to null.
     
     //===--- Dwarf Emission Directives -----------------------------------===//
 
@@ -422,6 +426,9 @@
     const char *getUsedDirective() const {
       return UsedDirective;
     }
+    const char *getWeakRefDirective() const {
+      return WeakRefDirective;
+    }
     bool hasLEB128() const {
       return HasLEB128;
     }



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

Reply via email to