diff options
author | John McCall <rjmccall@apple.com> | 2011-08-30 01:42:09 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-08-30 01:42:09 +0000 |
commit | 3480ef24d1c85e7a44a12c29c73723307af0233c (patch) | |
tree | 566c915e73aec9349eb21d7399de27172400043e /clang/lib/CodeGen/TargetInfo.h | |
parent | e891654a5855a43104a4f3744a754c5e028c03c7 (diff) | |
download | bcm5719-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.h | 2 |
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 |