Reviewers: MaskRay, jhenderson, rupprecht
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63393
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363858
91177308-0d34-0410-b5e6-
96231b3b80d8
-// RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux | llvm-objdump -d - | FileCheck %s
+// RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux | llvm-objdump -d - | FileCheck --strict-whitespace --match-full-lines %s
.text
.globl foo
.type foo, @function
bar:
.string "test string"
-// CHECK: b: 74 65 73 74 20 73 74 72 test str
-// CHECK-NEXT: 13: 69 6e 67 00 ing.
-
+// CHECK: b: 74 65 73 74 20 73 74 72 test str
+// CHECK-NEXT: 13: 69 6e 67 00 ing.
int NumBytes = 0;
for (; Index < End; ++Index) {
- if (NumBytes == 0) {
+ if (NumBytes == 0)
outs() << format("%8" PRIx64 ":", SectionAddr + Index);
- outs() << "\t";
- }
Byte = Bytes.slice(Index)[0];
outs() << format(" %02x", Byte);
AsciiData[NumBytes] = isPrint(Byte) ? Byte : '.';