template <class Elf>
class TlsLayout
Defined at line 35 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
Forward declaration (see tls-layout.h).
Public Methods
void TlsLayout<Elf> ()
A default-constructed TlsLayout is trivially zero-initialized and ready to
be updated using the Assign() method.
Defined at line 43 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
void TlsLayout<Elf> (Addr size_bytes, Addr alignment)
Construct a pre-existing layout from another source. Unless zero, this
size_bytes must already include any ABI-specified kTlsLocalExecOffset.
Defined at line 47 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
auto operator<=> (const TlsLayout<Elf> & )
Sortable first on size, and secondarily on alignment.
The == and != operators are implicitly defaulted.
Defined at line 59 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
template <ElfMachine Machine = ElfMachine::kNative, size_type RedZone = 0>
size_type Assign (const Phdr & phdr)
Defined at line 62 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
template <ElfMachine Machine = ElfMachine::kNative, size_type RedZone = 0>
size_type Assign (size_type segment_size, size_type segment_alignment)
Defined at line 67 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
size_type size_bytes ()
Defined at line 103 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
size_type alignment ()
Defined at line 105 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h
size_type Align (size_type size, size_type min_alignment)
This rounds up a size to at least alignment(); and also to at least the
second argument if given.
Defined at line 109 of file ../../src/lib/elfldltl/include/lib/elfldltl/tls-layout.h