[cfe-dev] Code Generator

Juan Carlos Martinez Santos juanc.martinez.santos at gmail.com
Fri Nov 6 07:36:28 PST 2009


Hello,

Using... clang -O2 -S -c foo.c ... I get assembly code for an x86 architecture.


However, where is the assembly code generator?  how I can modify it to
generate a different prologue and epilogue? There is a gencode and an
emitcode functions?

I just need a guide how to start.

Thanks in advance,

-- 
Juan Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091106/a78b2c4b/attachment.html>


More information about the cfe-dev mailing list