diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-12-24 05:25:49 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-12-24 05:25:49 +0000 |
commit | 6bd1b7965ee376c3f3f56c8fece9005abbc7d057 (patch) | |
tree | f50d50442fc2c00817968e5a884467c44073def5 /include/llvm/Target/TargetAsmInfo.h | |
parent | acdd24644e52b676a26706ec71fb480a3ebb0789 (diff) | |
download | external_llvm-6bd1b7965ee376c3f3f56c8fece9005abbc7d057.zip external_llvm-6bd1b7965ee376c3f3f56c8fece9005abbc7d057.tar.gz external_llvm-6bd1b7965ee376c3f3f56c8fece9005abbc7d057.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/llvm/Target/TargetAsmInfo.h')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 8 |
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; } |