]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/mach-o/objc-image-info-mismatched-swift-version.yaml
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / mach-o / objc-image-info-mismatched-swift-version.yaml
1 # RUN: not ld64.lld -arch x86_64 -r %s %p/Inputs/swift-version-1.yaml 2>&1 | FileCheck %s
2
3 --- !mach-o
4 arch:            x86_64
5 file-type:       MH_OBJECT
6 flags:           [ MH_SUBSECTIONS_VIA_SYMBOLS ]
7 compat-version:  0.0
8 current-version: 0.0
9 has-UUID:        false
10 OS:              unknown
11 sections:
12   - segment:         __DATA
13     section:         __objc_imageinfo
14     type:            S_REGULAR
15     attributes:      [ S_ATTR_NO_DEAD_STRIP ]
16     address:         0x0000000000000100
17     content:         [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00 ]
18 ...
19
20 # CHECK: different swift versions