{"push_id":813402422,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"fd64a767855aba42b9812ec945a8ca996d9a3937","before":"ba662f9db79a8118cc14b28529ac5883e9e20c56","commits":[{"sha":"fd64a767855aba42b9812ec945a8ca996d9a3937","author":{"email":"2ca028346d1d172bdf6d5bd55544812ec8ee16e2@gmail.com","name":"Bruno Cardoso Lopes"},"message":"[DarwinDriver] Reapply: Use -lto_library to specify the path for libLTO.dylib\n\nReapply r248935.\n\nUsually, when using LTO with a clang installation newer than the\nsystem's one, there's a libLTO.dylib version mismatch and LTO fails. One\nsolution to this is to make ld point to the right libLTO.dylib by\nchanging DYLD_LIBRARY_PATH.\n\nHowever, ld64 supports specifying the complete path to the desired\nlibLTO.dylib through the -lto_library option. This commit adds support\nfor the clang driver to use this option whenever it's capable of finding\na libLTO.dylib in clang's installed library directory. This way, we\ndon't need to rely on DYLD_LIBRARY_PATH nor get caught by version\nmismatches.\n\nDifferential Revision: http://reviews.llvm.org/D13117\n\nrdar://problem/7363476\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249143 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-project/clang/commits/fd64a767855aba42b9812ec945a8ca996d9a3937"}]}