Files
clang-p2996/lldb/test/API/macosx/early-process-launch/TestEarlyProcessLaunch.py
Jason Molenda 1988c27e5f [lldb] [NFC] Update TestEarlyProcessLaunch to work on macOS 15
This test sets a breakpoint on malloc, as a way to stop early in
dyld's setting up code, before the system libraries are initialized
so we can confirm that we don't fetch the Objective-C class table
before it's initialized.

In macOS 15 (macOS Sonoma), dyld doesn't call malloc any longer,
so this heuristic/trick isn't working.  It does call other things
called *alloc though, so I'm changing this to use a regex breakpoint
on that, to keep the test working.
2024-07-11 16:51:28 -07:00

2.5 KiB