projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd0fba
)
Fix bug: test/Regression/Assembler/2002-07-31-SlashInString.llx
author
Chris Lattner
<sabre@nondot.org>
Wed, 31 Jul 2002 23:56:44 +0000
(23:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 31 Jul 2002 23:56:44 +0000
(23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3195
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index c12af5ba553c7f4db18964c92007d2a0101a11b7..aeca6f7e21eacc883b2fe0a020bcef58feacbadd 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-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 << '\\'