diff options
author | Johannes Altmanninger <aclopte@gmail.com> | 2019-11-15 02:12:58 +0100 |
---|---|---|
committer | Johannes Altmanninger <aclopte@gmail.com> | 2019-11-28 00:59:25 +0100 |
commit | 1ac700cdef787383ad49a0e37d9894491ef19480 (patch) | |
tree | 859c5a902238bdce94b59f87a9e3bfafdd8957dc /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 5272d2a3a43b21dadb61a8320c14df94db89acc1 (diff) | |
download | llvm-1ac700cdef787383ad49a0e37d9894491ef19480.zip llvm-1ac700cdef787383ad49a0e37d9894491ef19480.tar.gz llvm-1ac700cdef787383ad49a0e37d9894491ef19480.tar.bz2 |
[CodeGen] Fix clang crash on aggregate initialization of array of labels
Summary: Fix PR43700
The ConstantEmitter in AggExprEmitter::EmitArrayInit was initialized
with the CodeGenFunction set to null, which caused the crash.
Also simplify another call, and make the CGF member a const pointer
since it is public but only assigned in the constructor.
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70302
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions