diff options
author | Lang Hames <lhames@gmail.com> | 2018-01-22 23:53:56 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-01-22 23:53:56 +0000 |
commit | 48b32f4cedc1021c774b68ddff1fb9b338c751c0 (patch) | |
tree | 5fd6dd96891c86213ac1f42896e776ef5e3ce76e /lldb/packages/Python/lldbsuite/test/driver | |
parent | ac8217de8323cf7efe1da0fa24b4006c96d82f66 (diff) | |
download | bcm5719-llvm-48b32f4cedc1021c774b68ddff1fb9b338c751c0.tar.gz bcm5719-llvm-48b32f4cedc1021c774b68ddff1fb9b338c751c0.zip |
[lldb] Fix some C++ virtual method call bugs in LLDB expression evaluation by
building method override tables for CXXMethodDecls in
DWARFASTParserClang::CompleteTypeFromDWARF.
C++ virtual method calls in LLDB expressions may fail if the override table for
the method being called is not correct as IRGen will produce references to the
wrong (or a missing) vtable entry.
This patch does not fix calls to virtual methods with covariant return types as
it mistakenly treats these as overloads, rather than overrides. This will be
addressed in a future patch.
Review: https://reviews.llvm.org/D41997
Partially fixes <rdar://problem/14205774>
llvm-svn: 323163
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/driver')
0 files changed, 0 insertions, 0 deletions