On Windows rebuilding the binary isn't enough to unload it
on progrem restart. But the assumption of the test is that on
program re-run LLDB destroys and replaces the old module with
the newly built version. One will have to try hard to evict the
module from the ModuleList (possibly including a call to
`SBDebugger::MemoryPressureDetected`.
See D138724
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
+from lldbsuite.test.decorators import *
class TestRerunExpr(TestBase):
+ # FIXME: on Windows rebuilding the binary isn't enough to unload it
+ # on progrem restart. One will have to try hard to evict
+ # the module from the ModuleList (possibly including a call to
+ # SBDebugger::MemoryPressureDetected.
+ @skipIfWindows
def test(self):
"""
Tests whether re-launching a process without destroying