[LLVMdev] Compiling whole programs to bitcode

Russell Wallace russell.wallace at gmail.com
Fri Jun 3 21:40:07 PDT 2011


Right, that's also an option. In that event, though, the question
still arises about what the overall pipeline looks like... is there
documentation anywhere on just how Clang/LLVM goes about handling C++
templates?

On Sat, Jun 4, 2011 at 5:29 AM, Eric Christopher <echristo at apple.com> wrote:
>
> 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