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.
This commit is contained in:
parent
2f20743952
commit
dd01d9aadb
|
|
@ -1,3 +1,5 @@
|
|||
CXX_SOURCES := main.cpp
|
||||
|
||||
DEBUG_INFO_FLAG := -g
|
||||
|
||||
include Makefile.rules
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ class CmdPythonTestCase(TestBase):
|
|||
self.expect("longwait",
|
||||
substrs=['Done; if you saw the delays I am doing OK'])
|
||||
|
||||
self.runCmd("b main")
|
||||
self.runCmd("break set -f main.cpp -l 48")
|
||||
self.runCmd("run")
|
||||
self.runCmd("mysto 3")
|
||||
self.expect("frame variable array",
|
||||
|
|
|
|||
Loading…
Reference in New Issue