[Lldb-commits] [lldb] r115208 - in /lldb/trunk: include/lldb/Expression/IRForTarget.h source/Expression/ClangExpressionParser.cpp source/Expression/IRForTarget.cpp
echristo at apple.com
Thu Sep 30 16:03:50 PDT 2010
On Sep 30, 2010, at 2:18 PM, Sean Callanan wrote:
> Switched the expression parser from using TargetData
> to using Clang to get type sizes. This fixes a bug
> where the type size for a double was being wrongly
> reported as 8 instead of 16 bytes, causing problems
> for IRForTarget.
Actually it was giving you the answer you asked for, but not the answer you were wanting. You needed to check if it was an array type and then the size of the array.
I hope that the clang and llvm bits agree on type size though. :)
More information about the lldb-commits