llvm-project/lld/test/mach-o/sectcreate.yaml

13 lines
489 B
YAML
Raw Normal View History

# RUN: lld -flavor darwin -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