diff options
author | Sebastian Schwartz <saschwartz@fb.com> | 2021-09-02 11:14:49 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2021-09-02 11:16:37 +0200 |
commit | e387c8c413e2127bc93950fb6d786290237b4a9f (patch) | |
tree | 9f495cf4836a6c45575a0762d1b292352af037af /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f68de11c102d429983ab9e52580872667b537484 (diff) | |
download | llvm-e387c8c413e2127bc93950fb6d786290237b4a9f.zip llvm-e387c8c413e2127bc93950fb6d786290237b4a9f.tar.gz llvm-e387c8c413e2127bc93950fb6d786290237b4a9f.tar.bz2 |
[lldb server] Tidy up LLDB server return codes and associated tests
This diff modifies the LLDB server return codes to more accurately reflect usage
error paths. Specifically we always propagate the return codes from the main
entrypoints into GDB remote LLDB server, and platform LLDB server. This way, the
top-level caller of LLDB server will be able to correctly check whether the
executable exited with or without an error.
We additionally modify and extend the associated shell unit tests to expect
nonzero return codes on error conditions.
Test Plan:
LLDB tests pass:
```
ninja check-lldb
```
Reviewed By: teemperor
Differential Revision: https://reviews.llvm.org/D108351
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions