From 526e39a02b73dd094348d63bbaf63bad5a3d7222 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Tue, 20 Nov 2007 23:25:17 +0000 Subject: [PATCH] File missing from previous patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44259 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetAsmInfo.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 3ec55ee4a3d..19a20f366d3 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -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; }