Compile a particular function

Hi
   While using the codegenerator(llc), is there a way to only compile
a particular function from a large file. Or even capture the debug
messages from only a function ?

thanks
shrey

There isn't a facility in llc that does this directly. However, you can use "llvm-extract" to extract the function and then run "llc" on it.

-bw