View source code
Display the source code in rt/sections_osx_x86_64.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module rt.sections_osx_x86_64

Written in the D programming language. This module provides OS X x86-64 specific support for sections.

Functions

NameDescription
finiSections() Gets called on program shutdown just after GC is terminated.
firstTLVDescriptor(section, slide) Returns the first TLV descriptor of the given section.
firstTLVKey(header) Returns the first TLV key for the given image.
foundTLSRange(info, tlsSymbol) Returns true if the correct TLS range was found.
getTLSRange(tlsSymbol) Returns the TLS range of the image containing the specified TLS symbol, or null if none was found.
initSections() Gets called on program startup just before GC is initialized.
sections(segment) Returns the sections of the given segment.
tlvInfo(header) Returns the TLV info for the given image.

Structs

NameDescription
dyld_tlv_info TLV info.

Global variables

NameTypeDescription
_isRuntimeInitialized bool Boolean flag set to true while the runtime is initialized.

Authors

Walter Bright, Sean Kelly, Martin Nowak, Jacob Carlborg

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)