in CommandObjectTargetStopHookList::Execute, if we don't have a target,
return before we try to dereference the target later in the function.
Currently,

% lldb -x
(lldb) target stop-hook list

crashes because of this.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140417 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed