This change is needed to automatically determine the caller. For example : Just create a symbolic link of lld to ld. and run gcc -B`pwd` hello.c This should work now, but after your change, this will cease to work. http://llvm-reviews.chandlerc.com/D945