Why does the LLVM invoke command-line tools instead of using the library?
nicola.gigante at gmail.com
Fri Jun 3 15:25:15 UTC 2016
while looking at the GHC 8 Trac page I encountered the page
about the plans for the improved LLVM backend:
I know nearly nothing about the internals of the GHC backend so
I may be asking something trivial, but from reading that page
I understand that GHC currently calls LLVM command line tools
to optimize and compile the IR, is it right?
LLVM is a C++ library, but it also exports a portable and stable C API
which I think is already covered by the llvm-general package.
So as someone who worked on LLVM in the past, and appreciated
its library-based integration-friendly design I’m wondering why is
GHC using the command line tools instead of linking to the library?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs