aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-03-03 10:39:57 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-03-17 11:39:03 +0000
commit0947296902075aaa240d78f66aa0708f825ffb35 (patch)
tree3d1bcb4d71e99a926ddab39747f853ec31428853 /llvm/lib/CodeGen/StackProtector.cpp
parent94489f35a7f8e16d7fd553ddf96023cb78a2afbb (diff)
downloadllvm-0947296902075aaa240d78f66aa0708f825ffb35.zip
llvm-0947296902075aaa240d78f66aa0708f825ffb35.tar.gz
llvm-0947296902075aaa240d78f66aa0708f825ffb35.tar.bz2
[Sema][SVE] Reject sizeless types in exception specs
In the current SVE ACLE spec, the usual rules for throwing and catching incomplete types also apply to sizeless types. However, throwing pointers to sizeless types should not pose any real difficulty, so as an extension, the clang implementation allows that. This patch enforces these rules for explicit exception specs. Differential Revision: https://reviews.llvm.org/D76087
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions