mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix bug: test/Regression/Assembler/2002-07-31-SlashInString.llx
llvm-svn: 3195
This commit is contained in:
parent
5fefc76529
commit
8adb533609
@ -271,7 +271,7 @@ static void WriteConstantInt(ostream &Out, const Constant *CV, bool PrintName,
|
||||
(unsigned char)cast<ConstantSInt>(CA->getOperand(i))->getValue() :
|
||||
(unsigned char)cast<ConstantUInt>(CA->getOperand(i))->getValue();
|
||||
|
||||
if (isprint(C) && C != '"') {
|
||||
if (isprint(C) && C != '"' && C != '\\') {
|
||||
Out << C;
|
||||
} else {
|
||||
Out << '\\'
|
||||
|
Loading…
Reference in New Issue
Block a user