Expand description

Logic for generating thread-local storage (TLS) and CPU-local storage (CLS) images.

The two key types are:

  1. LocalStorageInitializer: a “factory” that maintains a list of loaded sections in order to correctly generate new local storage data images.
  2. LocalStorageDataImage: a generated local storage data image that can be set as the current data image.

TODO FIXME: currently we are unsure of the virt_addr_values calculated for TLS sections on aarch64. The placement of those sections in the TLS data image is correct, but relocations against them may not be. TODO: We don’t really need a TLS self pointer for CLS.

Structs

Enums

Traits

Type Aliases