File missing from previous patch.
authorDale Johannesen <dalej@apple.com>
Tue, 20 Nov 2007 23:25:17 +0000 (23:25 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 20 Nov 2007 23:25:17 +0000 (23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44259 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetAsmInfo.h

index 3ec55ee4a3d05b2f4bafc92c08b45b217b3f3dc4..19a20f366d39ef0fb721f861dc2fe84c92a8e094 100644 (file)
@@ -260,6 +260,10 @@ namespace llvm {
     /// global as being a weak undefined symbol.
     const char *WeakRefDirective;         // Defaults to null.
     
+    /// WeakDefDirective - This directive, if non-null, is used to declare a
+    /// global as being a weak defined symbol.
+    const char *WeakDefDirective;         // 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".
@@ -300,6 +304,11 @@ namespace llvm {
     ///
     bool DwarfRequiresFrameSection; // Defaults to true.
 
+    /// GlobalEHDirective - This is the directive used to make exception frame
+    /// tables globally visible.
+    ///
+    const char *GlobalEHDirective;          // Defaults to NULL.
+
     /// DwarfSectionOffsetDirective - Special section offset directive.
     const char* DwarfSectionOffsetDirective; // Defaults to NULL
     
@@ -543,6 +552,9 @@ namespace llvm {
     const char *getWeakRefDirective() const {
       return WeakRefDirective;
     }
+    const char *getWeakDefDirective() const {
+      return WeakDefDirective;
+    }
     const char *getHiddenDirective() const {
       return HiddenDirective;
     }
@@ -570,6 +582,9 @@ namespace llvm {
     bool doesDwarfRequireFrameSection() const {
       return DwarfRequiresFrameSection;
     }
+    const char *getGlobalEHDirective() const {
+      return GlobalEHDirective;
+    }
     const char *getDwarfSectionOffsetDirective() const {
       return DwarfSectionOffsetDirective;
     }