HomePhabricator

[lldb/Driver] Exit with a non-zero exit code in case of error in batch mode.

Authored by JDevlieghere on May 5 2020, 10:58 AM.

Description

[lldb/Driver] Exit with a non-zero exit code in case of error in batch mode.

We have the option to stop running commands in batch mode when an error
occurs. When that happens we should exit the driver with a non-zero exit
code.

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