llvm-for-llvmta/test/tools/llvm-objdump/MachO/sections.test

12 lines
442 B
Plaintext

# RUN: llvm-objdump --macho --section=__data %p/Inputs/bind2.macho-x86_64 | FileCheck %s
# CHECK: bind2.macho-x86_64:
# RUN: llvm-objdump --macho --section=__data %p/Inputs/section.macho-armv7 | FileCheck --check-prefix CHECK-ADDR %s
# CHECK-ADDR: 00000004 00000001 00000002
# RUN: llvm-objdump --macho --section=__const %p/Inputs/section.macho-armv7 | FileCheck --check-prefix CHECK-BYTES %s
# CHECK-BYTES: 0000000c 00000003 04 05 06