[LLVMdev] Compiling a raw binary with llvm/clang

Eli Friedman eli.friedman at gmail.com
Thu Dec 17 13:16:56 PST 2009

On Thu, Dec 17, 2009 at 1:00 PM, LiteHacker <vilmer88 at gmail.com> wrote:
> Indeed ld does link it. The reason I am using llvm-ld, is for its unique
> functionality.
> I intend to link to object files together (created by cling), and link them
> with llvm-ld.
> The main feature that I am currently interested in is the ability to have
> "inline functions" between two object files. This was basically impossible
> with gcc.
> Is there any way to make the raw binary with llvm?

Take the .bc file produced by llvm-ld, compile it to assembly with
llc, then use the same procedure you were originally using.


More information about the llvm-dev mailing list