[PATCH] D24205: Use od instead of hexdump.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 13:28:33 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL280536: Use od instead of hexdump. (authored by ruiu).

Changed prior to commit:
  https://reviews.llvm.org/D24205?vs=70217&id=70219#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24205

Files:
  lld/trunk/test/ELF/oformat-binary.s

Index: lld/trunk/test/ELF/oformat-binary.s
===================================================================
--- lld/trunk/test/ELF/oformat-binary.s
+++ lld/trunk/test/ELF/oformat-binary.s
@@ -2,14 +2,14 @@
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
 
 # RUN: ld.lld -o %t.out %t --oformat binary
-# RUN: hexdump -C %t.out | FileCheck %s
-# CHECK: 00000000 90 11 22 00 00 00 00 00
+# RUN: od -t x1 -v %t.out | FileCheck %s
+# CHECK: 000000 90 11 22 00 00 00 00 00
 # CHECK-NOT: 00000010
 
 ## Check case when linkerscript is used.
 # RUN: echo "SECTIONS { . = 0x1000; }" > %t.script
 # RUN: ld.lld -o %t2.out --script %t.script %t --oformat binary
-# RUN: hexdump -C %t2.out | FileCheck %s
+# RUN: od -t x1 -v %t2.out | FileCheck %s
 
 # RUN: not ld.lld -o %t3.out %t --oformat foo 2>&1 \
 # RUN:   | FileCheck %s --check-prefix ERR


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24205.70219.patch
Type: text/x-patch
Size: 860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160902/93efec71/attachment.bin>


More information about the llvm-commits mailing list