diff options
author | dim <dim@FreeBSD.org> | 2015-04-03 18:38:37 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-04-03 18:38:37 +0000 |
commit | ac52330ec1fa3ebd5b06ecc5f6e03bc7bf50f965 (patch) | |
tree | 12c38d0b6463986e7df2012e2ea2dea451dca167 /contrib/llvm/tools/llvm-cov/CoverageReport.cpp | |
parent | 89080383fe8ba6c73ee24301a0691a7656b1bb5e (diff) | |
download | FreeBSD-src-ac52330ec1fa3ebd5b06ecc5f6e03bc7bf50f965.zip FreeBSD-src-ac52330ec1fa3ebd5b06ecc5f6e03bc7bf50f965.tar.gz |
Pull in r227115 from upstream clang trunk (by Ben Langmuir):
Fix assert instantiating string init of static variable
... when the variable's type is a typedef of a ConstantArrayType. Just
look through the typedef (and any other sugar). We only use the
constant array type here to get the element count.
This fixes an assertion failure when building the games/redeclipse port.
Reported by: amdmi3
Diffstat (limited to 'contrib/llvm/tools/llvm-cov/CoverageReport.cpp')
0 files changed, 0 insertions, 0 deletions