[LLVMdev] Compile a particular function
wendling at apple.com
Tue Jul 13 18:49:36 PDT 2010
On Jul 13, 2010, at 6:34 PM, shreyas krishnan wrote:
> 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 ?
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.
More information about the llvm-dev