[Issue 20019] Symbol not found: _dyld_enumerate_tlv_storage on macOS 10.15

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 8 05:51:56 UTC 2019


Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #2666 " Fix issue 20019: Symbol not found:
_dyld_enumerate_tlv_storage on macOS 10.15" was merged into stable:

- 378fc6dfadc8b638616d146496eaee79995678ac by Jacob Carlborg:
  Fix issue 20019: Symbol not found: _dyld_enumerate_tlv_storage on macOS 10.15

  The symbol `dyld_enumerate_tlv_storage` has been used to iterate all
  the thread local storage addresses and registered them as roots with
  the garbage collector.

  The symbol has always been a private symbol, not part of the public
  API. In the latest version of macOS, 10.15 it has been removed.

  This replaces the usage of `dyld_enumerate_tlv_storage` by manually
  iterating the TLV sections of all images and get key that the dynamic
  loader has setup for each TLS symbol. The key is then used to get the
  base address of the TLV storage.



More information about the Digitalmars-d-bugs mailing list