[PATCH] D22791: [CMAKE] Find ld64 using xcrun

Bruno Cardoso Lopes via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 17:38:26 PDT 2016


bruno added a comment.

Makes sense for the libLTO case, however, we need lit to be able to pass down DYLD_INSERT_LIBRARIES=<PATH_TO>/libclang_rt.asan_osx_dynamic.dylib to ld64, which won't work for /usr/bin/ld. LIT obtain the ld64 executable through CMAKE:

test/lit.site.cfg.in:config.ld64_executable = "@LD64_EXECUTABLE@"

I'm avoiding to gather ld64 path once again in LIT because it seems clean to use the same LD64, suggestions?


https://reviews.llvm.org/D22791





More information about the llvm-commits mailing list