summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-24 05:30:14 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-24 05:30:14 +0000
commit97eaaddc2239beee192ff00ec5940e6e15dc4a46 (patch)
treef56ddabdcb2752b9cb854844e538165d82dc2fe8 /clang
parentc13a6bc5935e728bbf460fc4bd299f43943da166 (diff)
downloadbcm5719-llvm-97eaaddc2239beee192ff00ec5940e6e15dc4a46.tar.gz
bcm5719-llvm-97eaaddc2239beee192ff00ec5940e6e15dc4a46.zip
More path updates with clang-cc...
llvm-svn: 67609
Diffstat (limited to 'clang')
-rwxr-xr-xclang/utils/scan-build8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/utils/scan-build b/clang/utils/scan-build
index e412a1f5fd9..8a13c6d3ff7 100755
--- a/clang/utils/scan-build
+++ b/clang/utils/scan-build
@@ -81,9 +81,9 @@ sub DieDiag {
# Some initial preprocessing of Clang options.
##----------------------------------------------------------------------------##
-my $ClangSB = Cwd::realpath("$RealBin/bin/clang-cc");
+my $ClangSB = Cwd::realpath("$RealBin/libexec/clang-cc");
-# Also look for 'clang' in the same directory as scan-build.
+# Also look for 'clang-cc' in the same directory as scan-build.
if (!defined $ClangSB || ! -x $ClangSB) {
$ClangSB = Cwd::realpath("$RealBin/clang-cc");
}
@@ -1158,14 +1158,14 @@ $HtmlDir = GetHTMLRunDir($HtmlDir);
# Set the appropriate environment variables.
SetHtmlEnv(\@ARGV, $HtmlDir);
-my $Cmd = Cwd::realpath("$RealBin/bin/ccc-analyzer");
+my $Cmd = Cwd::realpath("$RealBin/libexec/ccc-analyzer");
if (!defined $Cmd || ! -x $Cmd) {
$Cmd = Cwd::realpath("$RealBin/ccc-analyzer");
DieDiag("Executable 'ccc-analyzer' does not exist at '$Cmd'\n") if(! -x $Cmd);
}
if (!defined $ClangSB || ! -x $ClangSB) {
- Diag("'clang-cc' executable not found in '$RealBin/bin'.\n");
+ Diag("'clang-cc' executable not found in '$RealBin/libexec'.\n");
Diag("Using 'clang-cc' from path.\n");
}
OpenPOWER on IntegriCloud