view lld/test/mach-o/sectcreate.yaml @ 213:25ca0248ac32

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 11 Jul 2021 17:05:31 +0900
parents 2e18cbf3894f
children
line wrap: on
line source

# RUN: ld64.lld.darwinold -r -arch x86_64 -o %t -sectcreate __DATA __data \
# RUN:   %p/Inputs/hw.raw_bytes -print_atoms | FileCheck %s

# CHECK: --- !native
# CHECK: path:            '<linker-internal>'
# CHECK: defined-atoms:
# CHECK:   - scope:           global
# CHECK:     type:            sectcreate
# CHECK:     content:         [ 68, 65, 6C, 6C, 6F, 0A ]
# CHECK:     section-choice:  custom-required
# CHECK:     section-name:    '__DATA/__data'
# CHECK:     dead-strip:      never