diff options
author | Michael Kruse <llvm@meinersbur.de> | 2016-04-08 16:20:08 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2016-04-08 16:20:08 +0000 |
commit | 436c90619c16bd8a7466b0105fa087c7147373c2 (patch) | |
tree | 00a14d551b49a653a636cd5ad67fb64d10625cf9 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | a15fb15b0581ec6a187cceb677755800ba2fb58c (diff) | |
download | bcm5719-llvm-436c90619c16bd8a7466b0105fa087c7147373c2.tar.gz bcm5719-llvm-436c90619c16bd8a7466b0105fa087c7147373c2.zip |
[ScopInfo] Fix check for element size mismatch.
The way to get the elements size with getPrimitiveSizeInBits() is not
the same as used in other parts of Polly which should use
DataLayout::getTypeAllocSize(). Its use only queries the size of the
pointer and getPrimitiveSizeInBits returns 0 for types that require a
DataLayout object such as pointers.
Together with r265379, this should fix PR27195.
llvm-svn: 265795
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions