[llvm-dev] Errors linking with LLVM 5.0 - dump() missing

David Keaton via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 26 20:33:18 PDT 2017


On 09/26/2017 11:54 AM, Matthias Braun wrote:
> If you want to dump IR, can't you just switch your code from
>      Value.dump();  to Value.print(dbgs(), true); dbgs() << '\n';

      Thanks.  That does seem to work for us.  Since others have 
struggled with this too, it is probably good material for the release 
notes -- possibly a good addition to make for 5.0.1.

					David


More information about the llvm-dev mailing list