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

Unified Diff: tools/valgrind/asan/asan_symbolize.py

Issue 872353003: Strip path prefixes from ASan reports for isolate runs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the path prefix to asan_symbolize.py Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/asan/asan_symbolize.py
diff --git a/tools/valgrind/asan/asan_symbolize.py b/tools/valgrind/asan/asan_symbolize.py
index 9280d7a893ecf3bf3f07275a14cca3efe506fa76..beec93c1013f96d97cdd1d5311fb8bf6e7ab5937 100755
--- a/tools/valgrind/asan/asan_symbolize.py
+++ b/tools/valgrind/asan/asan_symbolize.py
@@ -247,6 +247,9 @@ def main():
set_symbolizer_path()
asan_symbolize.demangle = True
asan_symbolize.fix_filename_patterns = args.strip_path_prefix
+ # Most source paths for Chromium binaries start with
+ # /path/to/src/out/Release/../../
+ asan_symbolize.fix_filename_patterns.append('Release/../../')
binary_name_filter = None
if os.uname()[0] == 'Darwin':
binary_name_filter = make_chrome_osx_binary_name_filter(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698