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 // RUN: llvm-objdump -m -section __DATA,__mod_init_func %p/Inputs/objModInit.macho-x86_64 | FileCheck %s -check-prefix=OBJ_MODINIT
5 MODINIT: Contents of (__DATA,__mod_init_func) section
6 MODINIT: 0x0000000000001000 0x0000000000000f30 _libinit
8 NON_VERBOSE: Contents of (__DATA,__mod_init_func) section
9 NON_VERBOSE: 0000000000001000 30 0f 00 00 00 00 00 00
11 OBJ_MODINIT: Contents of (__DATA,__mod_init_func) section
12 OBJ_MODINIT: 0x0000000000000018 0x0000000000000000 _constructor_func