macho-section.test 500 B

12345678
  1. // RUN: llvm-objdump -m -section __DATA,__mod_init_func %p/Inputs/dylibModInit.macho-x86_64 | FileCheck %s -check-prefix=MODINIT
  2. // RUN: llvm-objdump -m -section __DATA,__mod_init_func -non-verbose %p/Inputs/dylibModInit.macho-x86_64 | FileCheck %s -check-prefix=NON_VERBOSE
  3. MODINIT: Contents of (__DATA,__mod_init_func) section
  4. MODINIT: 0x0000000000001000 0x0000000000000f30 _libinit
  5. NON_VERBOSE: Contents of (__DATA,__mod_init_func) section
  6. NON_VERBOSE: 0000000000001000 30 0f 00 00 00 00 00 00