Slim down temporary trampoline objects (#5212)
I noticed this in the backtrace of something that timed out on oss-fuzz and there's no need to include this information in trampolines, so this removes the extra sections from being generated.
This commit is contained in:
@@ -120,7 +120,6 @@ where
|
|||||||
stub_fn::<F> as usize,
|
stub_fn::<F> as usize,
|
||||||
&mut obj,
|
&mut obj,
|
||||||
)?;
|
)?;
|
||||||
engine.append_compiler_info(&mut obj);
|
|
||||||
engine.append_bti(&mut obj);
|
engine.append_bti(&mut obj);
|
||||||
let obj = wasmtime_jit::ObjectBuilder::new(obj, &engine.config().tunables).finish()?;
|
let obj = wasmtime_jit::ObjectBuilder::new(obj, &engine.config().tunables).finish()?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user