commit | aaf6ee80de7cb213cc63abf1f21729ba8a1962c9 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Oct 15 19:56:24 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Oct 15 19:56:24 2002 +0000 |
tree | fef18efe5285cfa0ecc5296eacfb24da2b02dc99 | |
parent | 7fc4b5c779e8bb7279726c0e0c4756b1803f3ad6 [diff] [blame] |
Make sure to escape \'s when they are output llvm-svn: 4179
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp index 58a60b0..ce81248 100644 --- a/llvm/lib/Target/Sparc/EmitAssembly.cpp +++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp
@@ -586,6 +586,8 @@ if (C == '"') { Result += "\\\""; + } else if (C == '\\') { + Result += "\\\\"; } else if (isprint(C)) { Result += C; } else {