class RemoteAbiString

Defined at line 117 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

RemoteAbiString is to std::string_view as RemoteAbiSpan

<T

> is to span

<T

>.

It's created during the Layout phase by RemoteAbiHeapLayout::AddString. In

the Data phase RemoteAbiHeap::Local converts it to a std::span

<const

char>

where the string (with implicit NUL terminator) can be seen during the

lifetime of the RemoteAbiHeap, and RemoteAbiHeap::Remote converts it to a

remote AbiStringView that represents the strings in the remote address space

where it will be after Commit. (Note that a NUL terminator is guaranteed to

be present after the bytes descirbed by the AbiStringView.)

Public Methods

size_t size ()

Defined at line 119 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

bool empty ()

Defined at line 121 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

Friends

template <class Elf, class AbiTraits>
class RemoteAbiHeap
class RemoteAbiHeapLayout