[all-commits] [llvm/llvm-project] 1fba21: Follow on to: f05dc40c31d1883b46b8bb60547087db2f4c...

jimingham via All-commits all-commits at lists.llvm.org
Mon Jan 25 14:26:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fba21778f84f266f7d32153c88e59e1900fbe5b
      https://github.com/llvm/llvm-project/commit/1fba21778f84f266f7d32153c88e59e1900fbe5b
  Author: Jim Ingham <jingham at apple.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M lldb/source/API/SBDebugger.cpp

  Log Message:
  -----------
  Follow on to: f05dc40c31d1883b46b8bb60547087db2f4c03e3

When you pass in a bogus ArchSpec, TargetList.CreateTarget
makes a target with the arch of the executable.  That wasn't the
case with a bogus triple, so this change caused one of the bogus
input data tests to fail.  So check that the ArchSpec is valid
before passing it to CreateTarget.




More information about the All-commits mailing list