aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-05-07 19:11:09 +0000
committerDuncan Sands <baldrick@free.fr>2008-05-07 19:11:09 +0000
commit671fa97a4b8c560150104329b517efbf2609297c (patch)
treea77bddb86bf7c7577ec7fc1d206bc62080b8dabb /include
parentfbd15899b3bcc459bea20f5bb2866244eea56d6a (diff)
downloadexternal_llvm-671fa97a4b8c560150104329b517efbf2609297c.zip
external_llvm-671fa97a4b8c560150104329b517efbf2609297c.tar.gz
external_llvm-671fa97a4b8c560150104329b517efbf2609297c.tar.bz2
Output correct exception handling and frame info
on x86-64 linux. This causes no regressions on 32 bit linux and 32 bit ppc. More tests pass on 64 bit ppc with no regressions. I didn't turn on eh on 64 bit linux because the intrinsics needed to compile the eh runtime aren't done yet. But if you turn it on and link with the mainline runtime then eh seems to work fine on x86-64 linux with this patch. Thanks to Dale for testing. The main point of the patch is that if you output that some object is encoded using 4 bytes you had better not output 8 bytes for it: the patch makes everything consistent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index b635cb2..7deac40 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -339,10 +339,6 @@ namespace llvm {
/// handle a weak_definition of constant 0 for an omitted EH frame.
bool SupportsWeakOmittedEHFrame; // Defaults to true.
- /// ShortenEHDataON64Bit - True if target exception table format requires
- /// 32-bit data in certain places even when targeting 64-bits.
- bool ShortenEHDataOn64Bit; // Defaults to false.
-
/// DwarfSectionOffsetDirective - Special section offset directive.
const char* DwarfSectionOffsetDirective; // Defaults to NULL
@@ -635,9 +631,6 @@ namespace llvm {
bool getSupportsWeakOmittedEHFrame() const {
return SupportsWeakOmittedEHFrame;
}
- bool getShortenEHDataOn64Bit() const {
- return ShortenEHDataOn64Bit;
- }
const char *getDwarfSectionOffsetDirective() const {
return DwarfSectionOffsetDirective;
}