| 121 | } |
| 122 | |
| 123 | static ASMJIT_INLINE void CodeHolder_add_text_section(CodeHolder* self) noexcept { |
| 124 | Section* text_section = &self->_text_section; |
| 125 | |
| 126 | Section_init_data(text_section, 0u, SectionFlags::kExecutable | SectionFlags::kReadOnly | SectionFlags::kBuiltIn, 0u, 0); |
| 127 | Section_init_name(text_section, '.', 't', 'e', 'x', 't'); |
| 128 | |
| 129 | self->_sections.append_unchecked(text_section); |
| 130 | self->_sections_by_order.append_unchecked(text_section); |
| 131 | } |
| 132 | |
| 133 | static ASMJIT_NOINLINE void CodeHolder_detach_emitters(CodeHolder* self) noexcept { |
| 134 | BaseEmitter* emitter = self->_attached_first; |
no test coverage detected