MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / Section_init_name

Function Section_init_name

lib/asmjit/asmjit/core/codeholder.cpp:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76static const char Section_address_table_name[] = ".addrtab";
77
78static ASMJIT_INLINE void Section_init_name(
79 Section* section,
80 char c0 = 0, char c1 = 0, char c2 = 0, char c3 = 0,
81 char c4 = 0, char c5 = 0, char c6 = 0, char c7 = 0) noexcept {
82
83 section->_name.u32[0] = Support::bytepack32_4x8(uint8_t(c0), uint8_t(c1), uint8_t(c2), uint8_t(c3));
84 section->_name.u32[1] = Support::bytepack32_4x8(uint8_t(c4), uint8_t(c5), uint8_t(c6), uint8_t(c7));
85 section->_name.u32[2] = 0u;
86 section->_name.u32[3] = 0u;
87}
88
89static ASMJIT_INLINE void Section_init_data(Section* section, uint32_t section_id, SectionFlags flags, uint32_t alignment, int order) noexcept {
90 section->_section_id = section_id;

Callers 1

Calls 1

bytepack32_4x8Function · 0.85

Tested by

no test coverage detected