diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-12-29 22:12:11 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-12-29 22:12:11 +0000 |
commit | 998dee96d3ca506cf73a617c0b7fc7f0e467a127 (patch) | |
tree | 6381504f0bf349f29a4fe541486ce6ca458dab71 /include | |
parent | bce452815cffacb7bbccf994ae9d4defeb4af922 (diff) | |
download | external_llvm-998dee96d3ca506cf73a617c0b7fc7f0e467a127.zip external_llvm-998dee96d3ca506cf73a617c0b7fc7f0e467a127.tar.gz external_llvm-998dee96d3ca506cf73a617c0b7fc7f0e467a127.tar.bz2 |
Linux wants the FDE initial location and address range to be forced to 32-bit.
Darwin doesn't. Make this optional for platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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 aa9c145..c880179 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -457,6 +457,11 @@ namespace llvm { /// bool NonLocalEHFrameLabel; // Defaults to false. + /// Force32BitFDEReference - Force the FDE initial location and address + /// range to be 32-bit sized. + /// + bool Force32BitFDEReference; // Defaults to true. + /// GlobalEHDirective - This is the directive used to make exception frame /// tables globally visible. /// @@ -829,6 +834,9 @@ namespace llvm { bool doesRequireNonLocalEHFrameLabel() const { return NonLocalEHFrameLabel; } + bool doesRequire32BitFDEReference() const { + return Force32BitFDEReference; + } const char *getGlobalEHDirective() const { return GlobalEHDirective; } |