blob: ce305e9af38e186a7bd53bb01567d954310a57fc [file] [log] [blame]
# RUN: lld -core %s | FileCheck %s
#
# Test that custom sections are preserved
#
---
defined-atoms:
- name: _foo1
scope: global
section-choice: content
- name: _foo2
scope: global
section-choice: custom
section-name: __foozle
- name: _foo3
scope: global
section-choice: custom-required
section-name: __boozle
...
# CHECK: name: _foo1
# CHECK-NOT: section-name:
# CHECK: name: _foo2
# CHECK: section-choice: custom
# CHECK: section-name: __foozle
# CHECK: name: _foo3
# CHECK: section-choice: custom-required
# CHECK: section-name: __boozle
# CHECK: ...