[all-commits] [llvm/llvm-project] 5e004b: [lldb/test] Update test/API/functionalities/load_l...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Tue Oct 19 13:25:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e004b03f72a17f916b93792eb778dfa9e7a09cc
      https://github.com/llvm/llvm-project/commit/5e004b03f72a17f916b93792eb778dfa9e7a09cc
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M lldb/test/API/functionalities/load_lazy/Makefile

  Log Message:
  -----------
  [lldb/test] Update test/API/functionalities/load_lazy to macOS 12

In macOS 12, dyld switched to using chained fixups. As a result, all symbols
are bound at launch and there are no lazy pointers any more. Since we wish to
import/dlopen() a dylib with missing symbols, we need to use a weak import.
This applies to all macOS 12-aligned OS releases, e.g. iOS 15, etc.

rdar://81295101

Differential Revision: https://reviews.llvm.org/D112034




More information about the All-commits mailing list