diff options
author | Alvin Wong <alvin@alvinhc.com> | 2022-06-22 16:13:57 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-06-22 17:16:05 +0300 |
commit | 2bae9560575362ffd756f193efa1de2d5c2f4cfd (patch) | |
tree | 75e3602a24ec94a38ced975981edbbe870a8f00c /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8a64dd5b06146f073a4a326f0e24fa18e571b281 (diff) | |
download | llvm-2bae9560575362ffd756f193efa1de2d5c2f4cfd.zip llvm-2bae9560575362ffd756f193efa1de2d5c2f4cfd.tar.gz llvm-2bae9560575362ffd756f193efa1de2d5c2f4cfd.tar.bz2 |
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions