brintos

brintos / llvm-project-archived public Read only

0
0
Text · 300 B · bac9883 Raw
14 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s2# RUN: wasm-ld --export=get_handle %t.o -o %t.wasm3 4  .globl  get_handle5get_handle:6  .functype get_handle () -> (i32)7  i32.const __dso_handle8  end_function9 10  .globl  _start11_start:12  .functype _start () -> ()13  end_function14