summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-08-30 01:42:09 +0000
committerJohn McCall <rjmccall@apple.com>2011-08-30 01:42:09 +0000
commit3480ef24d1c85e7a44a12c29c73723307af0233c (patch)
tree566c915e73aec9349eb21d7399de27172400043e /clang/lib/CodeGen/TargetInfo.h
parente891654a5855a43104a4f3744a754c5e028c03c7 (diff)
downloadbcm5719-llvm-3480ef24d1c85e7a44a12c29c73723307af0233c.tar.gz
bcm5719-llvm-3480ef24d1c85e7a44a12c29c73723307af0233c.zip
The size of struct UnwindException varies by platform with no
apparent general rule. Just special-case it as appropriate. PR10789. llvm-svn: 138792
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.h')
-rw-r--r--clang/lib/CodeGen/TargetInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.h b/clang/lib/CodeGen/TargetInfo.h
index a188b9c6c28..22e6eb8383b 100644
--- a/clang/lib/CodeGen/TargetInfo.h
+++ b/clang/lib/CodeGen/TargetInfo.h
@@ -59,7 +59,7 @@ namespace clang {
/// uint64 private_1;
/// uint64 private_2;
/// };
- unsigned getSizeOfUnwindException() const { return 32; }
+ virtual unsigned getSizeOfUnwindException() const;
/// Controls whether __builtin_extend_pointer should sign-extend
/// pointers to uint64_t or zero-extend them (the default). Has
OpenPOWER on IntegriCloud