mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Dump the contents of the object file for further analysis.
This commit is contained in:
parent
2d209385c5
commit
34122723a1
@ -198,6 +198,7 @@ impl LLVMBackend {
|
||||
.write_to_memory_buffer(&module, FileType::Object)
|
||||
.unwrap();
|
||||
let mem_buf_slice = memory_buffer.as_slice();
|
||||
dbg!(&mem_buf_slice);
|
||||
|
||||
if let Some(path) = unsafe { &crate::GLOBAL_OPTIONS.obj_file } {
|
||||
let mut file = File::create(path).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user