struct TestElfObject

Defined at line 28 of file ../../sdk/lib/ld/testing/include/lib/ld/testing/test-elf-object.h

This represents data culled from a linked ELF (test data) file at build

time, using //sdk/lib/ld/testing/test_elf_object.gni's test_elf_object().

Each test_elf_object() target produces one initialized const TestElfObject

named `ld::testing::kTestElfObject_k

<build

ID hex>`, with the hex build ID

of the ELF file encoded in the symbol name. Due to build system issues, the

same ELF file may be compiled separately multiple times to be linked into

the same test; so the generated definitions are `inline const` variables.

Public Members

basic_string_view build_path
basic_string_view build_id_hex
Soname soname
span load_segments
optional libprefix