[all-commits] [llvm/llvm-project] 1988c2: [lldb] [NFC] Update TestEarlyProcessLaunch to work...

Jason Molenda via All-commits all-commits at lists.llvm.org
Thu Jul 11 16:51:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1988c27e5f4dbcf42c9a80f44bdee7ccd208a0ac
      https://github.com/llvm/llvm-project/commit/1988c27e5f4dbcf42c9a80f44bdee7ccd208a0ac
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2024-07-11 (Thu, 11 Jul 2024)

  Changed paths:
    M lldb/test/API/macosx/early-process-launch/TestEarlyProcessLaunch.py

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list