summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/source-filename-backslash.ll
Commit message (Collapse)AuthorAgeFilesLines
* Print quoted backslashes in LLVM IR as \\ instead of \5CReid Kleckner2019-10-101-3/+2
| | | | | | | | | 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
* Use existing PrintEscapedString in AssemblyWriterTeresa Johnson2016-03-301-2/+2
| | | | | | | 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
* Restore "[ThinLTO] Serialize the Module SourceFileName to/from LLVM assembly"Teresa Johnson2016-03-301-0/+8
This restores commit 264869, with a fix for windows bots to properly escape '\' in the path when serializing out. Added test. llvm-svn: 264884
OpenPOWER on IntegriCloud