- We now print all of 403.gcc cleanly (llvm-mc -> 'as' as diffed to 'as'), minus two
'rep;movsl' instructions (which I missed before).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79031
91177308-0d34-0410-b5e6-
96231b3b80d8
void MCAsmStreamer::EmitBytes(const StringRef &Data) {
assert(CurSection && "Cannot emit contents before setting section!");
for (unsigned i = 0, e = Data.size(); i != e; ++i)
- OS << ".byte " << (unsigned) Data[i] << '\n';
+ OS << ".byte " << (unsigned) (unsigned char) Data[i] << '\n';
}
void MCAsmStreamer::EmitValue(const MCValue &Value, unsigned Size) {
# CHECK: .byte 1
# CHECK: .byte 0
# CHECK: .byte 49
+# CHECK: .byte 128
# CHECK: .byte 0
TEST4:
- .ascii "\1\01\07\08\001\0001\b\0"
+ .ascii "\1\01\07\08\001\0001\200\0"
# CHECK: TEST5:
# CHECK: .byte 8