[all-commits] [llvm/llvm-project] 480c44: [lldb] Don't let dotest silently fall back to defa...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Oct 13 06:08:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 480c440f9a3cf3434355f24217cfa430dc1cabda
      https://github.com/llvm/llvm-project/commit/480c440f9a3cf3434355f24217cfa430dc1cabda
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/dotest.py

  Log Message:
  -----------
  [lldb] Don't let dotest silently fall back to default SDK if the specified one can't be found

If the SDK name passed to dotest can't be found by `xcrun` we silently fall back
to the default SDK. This leads to rather cryptic errors being reported later on
when linking the actual test executables.

Instead just directly log and abort when this situation is encountered and
inform the user about the invalid argument.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D89053




More information about the All-commits mailing list