diff options
Diffstat (limited to 'test/dot_s/export_malloc_free.s')
-rw-r--r-- | test/dot_s/export_malloc_free.s | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/dot_s/export_malloc_free.s b/test/dot_s/export_malloc_free.s new file mode 100644 index 000000000..0158811a4 --- /dev/null +++ b/test/dot_s/export_malloc_free.s @@ -0,0 +1,29 @@ + .text + .file "export_malloc_free.bc" + .hidden main + .globl main + .type main,@function +main: + .result i32 + i32.const $push0=, 0 + .endfunc +.Lfunc_end1: + .size main, .Lfunc_end1-main + + .weak malloc + .type malloc,@function +malloc: + .param i32 + .result i32 + i32.const $push0=, 0 + .endfunc +.Lfunc_end20: + .size malloc, .Lfunc_end20-malloc + + .weak free + .type free,@function +free: + .param i32 + .endfunc +.Lfunc_end21: + .size free, .Lfunc_end21-free |