Files
clang-p2996/lld/test/core/custom-section.objtxt
Shankar Easwaran df4f12bb65 [lld][test] organize test directory. No change in functionality
* Renames few tests which had extension objtxt to test
* created core directory that contains all the core tests

llvm-svn: 189720
2013-08-31 05:59:52 +00:00

35 lines
771 B
Plaintext

# 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: ...