pub struct LLJIT { /* private fields */ }
Implementations§
Source§impl LLJIT
impl LLJIT
pub fn new(refer: LLVMOrcLLJITRef) -> Self
pub fn get_main_jitdylib(&self) -> LLVMOrcJITDylibRef
pub fn add_main_dylib_llvm_ir_module( &self, safe_module: LLVMOrcThreadSafeModuleRef, ) -> Result<(), String>
pub fn define_main_dylib_symbol(&self, symbol_name: &str, sym_addr: u64)
pub fn mangle_and_intern( &self, symbol_name: &str, ) -> LLVMOrcSymbolStringPoolEntryRef
pub fn lookup(&self, symbol_name: &str) -> Result<u64, String>
Auto Trait Implementations§
impl Freeze for LLJIT
impl RefUnwindSafe for LLJIT
impl !Send for LLJIT
impl !Sync for LLJIT
impl Unpin for LLJIT
impl UnwindSafe for LLJIT
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more