diff options
-rw-r--r-- | lib/Target/SparcV9/SparcV9AsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index 58a60b0977..ce81248478 100644 --- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp +++ b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp @@ -586,6 +586,8 @@ static string getAsCString(const ConstantArray *CVA) { if (C == '"') { Result += "\\\""; + } else if (C == '\\') { + Result += "\\\\"; } else if (isprint(C)) { Result += C; } else { |