ruiu added a comment. I wonder if replacing `gnustat` with `shell` and use `[ -x <filename> ]` is more robust than using gnustat. At least there's a precedence in clang/test/Driver/target-override.c. Repository: rLLD LLVM Linker https://reviews.llvm.org/D41097