Index: lib/MC/MCAsmStreamer.cpp =================================================================== --- lib/MC/MCAsmStreamer.cpp +++ lib/MC/MCAsmStreamer.cpp @@ -664,6 +664,7 @@ case '\n': OS << "\\n"; break; case '\r': OS << "\\r"; break; case '\t': OS << "\\t"; break; + case '\v': OS << "\\v"; break; default: OS << '\\'; OS << toOctal(C >> 6); Index: lib/MC/MCParser/AsmParser.cpp =================================================================== --- lib/MC/MCParser/AsmParser.cpp +++ lib/MC/MCParser/AsmParser.cpp @@ -2480,6 +2480,7 @@ case 'n': Data += '\n'; break; case 'r': Data += '\r'; break; case 't': Data += '\t'; break; + case 'v': Data += '\v'; break; case '"': Data += '"'; break; case '\\': Data += '\\'; break; } Index: test/MC/AsmParser/directive_ascii.s =================================================================== --- test/MC/AsmParser/directive_ascii.s +++ test/MC/AsmParser/directive_ascii.s @@ -28,9 +28,9 @@ .ascii "\1\01\07\08\001\0001\200\0" # CHECK: TEST5: -# CHECK: .ascii "\b\f\n\r\t\\\"" +# CHECK: .ascii "\b\f\n\r\t\v\\\"" TEST5: - .ascii "\b\f\n\r\t\\\"" + .ascii "\b\f\n\r\t\v\\\"" # CHECK: TEST6: # CHECK: .byte 66