class DlImplTestsTls

Defined at line 24 of file ../../sdk/lib/c/dlfcn/dl/test/dl-impl-tests.h

This handles TLS runtime test support that need not be templated like the

rest of DlImplTests. The only instance of this (empty) class is its own

private thread_local that ensures per-thread cleanup.

Public Methods

void Prepare (const RuntimeDynamicLinker & linker)

Ensure this thread is ready for a TLSDESC access. This stands in for the

integration of thread startup with RuntimeDynamicLinker, and for the

synchronization regime for existing threads when dlopen expands the

_dl_tlsdesc_runtime_dynamic_blocks arrays.

Defined at line 15 of file ../../sdk/lib/c/dlfcn/dl/test/dl-impl-tests.cc

void Cleanup ()

This happens at the end of each test, which is only on the main thread.

Always leave a clean slate for the next test.

Defined at line 50 of file ../../sdk/lib/c/dlfcn/dl/test/dl-impl-tests.cc