]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/mach-o/sectcreate.yaml
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / mach-o / sectcreate.yaml
1 # RUN: ld64.lld -r -arch x86_64 -o %t -sectcreate __DATA __data \
2 # RUN:   %p/Inputs/hw.raw_bytes -print_atoms | FileCheck %s
3
4 # CHECK: --- !native
5 # CHECK: path:            '<linker-internal>'
6 # CHECK: defined-atoms:
7 # CHECK:   - scope:           global
8 # CHECK:     type:            sectcreate
9 # CHECK:     content:         [ 68, 65, 6C, 6C, 6F, 0A ]
10 # CHECK:     section-choice:  custom-required
11 # CHECK:     section-name:    __DATA/__data
12 # CHECK:     dead-strip:      never