[mach-o] add representation for LC_ID_DYLIB to MachONormalizedFile
authorTim Northover <tnorthover@apple.com>
Tue, 1 Jul 2014 08:15:41 +0000 (08:15 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 1 Jul 2014 08:15:41 +0000 (08:15 +0000)
commit301c4e690a84d262125674f34d4b23a09649fdec
treed39de833c582800a1456f0ff76579366341093f2
parent012dff0b237c860b8371332aa588756689e60be5
[mach-o] add representation for LC_ID_DYLIB to MachONormalizedFile

It still needs to be tied into BinaryReader, but this allows reasonably
sensible creation of SharedLibrary atoms on MachO.

llvm-svn: 212093
lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
lld/test/mach-o/Inputs/use-dylib-install-names.yaml [new file with mode: 0644]
lld/test/mach-o/dylib-install-names.yaml [new file with mode: 0644]
lld/test/mach-o/lit.local.cfg
lld/test/mach-o/use-simple-dylib.yaml