• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-objdump --macho --section __DATA,__mod_init_func %p/Inputs/dylibModInit.macho-x86_64 | FileCheck %s --check-prefix=MODINIT
2// RUN: llvm-objdump --macho --section __DATA,__mod_init_func --non-verbose %p/Inputs/dylibModInit.macho-x86_64 | FileCheck %s --check-prefix=NON_VERBOSE
3// RUN: llvm-objdump --macho --section __DATA,__mod_init_func %p/Inputs/objModInit.macho-x86_64 | FileCheck %s --check-prefix=OBJ_MODINIT
4
5MODINIT: Contents of (__DATA,__mod_init_func) section
6MODINIT: 0x0000000000001000 0x0000000000000f30 _libinit
7
8NON_VERBOSE: Contents of (__DATA,__mod_init_func) section
9NON_VERBOSE: 0000000000001000	30 0f 00 00 00 00 00 00
10
11OBJ_MODINIT: Contents of (__DATA,__mod_init_func) section
12OBJ_MODINIT: 0x0000000000000018 0x0000000000000000 _constructor_func
13