[all-commits] [llvm/llvm-project] 32dd5b: Work around a bug in the interaction between newer...

jimingham via All-commits all-commits at lists.llvm.org
Tue Jan 16 11:31:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32dd5b20973bde1ef77fa3b84b9f85788a1a303a
      https://github.com/llvm/llvm-project/commit/32dd5b20973bde1ef77fa3b84b9f85788a1a303a
  Author: jimingham <jingham at apple.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

  Changed paths:
    M lldb/tools/debugserver/source/MacOSX/MachProcess.mm

  Log Message:
  -----------
  Work around a bug in the interaction between newer dyld's and older simulator dyld's (#78004)

There's a bad interaction between the macOS 14 dyld and the "dyld_sim"
shim that comes from older (iOS 15) simulator downloads that results in
dyld reporting some modules twice in the return from the dyld callback
to list modules. The records were identical, but lldb wasn't happy with
seeing the duplicates...

Since it's not possible to load two different modules at the same
address, this change just picks the first instance of any entries that
have the same load address.

There really isn't a good way to test this patch.




More information about the All-commits mailing list