class LinkingSessionBase

Defined at line 46 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h

The base class holds the state that's independent of the Loader class used.

Public Methods

void LinkingSessionBase ()

Defined at line 48 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h

void LinkingSessionBase (LinkingSessionBase && )

Defined at line 49 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h

LinkingResult Commit ()

The caller calls Commit() to finalize the LinkingSession after it has

loaded and linked all the modules needed for a single dlopen call. This

will transfer ownership of the RuntimeModules created during this session

and provide an updated max_tls_modid in the LinkingResult returned back to

the caller.

Defined at line 56 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h

Protected Methods

void LinkingSessionBase (RuntimeDynamicLinker & linker)

The RuntimeDynamicLinker and its modules() list are always treated as

const by LinkingSession methods. But it needs to be a non-const reference

so that the RuntimeModule pointers drawn from it can be non-const, as the

RuntimeModule lists of pointers into other RuntimeModules need to be

non-const (mostly for MakeGlobal).

Defined at line 17 of file ../../sdk/lib/c/dlfcn/dl/runtime-dynamic-linker.cc

ModuleList & loaded_modules ()

Defined at line 20 of file ../../sdk/lib/c/dlfcn/dl/runtime-dynamic-linker.cc

size_type max_static_tls_modid ()

Defined at line 22 of file ../../sdk/lib/c/dlfcn/dl/runtime-dynamic-linker.cc

ModuleList & result_modules ()

Defined at line 70 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h

size_type & result_max_tls_modid ()

Defined at line 72 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h