MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / read_initial_length

Function read_initial_length

Source/ThirdParty/tracy/libbacktrace/dwarf.cpp:1049–1064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047/* Read initial_length from BUF and advance the appropriate number of bytes. */
1048
1049static uint64_t
1050read_initial_length (struct dwarf_buf *buf, int *is_dwarf64)
1051{
1052 uint64_t len;
1053
1054 len = read_uint32 (buf);
1055 if (len == 0xffffffff)
1056 {
1057 len = read_uint64 (buf);
1058 *is_dwarf64 = 1;
1059 }
1060 else
1061 *is_dwarf64 = 0;
1062
1063 return len;
1064}
1065
1066/* Free an abbreviations structure. */
1067

Callers 2

build_address_mapFunction · 0.85
read_line_infoFunction · 0.85

Calls 2

read_uint32Function · 0.85
read_uint64Function · 0.85

Tested by

no test coverage detected