summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-09-16 21:57:07 +0000
committerGreg Clayton <gclayton@apple.com>2013-09-16 21:57:07 +0000
commit52694e3bb8613942658bfb55753c1ab3033d6746 (patch)
treeb762009ff7886a2d0a30fa80edd8829f90dd2244 /lldb/source/Core/Module.cpp
parent3a446ff6a4c53a05f82c1da52e351c09e77fb985 (diff)
downloadbcm5719-llvm-52694e3bb8613942658bfb55753c1ab3033d6746.tar.gz
bcm5719-llvm-52694e3bb8613942658bfb55753c1ab3033d6746.zip
<rdar://problem/15001220>
Fixed an issue with the lldb/test/lang/cpp/virtual test case had a virtual class that had a DW_TAG_inheritance child that was virtual and had a DW_AT_data_member_location of: DW_AT_data_member_location( DW_OP_dup, DW_OP_deref, DW_OP_constu(0x00000018), DW_OP_minus, DW_OP_deref, DW_OP_plus ) We failed to evaluate this and then we were passing the incorrect offset back to clang and clang would crash. The AST external source has a function named LayoutRecordType which allows us to supply the virtual base class offsets, but that really doesn't make sense to do as clang will lay them out correctly. So we must ignore virtual base classes when doing layout. llvm-svn: 190811
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud