HomePhabricator

Print quoted backslashes in LLVM IR as \\ instead of \5C

Authored by rnk on Oct 10 2019, 11:31 AM.

Description

Print quoted backslashes in LLVM IR as \\ instead of \5C

This improves readability of Windows path string literals in LLVM IR.
The LLVM assembler has supported \\ in IR strings for a long time, but
the lexer doesn't tolerate escaped quotes, so they have to be printed as
\22 for now.

llvm-svn: 374415

Details

Committed
rnkOct 10 2019, 11:31 AM
Parents
rGe9529a942a76: Remove merge marker :-)
Branches
Unknown
Tags
Unknown