History log of /llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/member-pointers.cpp (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4
# e3709469 18-Nov-2024 Stefan Gränitz <stefan.graenitz@gmail.com>

[lldb] Infer MSInheritanceAttr for CXXRecordDecl with DWARF on Windows (#115177)

Following up from https://github.com/llvm/llvm-project/pull/112928, we
can reuse the approach from Clang Sema to inf

[lldb] Infer MSInheritanceAttr for CXXRecordDecl with DWARF on Windows (#115177)

Following up from https://github.com/llvm/llvm-project/pull/112928, we
can reuse the approach from Clang Sema to infer the MSInheritanceModel
and add the necessary attribute manually. This allows the inspection of
member function pointers with DWARF on Windows.

show more ...


Revision tags: llvmorg-19.1.3
# 76edf725 23-Oct-2024 Stefan Gränitz <stefan.graenitz@gmail.com>

Reland: [lldb] Fix crash missing MSInheritanceAttr with DWARF on Windows (#112928)

Member pointers refer to data or function members of a `CXXRecordDecl`,
which require a `MSInheritanceAttr` in orde

Reland: [lldb] Fix crash missing MSInheritanceAttr with DWARF on Windows (#112928)

Member pointers refer to data or function members of a `CXXRecordDecl`,
which require a `MSInheritanceAttr` in order to be complete. Without that
we cannot calculate the size of a member pointer in memory. The attempt
has been causing a crash further down in the clang AST context. In order
to implement the feature, DWARF will need a new attribtue to convey the
information. For the moment, this patch teaches LLDB to handle to
situation and avoid the crash.

show more ...


# 699ce16b 23-Oct-2024 Stefan Gränitz <stefan.graenitz@gmail.com>

[lldb] Fix crash missing MSInheritanceAttr with DWARF on Windows (#112928)

Member pointers refer to data or function members of a `CXXRecordDecl` and
require a `MSInheritanceAttr` in order to be co

[lldb] Fix crash missing MSInheritanceAttr with DWARF on Windows (#112928)

Member pointers refer to data or function members of a `CXXRecordDecl` and
require a `MSInheritanceAttr` in order to be complete. Without that we
cannot calculate their size in memory. The attempt has been causing a crash
further down in the clang AST context. In order to implement the feature,
DWARF will need a new attribtue to convey the information. For the moment,
this patch teaches LLDB to handle to situation and avoid the crash.

show more ...