Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: fuzzer/go/frontend/data/stacktrace.go

Issue 1672033002: Deduplicate fuzz cases on the frontend before they are displayed. (Closed) Base URL: https://skia.googlesource.com/buildbot@remove-overview
Patch Set: merged upstream Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fuzzer/go/frontend/data/report_test.go ('k') | fuzzer/go/frontend/data/stacktrace_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fuzzer/go/frontend/data/stacktrace.go
diff --git a/fuzzer/go/frontend/data/stacktrace.go b/fuzzer/go/frontend/data/stacktrace.go
index b13e731a739aadfff3c228a4a034a3c933dc1ce7..e39e6cd4ab7936f7a6f655905fcb91be094d4431 100644
--- a/fuzzer/go/frontend/data/stacktrace.go
+++ b/fuzzer/go/frontend/data/stacktrace.go
@@ -154,6 +154,8 @@ func parseASANStackTrace(contents string) StackTrace {
continue
}
+ line = strings.Replace(line, "(anonymous namespace)::", "", -1)
+
if match := asanStackTraceLine.FindStringSubmatch(line); match != nil {
// match[0] is the entire matched portion, [1] is the function name [2] is the
// "package", [3] is the file name, [4] is the line number
« no previous file with comments | « fuzzer/go/frontend/data/report_test.go ('k') | fuzzer/go/frontend/data/stacktrace_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698