#l1x #wasm-file #translates #llvm #llvm-ir #translator #llvmir

bin+lib l1x-wasm-llvmir

WASM to LLVMIR translator for the L1X project

1 unstable release

new 0.2.1 Apr 25, 2024

#620 in WebAssembly

Apache-2.0

135KB
3K SLoC

WASM to LLVM IR code transaltor

Translates a WASM file to L1X VM llvmir repesentation. Used by cargo-l1x

Requirements:

llvm-15

Build:

cargo build

Test

cargo test

Run:

cargo run some.wasm -o some.ll

Create eBPF object file:

Require installed llvm-17

./build_ebpf.sh some.ll

Dependencies

~25–33MB
~594K SLoC