HomePhabricator

[lldb] Avoid confusing reproducer crashes when initialization failed

Authored by JDevlieghere on Nov 9 2020, 8:47 AM.

Description

[lldb] Avoid confusing reproducer crashes when initialization failed

During active replay, the ::Initialize call is replayed like any other
SB API call and the return value is ignored. Since we can't intercept
this, we terminate here before the uninitialized debugger inevitably
crashes.

Differential revision: https://reviews.llvm.org/D90987