From d447a7a12898dd236d91f78cd4b9727273f756dd Mon Sep 17 00:00:00 2001 From: James Henderson Date: Mon, 21 Aug 2017 14:11:08 +0000 Subject: [PATCH] [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 llvm-svn: 311335 --- lld/test/ELF/fill-trap.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lld/test/ELF/fill-trap.s b/lld/test/ELF/fill-trap.s index 3143e2956048..001b904a7790 100644 --- a/lld/test/ELF/fill-trap.s +++ b/lld/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: