[PATCH] D12906: [RFC] Bug identification("issue_hash") change for CmpRuns.py

Honggyu Kim via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 18 03:21:37 PDT 2015


honggyu.kim added a comment.

Hi Anna and Gábor,

I modified this patch based on http://reviews.llvm.org/D10305 following your comments.
I think we can distinguish issue_hash and Bug ID. issue_hash is considered as a subset of Bug ID here.

1. issue_hash contains

(1) column number
(2) source line string after removing whitespace
(3) bug type (bug message)

And it is used in plist, then CmpRuns.py can combine file name, function name with issue_hash.
This patch also added checker name that is already in plist("check_name") to CmpRuns.py for better comparison

2. Bug ID contains

(1) file name
(2) checker name
(3) function name
(4) column number
(5) source line string after removing whitespace
(6) bug type  (bug message)

Bug ID is for uniquing the identifier without further post processing. This is printed to HTML file inside so that HTML reports can be compared with a single identifier.

I would like to get more feedback in order to enhance this method.
Thanks very much for the feedback :)


http://reviews.llvm.org/D12906





More information about the cfe-commits mailing list