diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-05-01 22:23:12 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-05-01 22:23:12 +0000 |
commit | 79dda2b0486dd90e2a1b1a1e4be74650a8258ce9 (patch) | |
tree | f0b49db40761e1650c14e22a8c65cbd17279fbc7 /include | |
parent | 794fd75c67a2cdc128d67342c6d88a504d186896 (diff) |
Fix couple of bugs connected with eh info:
1. Correct output offsets on Linux
2. Fix "style" of personality function. It shouldn't be indirect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index ceb2a3af47..0a9047beec 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -263,10 +263,14 @@ namespace llvm { //===--- Dwarf Emission Directives -----------------------------------===// - /// AbsoluteSectionOffsets - True if we should emit abolute section - /// offsets. Defaults to false. - bool AbsoluteSectionOffsets; - + /// AbsoluteDebugSectionOffsets - True if we should emit abolute section + /// offsets for debug information. Defaults to false. + bool AbsoluteDebugSectionOffsets; + + /// AbsoluteEHSectionOffsets - True if we should emit abolute section + /// offsets for EH information. Defaults to false. + bool AbsoluteEHSectionOffsets; + /// HasLEB128 - True if target asm supports leb128 directives. /// bool HasLEB128; // Defaults to false. @@ -530,8 +534,11 @@ namespace llvm { const char *getProtectedDirective() const { return ProtectedDirective; } - bool isAbsoluteSectionOffsets() const { - return AbsoluteSectionOffsets; + bool isAbsoluteDebugSectionOffsets() const { + return AbsoluteDebugSectionOffsets; + } + bool isAbsoluteEHSectionOffsets() const { + return AbsoluteEHSectionOffsets; } bool hasLEB128() const { return HasLEB128; |