Changeset 226378 in webkit
- Timestamp:
- Jan 3, 2018 4:42:21 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r226376 r226378 1 2018-01-03 Simon Fraser <simon.fraser@apple.com> 2 3 filter-build-webkit filters out useful compiler error lines 4 https://bugs.webkit.org/show_bug.cgi?id=179864 5 6 Reviewed by Tim Horton. 7 8 Don't filter out lines that contain information about build errors by always showing lines 9 after a line that contains "note:" or "error:". 10 11 * Scripts/filter-build-webkit: 12 (shouldShowSubsequentLine): 13 (shouldIgnoreLine): 14 1 15 2018-01-03 Michael Catanzaro <mcatanzaro@igalia.com> 2 16 -
trunk/Tools/Scripts/filter-build-webkit
r214866 r226378 230 230 } 231 231 232 sub shouldShowSubsequentLine($) 233 { 234 my ($line) = @_; 235 236 return 1 if $line =~ /referenced from:$/; 237 return 1 if $line =~ /(note:|error:)/; 238 239 return 0; 240 } 241 232 242 sub shouldIgnoreLine($$) 233 243 { … … 282 292 } else { 283 293 return 1 if $line =~ /^(touch|perl|cat|rm -f|bison|flex|python|\/usr\/bin\/g\+\+|\/bin\/ln|gperf|echo|sed|if \[ \-f|WebCore\/generate-export-file|write-file|chmod) /; 284 return 1 if $line =~ /^ / && $previousLine !~ /referenced from:$/;294 return 1 if $line =~ /^ / && !shouldShowSubsequentLine($previousLine); 285 295 return 1 if $line =~ /^printf /; 286 296 return 1 if $line =~ /^offlineasm: Nothing changed/;
Note: See TracChangeset
for help on using the changeset viewer.