[Lldb-commits] [PATCH] D47679: [lldb, lldb-mi] Enable lldb-mi -break-insert test on Windows.
Alexander Polyakov via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Jun 3 03:02:36 PDT 2018
polyakov.alex added a comment.
In https://reviews.llvm.org/D47679#1120039, @stella.stamenova wrote:
> You can actually follow the pattern in the other tests and do:
>
> %cc -o %t %p/inputs/break-insert.c -g
>
> %t then becomes the name of the output file and you can use that in our other commands. This is better than specifying a hardcoded name.
We can't use it here since lldb-mi reads `%s` file with input, then `%t` won't be changed to any path, so debugger will try to find executable with name `%t` and fail.
https://reviews.llvm.org/D47679
More information about the lldb-commits
mailing list