Index: tools/heapcheck/heapcheck_test.py |
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py |
index cb3a7b458ff26fe78a337b3b42a5c5078b002b25..9c1165fde48d732b7559a0456b96817b6fde3003 100644 |
--- a/tools/heapcheck/heapcheck_test.py |
+++ b/tools/heapcheck/heapcheck_test.py |
@@ -123,7 +123,8 @@ class HeapcheckWrapper(object): |
# Generate the suppression iff the stack contains more than one |
# frame (otherwise it's likely to be broken) |
if len(cur_stack) > 1: |
- print '\nSuppression:\n{' |
+ print '\nSuppression (error hash=#%016X#):\n{' \ |
+ % (hash("".join(cur_stack)) & 0xffffffffffffffff) |
print ' <insert_a_suppression_name_here>' |
print ' Heapcheck:Leak' |
for frame in cur_stack: |