llvm-project/lld/test/core/shared-library-basic.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

30 lines
693 B
Plaintext

# RUN: lld -core %s | FileCheck %s
#
# Test that shared-library symbols are parsed and preserved
#
---
shared-library-atoms:
- name: malloc
load-name: libc.so
- name: free
load-name: libc.so
- name: fast_malloc
load-name: libc.so
can-be-null: at-runtime
...
# CHECK: shared-library-atoms:
# CHECK: name: malloc
# CHECK: load-name: libc.so
# CHECK: name: free
# CHECK: load-name: libc.so
# CHECK: name: fast_malloc
# CHECK: load-name: libc.so
# CHECK: can-be-null: at-runtime
# CHECK: ...