[PATCH] D36958: [ELF] Remove dependency on hexdump from lit tests
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 07:12:23 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL311335: [ELF] Remove dependency on hexdump from lit test (authored by jhenderson).
Changed prior to commit:
https://reviews.llvm.org/D36958?vs=111966&id=111974#toc
Repository:
rL LLVM
https://reviews.llvm.org/D36958
Files:
lld/trunk/test/ELF/fill-trap.s
Index: lld/trunk/test/ELF/fill-trap.s
===================================================================
--- lld/trunk/test/ELF/fill-trap.s
+++ lld/trunk/test/ELF/fill-trap.s
@@ -3,7 +3,7 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2
# RUN: llvm-readobj -program-headers %t2 | FileCheck %s
-# RUN: hexdump -v -s 0x0001ff0 -x %t2 | FileCheck %s -check-prefix=FILL
+# RUN: od -Ax -x -N16 -j0x1ff0 %t2 | FileCheck %s -check-prefix=FILL
# CHECK: ProgramHeader {
# CHECK: Type: PT_LOAD
@@ -17,8 +17,8 @@
# CHECK-NEXT: PF_X
# CHECK-NEXT: ]
-## Check that executable page is filled with traps at it's end.
-# FILL: 0001ff0 cccc cccc cccc cccc cccc cccc cccc cccc
+## Check that executable page is filled with traps at its end.
+# FILL: 001ff0 cccc cccc cccc cccc cccc cccc cccc cccc
.globl _start
_start:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36958.111974.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170821/a6207ae7/attachment.bin>
More information about the llvm-commits
mailing list