diff options
| author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2018-10-16 11:38:22 +0000 |
|---|---|---|
| committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2018-10-16 11:38:22 +0000 |
| commit | faec6dd9a2987d4322ebd7ce235b8544ea2e2bcf (patch) | |
| tree | a2422889d7610c84f2708d6b26427d986cc3cc1b /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 0c29722c609e9aabf585d798f5c9ccce369c09db (diff) | |
| download | llvm-faec6dd9a2987d4322ebd7ce235b8544ea2e2bcf.zip llvm-faec6dd9a2987d4322ebd7ce235b8544ea2e2bcf.tar.gz llvm-faec6dd9a2987d4322ebd7ce235b8544ea2e2bcf.tar.bz2 | |
Fix: Assertion failed: (!m_first_die || m_first_die == m_die_array.front()), function ExtractDIEsRWLocked
xbolva00 bugreported $subj in: https://reviews.llvm.org/D46810#1247410
It can happen only from the line:
m_die_array.back().SetEmptyChildren(true);
In the case DW_TAG_compile_unit has DW_CHILDREN_yes but there is only 0 (end of
list, no children present). Therefore the assertion can fortunately happen only
with a hand-crafted DWARF or with DWARF from some suboptimal compilers.
Differential Revision: https://reviews.llvm.org/D53255
llvm-svn: 344605
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
