aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-12-24 05:25:49 +0000
committerBill Wendling <isanbard@gmail.com>2008-12-24 05:25:49 +0000
commitd4121bef3cf3af51b80c2d499085a96aca5982ed (patch)
treef50d50442fc2c00817968e5a884467c44073def5 /include
parente5b7e0ec083f2e902e8612a95c33335a08da83aa (diff)
downloadexternal_llvm-d4121bef3cf3af51b80c2d499085a96aca5982ed.zip
external_llvm-d4121bef3cf3af51b80c2d499085a96aca5982ed.tar.gz
external_llvm-d4121bef3cf3af51b80c2d499085a96aca5982ed.tar.bz2
GCC doesn't emit DW_EH_PE_sdata4 for the FDE encoding on Darwin. I'm not sure
about other platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61415 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index d4aadb9..6080619 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -448,6 +448,11 @@ namespace llvm {
///
bool DwarfRequiresFrameSection; // Defaults to true.
+ /// FDEEncodingRequiresSData4 - If set, the FDE Encoding in the EH section
+ /// includes DW_EH_PE_sdata4.
+ ///
+ bool FDEEncodingRequiresSData4; // Defaults to true
+
/// GlobalEHDirective - This is the directive used to make exception frame
/// tables globally visible.
///
@@ -814,6 +819,9 @@ namespace llvm {
bool doesDwarfRequireFrameSection() const {
return DwarfRequiresFrameSection;
}
+ bool doesFDEEncodingRequireSData4() const {
+ return FDEEncodingRequiresSData4;
+ }
const char *getGlobalEHDirective() const {
return GlobalEHDirective;
}