aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-11-20 23:25:17 +0000
committerDale Johannesen <dalej@apple.com>2007-11-20 23:25:17 +0000
commit526e39a02b73dd094348d63bbaf63bad5a3d7222 (patch)
tree64a0e7dfea69abd4b668036ce7b86be5215a447c
parent1d4ce2ab962fee691239d58c8157c12b8037f9de (diff)
downloadexternal_llvm-526e39a02b73dd094348d63bbaf63bad5a3d7222.zip
external_llvm-526e39a02b73dd094348d63bbaf63bad5a3d7222.tar.gz
external_llvm-526e39a02b73dd094348d63bbaf63bad5a3d7222.tar.bz2
File missing from previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44259 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetAsmInfo.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 3ec55ee..19a20f3 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;
}