llvm-project/lld/test/shared-library-basic.objtxt
Nick Kledzik 6b079f5e2f Removes files for separate ReaderYAML.cpp and WriterYAML.cpp
and adds a new file ReaderWriterYAML.cpp that uses YAML I/O.

Lots of tweaks to test suite for slightly different YAML encoding.

llvm-svn: 171592
2013-01-05 02:22:35 +00:00

30 lines
692 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: ...