Lines Matching refs:obj

27 use wasmtime_environ::{FuncKey, obj};
53 obj: &'a mut Object<'static>, field
75 obj: &'a mut Object<'static>, in new()
81 let text_section = obj.add_section( in new()
82 obj.segment_name(StandardSegment::Text).to_vec(), in new()
92 let section = obj.section_mut(text_section); in new()
95 sh_flags: obj::SH_WASMTIME_NOT_EXECUTED, in new()
101 obj, in new()
132 let symbol_id = self.obj.add_symbol(Symbol { in append_func()
227 self.obj in finish()
233 .append_section(self.compiler, self.obj, self.text_section); in finish()
381 obj: &mut Object<'_>, in append_section()
387 let text_section_size = obj.append_section_data(text_section, &[], text_align(compiler)); in append_section()
394 let segment = obj.segment_name(StandardSegment::Data).to_vec(); in append_section()
395 let xdata_id = obj.add_section(segment, b".xdata".to_vec(), SectionKind::ReadOnlyData); in append_section()
396 let segment = obj.segment_name(StandardSegment::Data).to_vec(); in append_section()
397 let pdata_id = obj.add_section(segment, b".pdata".to_vec(), SectionKind::ReadOnlyData); in append_section()
398 self.write_windows_unwind_info(obj, xdata_id, pdata_id, text_section_size); in append_section()
402 let segment = obj.segment_name(StandardSegment::Data).to_vec(); in append_section()
404 obj.add_section(segment, b".eh_frame".to_vec(), SectionKind::ReadOnlyData); in append_section()
405 self.write_systemv_unwind_info(compiler, obj, section_id, text_section_size) in append_section()
420 obj: &mut Object<'_>, in write_windows_unwind_info()
428 obj.append_section_data(xdata_id, &self.windows_xdata, 4); in write_windows_unwind_info()
449 let pdata = match obj.architecture() { in write_windows_unwind_info()
473 obj.append_section_data(pdata_id, &pdata, 4); in write_windows_unwind_info()
517 obj: &mut Object<'_>, in write_systemv_unwind_info()
550 obj.append_section_data(section_id, endian_vec.slice(), 1); in write_systemv_unwind_info()