Fix TestCommandScript.py for Arm/Windows
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Wed, 29 Jun 2022 09:34:36 +0000 (13:34 +0400)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Thu, 30 Jun 2022 13:48:28 +0000 (17:48 +0400)
commitdd01d9aadb6107075c1c2254a2de0670a4d2f0ed
tree55f9d336a9e9d3374b8ef3e8b50691cd38fa5d5e
parent2f207439521d62d9551b2884158368e8b34084e5
Fix TestCommandScript.py for Arm/Windows

TestCommandScript.py fails on Arm/Windows due following issues:
https://llvm.org/pr56288
https://llvm.org/pr56292

LLDB fails to skip prologue and also step over library function or
nodebug functions fails due to PDB/DWARF mismatch.

This patch replace function breakpoint with line breakpoint so that we
can expect LLDB to stop on desired line. Also replace dwarf with PDB
debug info for this test only.
lldb/test/API/commands/command/script/Makefile
lldb/test/API/commands/command/script/TestCommandScript.py