blob: 99a119fcef112058c51d0963118aeb6a585d8f8e [file] [log] [blame]
Nick Kledzik7735a7d2012-01-04 23:58:17 +00001# RUN: lld-core %s | FileCheck %s
2
3#
4# Test that custom sections are preserved
5#
6
7---
8atoms:
9 - name: _foo1
10 scope: global
11 section-choice: content
12
13 - name: _foo2
14 scope: global
15 section-choice: custom
16 section-name: __foozle
17
18 - name: _foo3
19 scope: global
20 section-choice: custom-required
21 section-name: __boozle
22
23...
24
25
26# CHECK: name: _foo1
27# CHECK-NOT: section-name:
28# CHECK: name: _foo2
29# CHECK: section-choice: custom
30# CHECK: section-name: __foozle
31# CHECK: name: _foo3
32# CHECK: section-choice: custom-required
33# CHECK: section-name: __boozle
34# CHECK: ...