From an llvm pass, I need to print an llvm instruction (Type llvm::Instruction
) on the screen, just like as it appears in the llvm bitcode file. Actually my compilation is crashing, and does not reach the point where bitcode file is generated. So for debugging I want to print some instructions to know what is going wrong.
问问题
6915 次