projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f14262
)
Fix Bug 14061 - scan-build crashes during postprocessing if BUGFILE no longer exists
author
Sylvestre Ledru
<sylvestre@debian.org>
Thu, 17 Jul 2014 08:39:04 +0000
(08:39 +0000)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Thu, 17 Jul 2014 08:39:04 +0000
(08:39 +0000)
Experienced with Thunderbird build
Patch by Matti Niemenmaa
llvm-svn: 213235
clang/tools/scan-build/scan-build
patch
|
blob
|
history
diff --git
a/clang/tools/scan-build/scan-build
b/clang/tools/scan-build/scan-build
index
e66b185
..
585efd5
100755
(executable)
--- a/
clang/tools/scan-build/scan-build
+++ b/
clang/tools/scan-build/scan-build
@@
-388,6
+388,10
@@
sub ScanFile {
}
elsif (/<!-- BUGFILE (.*) -->$/) {
$BugFile = abs_path($1);
+ if (!defined $BugFile) {
+ # The file no longer exists: use the original path.
+ $BugFile = $1;
+ }
UpdatePrefix($BugFile);
}
elsif (/<!-- BUGPATHLENGTH (.*) -->$/) {