forked from OSchip/llvm-project
35 lines
762 B
Plaintext
35 lines
762 B
Plaintext
# RUN: lld-core %s | FileCheck %s
|
|
|
|
#
|
|
# Test that custom sections are preserved
|
|
#
|
|
|
|
---
|
|
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: ...
|