mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-01 21:04:04 -04:00
e412617825
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374415 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
259 B
LLVM
8 lines
259 B
LLVM
; Make sure that llvm-as/llvm-dis properly assemble/disassemble the
|
|
; source_filename.
|
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
; CHECK: source_filename = "C:\\path\\with\\backslashes\\test.cc"
|
|
source_filename = "C:\\path\\with\5Cbackslashes\\test.cc"
|