[Code Coverage] Do not resolve symlinks in GetFullPath() helper.

Calling os.path.realpath seems to be an overkill, as it is used either:
- for various local paths like LLVM binaries dir, output dir, etc which
  are fine to be symlinks;
- for report files produced by llvm-cov tool, which do not seem to ever
  have symlinks.

Leaving os.path.realpath() in there might seem harmless, but apparently
there are cases when it causes troubles, e.g.:
https://github.com/google/oss-fuzz/pull/1777#issuecomment-417805976

Tested locally with https://crrev.com/c/1184048.


Bug: 866943
Change-Id: I4224664ef3bf5b7eb3f1fd3605e9db0fff11833c
Reviewed-on: https://chromium-review.googlesource.com/1205594
Reviewed-by: Abhishek Arya <inferno@chromium.org>
Commit-Queue: Max Moroz <mmoroz@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#588760}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 00b941168480e3414f2e48a4c6088f70720a03c6
1 file changed