1 ## This test ensures that LLVM will not crash when converting a Mach-O object
2 ## file with a malformed symbol whose n_sect points to an invalid offset.
4 # RUN: yaml2obj %s -o %t
5 # RUN: not llvm-gsymutil --convert %t -o %t.o 2>&1 | FileCheck %s
7 # CHECK: Loaded 0 functions from symbol table.
13 cpusubtype: 0x00000003
30 n_sect: 3 # Points to an invalid offset.