Skip to content

Instantly share code, notes, and snippets.

@leostera
Created December 5, 2020 12:51
Show Gist options
  • Save leostera/654b164a21cd547eb09997c7b976141a to your computer and use it in GitHub Desktop.
Save leostera/654b164a21cd547eb09997c7b976141a to your computer and use it in GitHub Desktop.
.file ""
.section .rodata.cst8,"a",@progbits
.align 16
caml_negf_mask:
.quad 0x8000000000000000
.quad 0
.align 16
caml_absf_mask:
.quad 0x7fffffffffffffff
.quad -1
.data
.globl camlDune__exe__Main__data_begin
camlDune__exe__Main__data_begin:
.text
.globl camlDune__exe__Main__code_begin
camlDune__exe__Main__code_begin:
.data
.align 8
.data
.align 8
.quad 768
.globl camlDune__exe__Main
camlDune__exe__Main:
.data
.align 8
.globl camlDune__exe__Main__gc_roots
camlDune__exe__Main__gc_roots:
.quad camlDune__exe__Main
.quad 0
.text
.align 16
.globl camlDune__exe__Main__entry
camlDune__exe__Main__entry:
.cfi_startproc
subq $8, %rsp
.cfi_adjust_cfa_offset 8
.L102:
movl $1, %edi
.file 1 "ocaml-tree-sitter/main.ml"
.loc 1 1 21
movq @GOTPCREL(%rip), %rax
call caml_c_call@PLT
.L100:
movq (%r14), %r15
movq %rax, %rbx
movq camlStdlib@GOTPCREL(%rip), %rax
.loc 1 1 8
movq 304(%rax), %rax
.file 2 "stdlib.ml"
.loc 2 480 21
call camlStdlib__output_string_245@PLT
.L101:
movl $1, %eax
addq $8, %rsp
.cfi_adjust_cfa_offset -8
ret
.cfi_adjust_cfa_offset 8
.cfi_adjust_cfa_offset -8
.cfi_endproc
.type camlDune__exe__Main__entry,@function
.size camlDune__exe__Main__entry,. - camlDune__exe__Main__entry
.data
.align 8
.text
.globl camlDune__exe__Main__code_end
camlDune__exe__Main__code_end:
.data
/* relocation table start */
.align 8
/* relocation table end */
.data
.quad 0
.globl camlDune__exe__Main__data_end
camlDune__exe__Main__data_end:
.quad 0
.align 8
.globl camlDune__exe__Main__frametable
camlDune__exe__Main__frametable:
.quad 2
.quad .L101
.word 17
.word 0
.align 4
.long (.L103 - .) + 0
.align 8
.quad .L100
.word 17
.word 0
.align 4
.long (.L104 - .) + 0
.align 8
.align 4
.L103:
.long (.L106 - .) + -1409286143
.long 1966416
.long (.L108 - .) + -1543503872
.long 4224
.align 4
.L104:
.long (.L108 - .) + -1543503872
.long 4432
.L105:
.ascii "stdlib.ml\0"
.L107:
.ascii "ocaml-tree-sitter/main.ml\0"
.align 4
.L108:
.long (.L107 - .) + 0
.ascii "Dune__exe__Main\0"
.align 4
.L106:
.long (.L105 - .) + 0
.ascii "Stdlib.print_string\0"
.align 8
.size camlDune__exe__Main__frametable,. - camlDune__exe__Main__frametable
.section .note.GNU-stack,"",%progbits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment