| OLD | NEW |
| 1 Index: memcheck/mc_main.c | 1 Index: memcheck/mc_main.c |
| 2 =================================================================== | 2 =================================================================== |
| 3 --- memcheck/mc_main.c (revision 10880) | 3 --- memcheck/mc_main.c (revision 10880) |
| 4 +++ memcheck/mc_main.c (working copy) | 4 +++ memcheck/mc_main.c (working copy) |
| 5 @@ -4658,6 +4658,7 @@ | 5 @@ -4658,6 +4658,7 @@ |
| 6 LeakCheckMode MC_(clo_leak_check) = LC_Summary; | 6 LeakCheckMode MC_(clo_leak_check) = LC_Summary; |
| 7 VgRes MC_(clo_leak_resolution) = Vg_HighRes; | 7 VgRes MC_(clo_leak_resolution) = Vg_HighRes; |
| 8 Bool MC_(clo_show_reachable) = False; | 8 Bool MC_(clo_show_reachable) = False; |
| 9 +Bool MC_(clo_show_possible) = True; | 9 +Bool MC_(clo_show_possible) = True; |
| 10 Bool MC_(clo_workaround_gcc296_bugs) = False; | 10 Bool MC_(clo_workaround_gcc296_bugs) = False; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 @@ -845,7 +845,8 @@ | 47 @@ -845,7 +845,8 @@ |
| 48 print_record = is_full_check && | 48 print_record = is_full_check && |
| 49 ( MC_(clo_show_reachable) || | 49 ( MC_(clo_show_reachable) || |
| 50 Unreached == lr->key.state || | 50 Unreached == lr->key.state || |
| 51 - Possible == lr->key.state ); | 51 - Possible == lr->key.state ); |
| 52 + ( MC_(clo_show_possible) && | 52 + ( MC_(clo_show_possible) && |
| 53 + Possible == lr->key.state ) ); | 53 + Possible == lr->key.state ) ); |
| 54 // We don't count a leaks as errors with --leak-check=summary. | 54 // We don't count a leaks as errors with --leak-check=summary. |
| 55 // Otherwise you can get high error counts with few or no error | 55 // Otherwise you can get high error counts with few or no error |
| 56 // messages, which can be confusing. Also, you could argue that | 56 // messages, which can be confusing. Also, you could argue that |
| OLD | NEW |