[LLVMdev] How are system calls made?

Hans Stimer hans.stimer at gmail.com
Mon May 16 21:30:30 PDT 2011


How do you do this in LLVM?

open:
    push    dword mode
    push    dword flags
    push    dword path
    mov eax, 5
    push    eax     ; Or any other dword
    int 80h
    add esp, byte 16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110516/a61fe83b/attachment.html>


More information about the llvm-dev mailing list