aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-12-24 08:05:17 +0000
committerBill Wendling <isanbard@gmail.com>2008-12-24 08:05:17 +0000
commit722f5f1cfb9a5e59a4c00986d81b04b0c015703d (patch)
tree498a47db9b3bb7557d939057d5e7876a3cf0c93e /include
parentd4121bef3cf3af51b80c2d499085a96aca5982ed (diff)
downloadexternal_llvm-722f5f1cfb9a5e59a4c00986d81b04b0c015703d.zip
external_llvm-722f5f1cfb9a5e59a4c00986d81b04b0c015703d.tar.gz
external_llvm-722f5f1cfb9a5e59a4c00986d81b04b0c015703d.tar.bz2
Darwin likes for the EH frame to be non-local.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 6080619..aa9c145 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -453,6 +453,10 @@ namespace llvm {
///
bool FDEEncodingRequiresSData4; // Defaults to true
+ /// NonLocalEHFrameLabel - If set, the EH_frame label needs to be non-local.
+ ///
+ bool NonLocalEHFrameLabel; // Defaults to false.
+
/// GlobalEHDirective - This is the directive used to make exception frame
/// tables globally visible.
///
@@ -822,6 +826,9 @@ namespace llvm {
bool doesFDEEncodingRequireSData4() const {
return FDEEncodingRequiresSData4;
}
+ bool doesRequireNonLocalEHFrameLabel() const {
+ return NonLocalEHFrameLabel;
+ }
const char *getGlobalEHDirective() const {
return GlobalEHDirective;
}