commit | 98a069fe1aa3bb3c383677e1bcff5f527211cc8c | [log] [tgz] |
---|---|---|
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Jul 26 18:09:23 2016 +0000 |
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Jul 26 18:09:23 2016 +0000 |
tree | c0c11d9a72049156db08359ab982149f802c338f | |
parent | 5d321c1c3e0bc79d6abc1b9092eae34cf200ad42 [diff] |
[CMAKE] Find ld64 using xcrun Given similar reasons from r276710, ld64 scrubs DYLD_* environment if called from the shim executable /usr/bin/ld. Add support for finding ld64 via xcrun. This is needed in order to get LIT to have the full path to the ld4 executable. Differential Revision: https://reviews.llvm.org/D22791 rdar://problem/24300926 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276781 91177308-0d34-0410-b5e6-96231b3b80d8