Commit Graph

3 Commits

Author SHA1 Message Date
Alvin Wong a1ee0b947d [lldb] Second attempt at fixing command-target-create-resolve-exe.test on the buildbot 2022-06-22 20:49:30 +03:00
Martin Storsjö 0bc7105cd1 [lldb] Tentative attempt to fix command-target-create-resolve-exe.test on buildbot
This test does succeed in my local test environment though, but
fails on the buildbot.
2022-06-22 18:48:04 +03:00
Alvin Wong 2bae956057 [lldb] Resolve exe location for `target create`
This fixes an issue that, when you start lldb or use `target create`
with a program name which is on $PATH, or not specify the .exe suffix of
a program in the working directory on Windows, you get a confusing
error, for example:

    (lldb) target create notepad
    error: 'C:\WINDOWS\SYSTEM32\notepad.exe' doesn't contain any 'host'
    platform architectures: i686, x86_64, i386, i386

Fixes https://github.com/mstorsjo/llvm-mingw/issues/265

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D127436
2022-06-22 17:16:05 +03:00