sectcreate.yaml
481 Bytes
# RUN: ld64.lld -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