diff options
Diffstat (limited to 'llvm/test/tools/llvm-objdump/MachO/hex-displacement.test')
-rw-r--r-- | llvm/test/tools/llvm-objdump/MachO/hex-displacement.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/MachO/hex-displacement.test b/llvm/test/tools/llvm-objdump/MachO/hex-displacement.test new file mode 100644 index 000000000000..541cca53869b --- /dev/null +++ b/llvm/test/tools/llvm-objdump/MachO/hex-displacement.test @@ -0,0 +1,6 @@ +# Check that target displacement has '0x' prefix +# to accent hex format of the number. + +# RUN: llvm-objdump -d %p/Inputs/hello.exe.macho-i386 | FileCheck %s + +# CHECK: 1f47: e8 00 00 00 00 calll 0 <_main+0xc> |