loadFile could load mulitple files just because yaml has a feature for putting multiple documents in one file. Designing a linker around what yaml can do seems like a bad idea to me. This patch changes it to read a single file. There are further improvements to be done to the api and they will follow shortly. llvm-svn: 235724
22 lines
511 B
Plaintext
22 lines
511 B
Plaintext
--- !archive
|
|
members:
|
|
- name: bar.o
|
|
content: !native
|
|
defined-atoms:
|
|
- name: bar
|
|
scope: global
|
|
type: code
|
|
|
|
- name: bar2
|
|
type: code
|
|
|
|
- name: baz.o
|
|
content: !native
|
|
defined-atoms:
|
|
- name: baz
|
|
scope: global
|
|
type: code
|
|
|
|
- name: baz2
|
|
type: code
|