[PATCH] D23792: IR: Properly handle escape characters in Attribute::getAsString()

John McCall via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 21:23:48 PDT 2016


rjmccall added a comment.

I'm not sure what you're saying.  The existing function PrintEscapedString in AsmWriter.cpp does exactly what you want; you just need to call it from getAsString as well. You'll need to expose it somewhere, of course.


https://reviews.llvm.org/D23792





More information about the llvm-commits mailing list