This patch dumps every state trait in the egraph. Also the empty state traits are no longer dumped, instead they are treated as null by the egraph rewriter script, which solves reverse compatibility issues. Differential Revision: https://reviews.llvm.org/D131187
56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
// RUN: %exploded_graph_rewriter %s | FileCheck %s
|
|
|
|
// CHECK: <b>Store: </b>
|
|
// CHECK-SAME: <font color="gray">(0x2)</font>
|
|
// CHECK-SAME: <table border="0">
|
|
// CHECK-SAME: <tr>
|
|
// CHECK-SAME: <td align="left">
|
|
// CHECK-SAME: x
|
|
// CHECK-SAME: </td>
|
|
// CHECK-SAME: <td align="left">
|
|
// CHECK-SAME: 0
|
|
// CHECK-SAME: </td>
|
|
// CHECK-SAME: <td align="left">
|
|
// CHECK-SAME: (<i>Default</i>)
|
|
// CHECK-SAME: </td>
|
|
// CHECK-SAME: <td align="left">
|
|
// CHECK-SAME: Undefined
|
|
// CHECK-SAME: </td>
|
|
// CHECK-SAME: </tr>
|
|
// CHECK-SAME: </table>
|
|
Node0x1 [shape=record,label=
|
|
"{
|
|
{ "state_id": 2,
|
|
"program_points": [
|
|
{
|
|
"kind": "BlockEntrance", "block_id": 1,
|
|
"terminator": null, "term_kind": null,
|
|
"tag": null, "node_id": 1,
|
|
"has_report": 0, "is_sink": 0
|
|
}
|
|
],
|
|
"program_state": {
|
|
"environment": null,
|
|
"constraints": null,
|
|
"dynamic_types": null,
|
|
"checker_messages": null,
|
|
"store": {
|
|
"pointer": "0x2",
|
|
"items": [
|
|
{
|
|
"cluster": "x",
|
|
"pointer": "0x3",
|
|
"items": [
|
|
{
|
|
"kind": "Default",
|
|
"offset": 0,
|
|
"value": "Undefined"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
\l}"];
|