1# RUN: ld64.lld -arch x86_64 -r %s -print_atoms -o %t2 | FileCheck %s
2#
3# Test parsing of mach-o functions with no symbols at all.
4#
5
6--- !mach-o
7arch:            x86_64
8file-type:       MH_OBJECT
9flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
10has-UUID:        false
11OS:              unknown
12sections:
13  - segment:         __TEXT
14    section:         __text
15    type:            S_REGULAR
16    attributes:      [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
17    alignment:       4
18    address:         0x0000000000000000
19    content:         [ 0xCC ]
20...
21
22# CHECK-NOT:  name:
23# CHECK:      content:         [ CC ]
24