mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-25 01:39:26 +00:00
feat: Start implementing loupe::MemoryUsage
on wasmer::Store
.
This commit is contained in:
@ -7,6 +7,7 @@ use inkwell::memory_buffer::MemoryBuffer;
|
||||
use inkwell::module::{Linkage, Module};
|
||||
use inkwell::targets::FileType;
|
||||
use inkwell::DLLStorageClass;
|
||||
use loupe_derive::MemoryUsage;
|
||||
use rayon::iter::ParallelBridge;
|
||||
use rayon::prelude::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator};
|
||||
use std::sync::Arc;
|
||||
@ -22,6 +23,7 @@ use wasmer_types::{FunctionIndex, LocalFunctionIndex, SignatureIndex};
|
||||
|
||||
/// A compiler that compiles a WebAssembly module with LLVM, translating the Wasm to LLVM IR,
|
||||
/// optimizing it and then translating to assembly.
|
||||
#[derive(MemoryUsage)]
|
||||
pub struct LLVMCompiler {
|
||||
config: LLVM,
|
||||
}
|
||||
|
Reference in New Issue
Block a user