Binary Generation from LLVM

How to create executable binaries from the C ++ side of LLVM?

I'm currently writing a gaming compiler, and I'm not quite sure how to take the last step of creating an executable from IR.

The only solution that I can see right now is to write a bit code, and then call llc using systemor the like. Is there a way to do this from a C ++ interface?

It seems that this would be a general question, but I can not find anything on it.

+5
source share
1 answer

LLVM , . , , . llvm-ld, , .

+3

All Articles