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