Hello,
is there a possibility to redirect the output of dump() function in llvm?
Hello,
is there a possibility to redirect the output of dump() function in llvm?
Or how to print any instruction, value, range and so on to file?
Hi,
The Value class has a print() method which takes a raw_ostream. You can create one that points to a file and use it.
In fact, dump() itself calls this method.
Victor.