[LIT][Darwin] Change %ld64 to be prefixed with DYLD_INSERT_LIBRARIES
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 4 Aug 2016 23:58:30 +0000 (23:58 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 4 Aug 2016 23:58:30 +0000 (23:58 +0000)
commit358e60a6b33875ecb9fa8cd702d6ad9aa38d254d
treed2f05f065e5134e16da0b34b47d7286d314dc3f2
parentedf3d81cbf639200e63dedf3fb9f576e5fa1597a
[LIT][Darwin] Change %ld64 to be prefixed with DYLD_INSERT_LIBRARIES

Followup from r277778, after Mehdi's comments.

Expand %ld64 to perform the necessary preload instead, that way new
tests do not need to worry about setting up DYLD_INSERT_LIBRARIES
themselves.

rdar://problem/24300926

llvm-svn: 277788
llvm/test/lit.cfg
llvm/test/tools/lto/hide-linkonce-odr.ll
llvm/test/tools/lto/opt-level.ll