[cfe-dev] bin2obj using llvm

Jochen Wilhelmy j.wilhelmy at arcor.de
Wed Jan 13 10:34:17 PST 2010


Hi!

as a compiler can generate object files (COFF, ELF etc.) I wonder if
it is possible to create a bin to object converter (e.g. for image data)
using llvm.

I have found the classes TargetLoweringObjectFileCOFF but
I don't know how to fill it with data and save it. Can you give me a hint
how it works or where in clang I can see how it works.

Thanks,
Jochen



More information about the cfe-dev mailing list