argv[0] would be more standard but requires a symlink on the target. This just requires the binary. REPOSITORY rL LLVM http://reviews.llvm.org/D7545 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/