[LLVMdev] Compiling whole programs to bitcode

Eric Christopher echristo at apple.com
Fri Jun 3 21:29:26 PDT 2011


On Jun 3, 2011, at 9:27 PM, Russell Wallace wrote:

> only having to write a parser for the ASCII version of bitcode
> (dead easy)

Don't do this. Seriously. Waste of time.

There's a parser in llvm, it's pretty good at reading and writing bitcode. Just do your analysis using the llvm apis.

-eric



More information about the llvm-dev mailing list