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; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits