4e1765f7f42fca37b3d17e5a824693ea3a09250f
[oota-llvm.git] / test / tools / llvm-objdump / malformed-machos.test
1 // These test checks that llvm-objdump will not crash with malformed Mach-O
2 // files.  So the check line is not all that important but the bug fixes to
3 // make sure llvm-objdump is robust is what matters.
4 # RUN: llvm-objdump -macho -objc-meta-data \
5 # RUN:   %p/Inputs/malformed-machos/mem-crup-0001.macho \
6 # RUN:   | FileCheck -check-prefix=m0001 %s 
7
8 # m0001: (method_t extends past the end of the section)
9
10 # RUN: llvm-objdump -macho -objc-meta-data \
11 # RUN:   %p/Inputs/malformed-machos/mem-crup-0006.macho \
12 # RUN:   | FileCheck -check-prefix=m0006 %s 
13
14 # m0006: ivarLayout 0x8