geovanisouza92 at gmail.com
2011-Aug-28 21:49 UTC
[LLVMdev] Which level of LLVM integration with native code, like DLLs?
Hi everyone! I come here to learn about integration of LLVM with native code. It can work with other native libraries (like dll)? Thanks again. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110828/77390c93/attachment.html>
Dmitry N. Mikushin
2011-Aug-28 22:00 UTC
[LLVMdev] Which level of LLVM integration with native code, like DLLs?
Geovani, LLVM like many other compilers consists of several big stages - frontends, middle-ends and backends. Frontend translates input language into compiler's internal representation (IR), middle-end works with this IR applying various optimizations, for example, and backend generates executable code out of IR, that could be whatever you can implement, including native x86 assembler. In this case binary generated by LLVM will be just like any other binary in system, and therefore compatible with other binaries in any form, including dlls. - D. 2011/8/29 geovanisouza92 at gmail.com <geovanisouza92 at gmail.com>:> Hi everyone! > I come here to learn about integration of LLVM with native code. It can work > with other native libraries (like dll)? > Thanks again. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >
geovanisouza92 at gmail.com
2011-Aug-28 22:08 UTC
[LLVMdev] Which level of LLVM integration with native code, like DLLs?
Wow. Thanks Dmitry! 2011/8/28 Dmitry N. Mikushin <maemarcus at gmail.com> Geovani,> > LLVM like many other compilers consists of several big stages - > frontends, middle-ends and backends. Frontend translates input > language into compiler's internal representation (IR), middle-end > works with this IR applying various optimizations, for example, and > backend generates executable code out of IR, that could be whatever > you can implement, including native x86 assembler. In this case binary > generated by LLVM will be just like any other binary in system, and > therefore compatible with other binaries in any form, including dlls. > > - D. > > 2011/8/29 geovanisouza92 at gmail.com <geovanisouza92 at gmail.com>: > > Hi everyone! > > I come here to learn about integration of LLVM with native code. It can > work > > with other native libraries (like dll)? > > Thanks again. > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110828/c1419f50/attachment.html>