[LLVMdev] Remove debug info from the byte code?

Zheng Wang jason.wangz at gmail.com
Thu May 20 03:05:09 PDT 2010


Hiya,

Is there any easy way to remove the debug info from the LLVM byte code
once I have collected all the debug info I needed? It is because the
debug info seems to slow down the program significantly. I may be able
to go through each basic block and delete the debug info in my pass.
But, is there any elegant way to do it?

Cheers,
Zheng



More information about the llvm-dev mailing list