diff --git a/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py b/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py index bfa7cf6ed6937..0a97a07585549 100644 --- a/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py +++ b/lldb/test/API/lang/swift/step_through_allocating_init/TestStepThroughAllocatingInit.py @@ -32,6 +32,10 @@ def do_test(self, use_api): exe_name = "a.out" exe = self.getBuildArtifact(exe_name) + self.runCmd( + "settings set target.process.thread.step-avoid-libraries libswiftCore.dylib" + ) + target, process, thread, breakpoint = lldbutil.run_to_source_breakpoint(self, 'Break here to step into init', self.main_source_spec)