diff options
author | Stefan Gränitz <stefan.graenitz@gmail.com> | 2024-10-23 13:21:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-23 13:21:22 +0200 |
commit | 699ce16b6284377e0cd9969b9f95e7367632a622 (patch) | |
tree | 928edf560df3bff836ea46b837081944bf8c50d1 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 98bc5295ec2b996965f74e0490340d56c51ec147 (diff) | |
download | llvm-699ce16b6284377e0cd9969b9f95e7367632a622.zip llvm-699ce16b6284377e0cd9969b9f95e7367632a622.tar.gz llvm-699ce16b6284377e0cd9969b9f95e7367632a622.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions