class LinkingSessionBase
Defined at line 42 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.
Protected Members
RuntimeDynamicLinker & linker_
LinkingResult result_
Public Methods
void LinkingSessionBase ()
Defined at line 44 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h
void LinkingSessionBase (LinkingSessionBase && )
Defined at line 45 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 and TlsModules created during
this session in the LinkingResult returned back to the caller.
Defined at line 51 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 19 of file ../../sdk/lib/c/dlfcn/dl/runtime-dynamic-linker.cc
size_type max_static_tls_modid ()
Defined at line 21 of file ../../sdk/lib/c/dlfcn/dl/runtime-dynamic-linker.cc
size_type max_tls_modid ()
Defined at line 25 of file ../../sdk/lib/c/dlfcn/dl/runtime-dynamic-linker.cc
ModuleList & result_modules ()
Defined at line 66 of file ../../sdk/lib/c/dlfcn/dl/test/../linking-session.h