start running global constructors
This commit is contained in:
parent
9ed1b679c0
commit
f64b5d7120
5 changed files with 1096 additions and 196 deletions
1258
src/lib.rs
1258
src/lib.rs
File diff suppressed because it is too large
Load diff
|
|
@ -1,10 +1,10 @@
|
|||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
// See Notices.txt for copyright information
|
||||
|
||||
use compile_qemu_for_decoder::parse_qemu_ppc64_softmmu;
|
||||
use compile_qemu_for_decoder::parse_qemu_system_ppc64;
|
||||
use inkwell::targets::{InitializationConfig, Target};
|
||||
|
||||
fn main() -> eyre::Result<()> {
|
||||
Target::initialize_power_pc(&InitializationConfig::default());
|
||||
parse_qemu_ppc64_softmmu("libqemu-ppc64-softmmu.bc", 10, 10)
|
||||
parse_qemu_system_ppc64("qemu-system-ppc64.bc", 10, 10)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue