llvm-project/lld/include/lld
Nick Kledzik 5b9e48b4ce [mach-o] propagate dylib version numbers
Mach-o does not use a simple SO_NEEDED to track dependent dylibs.  Instead,
the linker copies four things from each dylib to each client: the runtime path
(aka "install name"), the build time, current version (dylib build number), and
compatibility version  The build time is no longer used (it cause every rebuild
of a dylib to be different).  The compatibility version is usually just 1.0
and never changes, or the dylib becomes incompatible.

This patch copies that information into the NormalizedMachO format and
propagates it to clients.

llvm-svn: 222300
2014-11-19 02:21:53 +00:00
..
Config Add support to print version. 2014-10-08 03:47:51 +00:00
Core [ELF] Add CodeModel attribute to the DefinedAtom class 2014-11-13 07:03:41 +00:00
Driver [mach-o] Fix MachOFileNode to own archives same as ELFFileNode 2014-11-07 22:00:23 +00:00
Passes [mach-o] Add support for -order_file option 2014-11-07 21:01:21 +00:00
ReaderWriter [mach-o] propagate dylib version numbers 2014-11-19 02:21:53 +00:00
Makefile Add support to print version. 2014-10-08 03:47:51 +00:00