r207484 - scan-build: Don't use realpath when the user provides an explicit path.
Jordan Rose
jordan_rose at apple.com
Mon Apr 28 18:37:20 PDT 2014
Author: jrose
Date: Mon Apr 28 20:37:19 2014
New Revision: 207484
URL: http://llvm.org/viewvc/llvm-project?rev=207484&view=rev
Log:
scan-build: Don't use realpath when the user provides an explicit path.
PR19583
Modified:
cfe/trunk/tools/scan-build/scan-build
Modified: cfe/trunk/tools/scan-build/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/scan-build?rev=207484&r1=207483&r2=207484&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Mon Apr 28 20:37:19 2014
@@ -1584,7 +1584,7 @@ else {
}
}
else {
- $Clang = Cwd::realpath($AnalyzerDiscoveryMethod);
+ $Clang = $AnalyzerDiscoveryMethod;
if (!defined $Clang or not -x $Clang) {
DieDiag("Cannot find an executable clang at '$AnalyzerDiscoveryMethod'\n");
}
More information about the cfe-commits
mailing list