phosek added a comment. Wouldn't it be easiest to link the instrumented libc++ statically and avoid the rpath issues altogether? Repository: rCRT Compiler Runtime CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58014/new/ https://reviews.llvm.org/D58014