[lld] r311335 - [ELF] Remove dependency on hexdump from lit test
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 07:11:08 PDT 2017
Author: jhenderson
Date: Mon Aug 21 07:11:08 2017
New Revision: 311335
URL: http://llvm.org/viewvc/llvm-project?rev=311335&view=rev
Log:
[ELF] Remove dependency on hexdump from lit test
hexdump is not part of the GNU coreutils, and so is not required to be able to
build and test LLVM, according to the documentation. This change removes the
dependency on hexdump from a lit test.
Reviewers: grimar
Differential Revision: https://reviews.llvm.org/D36958
Modified:
lld/trunk/test/ELF/fill-trap.s
Modified: lld/trunk/test/ELF/fill-trap.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/fill-trap.s?rev=311335&r1=311334&r2=311335&view=diff
==============================================================================
--- lld/trunk/test/ELF/fill-trap.s (original)
+++ lld/trunk/test/ELF/fill-trap.s Mon Aug 21 07:11:08 2017
@@ -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:
More information about the llvm-commits
mailing list