• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# asm generated by clang from the following C code:
2#   void puts(const char*);
3#   void hello() { puts("hello\n"); }
4
5  .globl  hello
6hello:
7  .functype hello () -> ()
8  i32.const hello_str
9  call  puts
10  end_function
11
12  .section  .rodata.hello_str,"",@
13  .globl  hello_str
14hello_str:
15  .asciz  "hello\n"
16  .size hello_str, 7
17
18  .functype puts (i32) -> ()
19