[lldb] Print stack trace when lldb-vscode crashes
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 29 Mar 2021 21:19:03 +0000 (14:19 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 29 Mar 2021 21:20:59 +0000 (14:20 -0700)
commit047cbfe2bbf22a9da1bd27cafcee4eb1453965dc
treea8f562565057ef8d40b37251602573432141d03b
parent7669455df49e6fc8ae7d9f4bd4ee95bb20e7eb6e
[lldb] Print stack trace when lldb-vscode crashes

Print LLVM's pretty stack trace when lldb-vscode crashes. Also removes
the unnecessary call to PrintStackTraceOnErrorSignal in lldb-server as
it's already part of InitLLVM.

Differential revision: https://reviews.llvm.org/D99535
lldb/tools/lldb-server/lldb-server.cpp
lldb/tools/lldb-vscode/lldb-vscode.cpp