[Support] Add the option to not follow symlinks on stat.

llvm-svn: 297154
4 files changed