llvm-project/lldb/lit/SymbolFile/NativePDB
Aleksandr Urakov eaa0ad672e [NativePDB] Process virtual bases in the correct order
Summary:
This patch makes virtual bases to be added in the correct order to the bases
list. It is important because `VTableContext` (`MicrosoftVTableContext` in our
case) uses then the order of virtual bases in the list to restore the virtual
table indexes. These indexes are used then to resolve the layout of the virtual
bases.

We haven't enough information about offsets of virtual bases regarding to the
object (moreover, in a common case we can't rely on such information, see the
example here: https://reviews.llvm.org/D53506#1272306 ), but there should be
enough information to restore the layout of the virtual bases from the indexes
in runtime. After D53506 this information is used whenever possible, so there
should be no problems with virtual bases' fields reading.

Reviewers: zturner, rnk, stella.stamenova

Subscribers: abidh, teemperor, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D56904

llvm-svn: 353806
2019-02-12 08:17:11 +00:00
..
Inputs [NativePDB] Process virtual bases in the correct order 2019-02-12 08:17:11 +00:00
ast-functions-msvc.cpp [NativePDB] Reconstruct function declarations from debug info. 2018-12-07 19:34:02 +00:00
ast-functions.cpp Try to port tests to AST dump changes 2019-01-20 22:56:02 +00:00
ast-methods.cpp [NativePDB] Add basic support of methods recostruction in AST 2019-01-29 09:32:23 +00:00
ast-types.cpp [NativePDB] Reconstruct function declarations from debug info. 2018-12-07 19:34:02 +00:00
bitfields.cpp [lit] Add a generic build script with a lit substitution. 2018-12-01 00:22:21 +00:00
break-by-function.cpp [NativePDB] Fix setting breakpoint by file and line. 2019-01-02 18:32:50 +00:00
break-by-line.cpp [NativePDB] Fix setting breakpoint by file and line. 2019-01-02 18:32:50 +00:00
disassembly.cpp [lit] Add a generic build script with a lit substitution. 2018-12-01 00:22:21 +00:00
function-types-builtins.cpp Define the _fltused symbol in one lldb test as well, post-r352076. 2019-01-25 03:21:23 +00:00
function-types-calling-conv.cpp [lit] Add a generic build script with a lit substitution. 2018-12-01 00:22:21 +00:00
function-types-classes.cpp Fix test after AST dump output change 2019-01-21 19:18:10 +00:00
global-classes.cpp [NativePDB] Fix lldb-x64-windows-ninja after r352464 2019-01-29 10:46:28 +00:00
globals-bss.cpp [lit] Add a generic build script with a lit substitution. 2018-12-01 00:22:21 +00:00
globals-fundamental.cpp Try to port tests to AST dump changes 2019-01-20 22:56:02 +00:00
local-variables.cpp Try to port tests to AST dump changes 2019-01-20 22:56:02 +00:00
nested-types.cpp Fix line endings. 2018-12-19 22:50:22 +00:00
s_constant.cpp [lit] Add a generic build script with a lit substitution. 2018-12-01 00:22:21 +00:00
source-list.cpp [lit] Add a generic build script with a lit substitution. 2018-12-01 00:22:21 +00:00
tag-types.cpp [NativePDB] Process virtual bases in the correct order 2019-02-12 08:17:11 +00:00
typedefs.cpp [NativePDB] Add support for parsing typedef records. 2019-01-10 20:57:32 +00:00