[all-commits] [llvm/llvm-project] 99ece0: [lldb/win] Fix TestIRMemoryMapWindows.test when ru...

Nico Weber via All-commits all-commits at lists.llvm.org
Thu Sep 16 04:42:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99ece01a0f571f0df129a55bf679f7fbd0b01b75
      https://github.com/llvm/llvm-project/commit/99ece01a0f571f0df129a55bf679f7fbd0b01b75
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M lldb/test/Shell/helper/toolchain.py

  Log Message:
  -----------
  [lldb/win] Fix TestIRMemoryMapWindows.test when running tests in git bash

lit.util.which('link') picks up the wrong link.exe in git bash, leading
to this error:

  # command stderr:
  /usr/bin/link: extra operand '/LIBPATH:C:\\Progra....'
  Try '/usr/bin/link --help' for more information.

Instead, assume that link.exe is next to cl.exe.

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




More information about the All-commits mailing list