Use existing PrintEscapedString in AssemblyWriter
authorTeresa Johnson <tejohnson@google.com>
Wed, 30 Mar 2016 22:17:28 +0000 (22:17 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 30 Mar 2016 22:17:28 +0000 (22:17 +0000)
commitd8d94652b2345f596b3a62dbcd32cbb0a1a50856
tree20930d4a8b8f316ff77f2d3886389f5fc4c1c188
parent2bc252acd5625cb0fb167f0d9b3fd05292f7cc47
Use existing PrintEscapedString in AssemblyWriter

r264884 introduced a helper to escape the backslashes in the source file
path, but I since discovered an existing mechanism to escape strings.

llvm-svn: 264936
llvm/lib/IR/AsmWriter.cpp
llvm/test/Assembler/source-filename-backslash.ll