[PATCH] D63965: [analyzer] exploded-graph-rewriter: Add support for program point tags.
Phabricator via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 1 16:03:17 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL364864: [analyzer] exploded-graph-rewriter: Implement program point tags. (authored by dergachev, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D63965?vs=207173&id=207428#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63965/new/
https://reviews.llvm.org/D63965
Files:
cfe/trunk/test/Analysis/exploded-graph-rewriter/program_points.dot
cfe/trunk/utils/analyzer/exploded-graph-rewriter.py
Index: cfe/trunk/utils/analyzer/exploded-graph-rewriter.py
===================================================================
--- cfe/trunk/utils/analyzer/exploded-graph-rewriter.py
+++ cfe/trunk/utils/analyzer/exploded-graph-rewriter.py
@@ -387,6 +387,12 @@
'<font color="%s">%s</font></td></tr>'
% (color, p.kind))
+ if p.tag is not None:
+ self._dump('<tr><td width="0"></td>'
+ '<td colspan="2" align="left">'
+ '<b>Tag: </b> <font color="crimson">'
+ '%s</font></td></tr>' % p.tag)
+
def visit_environment(self, e, prev_e=None):
self._dump('<table border="0">')
Index: cfe/trunk/test/Analysis/exploded-graph-rewriter/program_points.dot
===================================================================
--- cfe/trunk/test/Analysis/exploded-graph-rewriter/program_points.dot
+++ cfe/trunk/test/Analysis/exploded-graph-rewriter/program_points.dot
@@ -41,6 +41,14 @@
// CHECK-SAME: </td>
// CHECK-SAME: <td>x</td>
// CHECK-SAME: </tr>
+// CHECK-SAME: <tr>
+// CHECK-SAME: <td width="0">
+// CHECK-SAME: </td>
+// CHECK-SAME: <td colspan="2" align="left">
+// CHECK-SAME: <b>Tag: </b>
+// CHECK-SAME: <font color="crimson">ExprEngine : Clean Node</font>
+// CHECK-SAME: </td>
+// CHECK-SAME: </tr>
// CHECK-SAME: </table>
Node0x2 [shape=record,label=
"{
@@ -56,7 +64,7 @@
"line": 4,
"column": 5
},
- "tag": null
+ "tag": "ExprEngine : Clean Node"
}
]}
\l}"];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63965.207428.patch
Type: text/x-patch
Size: 1619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190701/ab4a79e5/attachment.bin>
More information about the cfe-commits
mailing list