[all-commits] [llvm/llvm-project] 54c3c2: [lldb-vscode] Consistently use return EXIT_SUCCESS...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Mar 31 21:42:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54c3c2e82874d8ee65b32f1f79bfd494b0551986
      https://github.com/llvm/llvm-project/commit/54c3c2e82874d8ee65b32f1f79bfd494b0551986
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  [lldb-vscode] Consistently use return EXIT_SUCCESS and EXIT_FAILURE (NFC)

Consistently use return with EXIT_SUCCESS or EXIT_FAILURE instead of
mix-and-matching return, exit 0, 1 etc.

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


  Commit: b7e2c2acb8eea471d0960f01d4c75d45156bd9ae
      https://github.com/llvm/llvm-project/commit/b7e2c2acb8eea471d0960f01d4c75d45156bd9ae
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  [lldb-vscode] Use LLVM's ScopeExit to ensure we always terminate the debugger

Make sure we always terminate the debugger by using a RAII object.

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


  Commit: d1828937ed8d79a772ec60a8f3c7f4a873f581d4
      https://github.com/llvm/llvm-project/commit/d1828937ed8d79a772ec60a8f3c7f4a873f581d4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M lldb/docs/design/reproducers.rst
    M lldb/test/API/lit.cfg.py
    R lldb/test/Shell/Reproducer/TestCaptureEnvOverride.test
    M lldb/test/Shell/Reproducer/lit.local.cfg
    M lldb/test/Shell/lit.cfg.py

  Log Message:
  -----------
  [lldb] Remove references to LLDB_CAPTURE_REPRODUCER

Remove the remaining references to LLDB_CAPTURE_REPRODUCER. I removed
the functionality in an earlier commit but forgot that there was a
corresponding test and logic to unset it in our test suite.


Compare: https://github.com/llvm/llvm-project/compare/bfcd21876adc...d1828937ed8d


More information about the All-commits mailing list