Files
clang-p2996/lld/test/mach-o/Inputs/cstring-sections.yaml
Rafael Espindola c08ab8e6e4 Delete unnecessary generality in loadFile.
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
2015-04-24 15:51:45 +00:00

26 lines
821 B
YAML

--- !mach-o
arch: x86_64
file-type: MH_OBJECT
flags: [ MH_SUBSECTIONS_VIA_SYMBOLS ]
has-UUID: false
OS: unknown
sections:
- segment: __TEXT
section: __objc_methname
type: S_CSTRING_LITERALS
attributes: [ ]
address: 0x0000000000000000
content: [ 0x61, 0x62, 0x63, 0x00 ]
- segment: __TEXT
section: __objc_classname
type: S_CSTRING_LITERALS
attributes: [ ]
address: 0x0000000000000006
content: [ 0x61, 0x62, 0x63, 0x00 ]
- segment: __TEXT
section: __cstring
type: S_CSTRING_LITERALS
attributes: [ ]
address: 0x000000000000000A
content: [ 0x61, 0x62, 0x63, 0x00 ]