weak-symbol2.ll 211 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 target triple = "wasm32-unknown-unknown" define weak i32 @weakFn() #0 { entry: ret i32 2 } define i32 @exportWeak2() { entry: ret i32 ptrtoint (i32 ()* @weakFn to i32) } @weakGlobal = weak global i32 2