1*fff9f049SGeorgii Rymar## Test that --hex-dump/-x can be used to display the contents 2*fff9f049SGeorgii Rymar## of the indicated section as hexadecimal bytes. 3*fff9f049SGeorgii Rymar 4*fff9f049SGeorgii Rymar# RUN: llvm-readobj -x 1 %p/Inputs/trivial.obj.macho-x86-64 | FileCheck %s 5*fff9f049SGeorgii Rymar# RUN: llvm-readobj --hex-dump 1 %p/Inputs/trivial.obj.macho-x86-64 | FileCheck %s 6*fff9f049SGeorgii Rymar 7*fff9f049SGeorgii Rymar# CHECK: 0x00000000 50488d3d 00000000 e8000000 00e80000 PH.=............ 8*fff9f049SGeorgii Rymar# CHECK: 0x00000010 000031c0 5ac3 ..1.Z. 9