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

Side by Side Diff: tools/wine_valgrind/valgrind_skip_python.patch

Issue 6541014: Remove Wine + Valgrind code since nobody is working on it.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 This patch prevents valgrind from tracing into python.exe.
2 TODO(thestig) generalize this and submit upstream for
3 https://bugs.kde.org/show_bug.cgi?id=218689
4 Index: coregrind/m_syswrap/syswrap-generic.c
5 ===================================================================
6 --- coregrind/m_syswrap/syswrap-generic.c (revision 10880)
7 +++ coregrind/m_syswrap/syswrap-generic.c (working copy)
8 @@ -2544,6 +2544,19 @@
9 VG_(nuke_all_threads_except)( tid, VgSrc_ExitThread );
10 VG_(reap_threads)(tid);
11
12 + if (VG_(clo_trace_children)) {
13 + Char** program_args = (Char**)ARG2;
14 + if (program_args && program_args[0]) {
15 + Int k = 1;
16 + for (; program_args[k]; k++) {
17 + if (VG_(strstr)(program_args[k], "python.exe") != NULL) {
18 + VG_(clo_trace_children) = False;
19 + break;
20 + }
21 + }
22 + }
23 + }
24 +
25 // Set up the child's exe path.
26 //
27 if (VG_(clo_trace_children)) {
OLDNEW
« no previous file with comments | « tools/wine_valgrind/valgrind-suppressions ('k') | tools/wine_valgrind/valgrind_stop_frame.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698