aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-11-19 02:21:53 +0000
committerNick Kledzik <kledzik@apple.com>2014-11-19 02:21:53 +0000
commit5b9e48b4cec3834303db0f80e6ee197b1dc5e2a4 (patch)
tree52511b3371adf95d089fcd0d5cd23c7cbd8657d8 /clang/lib/CodeGen/CodeGenModule.cpp
parent970dda295e708a54df1c9516c365a915ba68e96c (diff)
downloadllvm-5b9e48b4cec3834303db0f80e6ee197b1dc5e2a4.zip
llvm-5b9e48b4cec3834303db0f80e6ee197b1dc5e2a4.tar.gz
llvm-5b9e48b4cec3834303db0f80e6ee197b1dc5e2a4.tar.bz2
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions