Temporarily relax a check in the debug info verifier.
authorAdrian Prantl <aprantl@apple.com>
Wed, 29 Apr 2015 16:52:17 +0000 (16:52 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 29 Apr 2015 16:52:17 +0000 (16:52 +0000)
commitb3b655c5a32a12f385f6dc2e8d68f6ad9590c5d5
tree89caa4ee1247b0dfa79a41ae2cdaeb0e9db6c239
parent86b699c278d2ce7e888aa5024c909541e5264c94
Temporarily relax a check in the debug info verifier.
The clang frontend helps out GDB by emitting the members of local anonymous
unions as artificial local variables with shared storage. When SROA splits
the storage for artificial local variables that are smaller than the entire
union, the overhang piece will be outside of the allotted space for the
variable and this check fails.

rdar://problem/20730771

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp