1// RUN: %exploded_graph_rewriter %s | FileCheck %s 2 3// FIXME: Substitution doesn't seem to work on Windows. 4// UNSUPPORTED: system-windows 5 6// CHECK: <b>Expressions: </b> 7// CHECK-SAME: <table border="0"> 8// CHECK-SAME: <tr> 9// CHECK-SAME: <td align="left"> 10// CHECK-SAME: <b>#0 Call</b> 11// CHECK-SAME: </td> 12// CHECK-SAME: <td align="left" colspan="2"> 13// CHECK-SAME: <font color="gray60">foo </font> 14// CHECK-SAME: (environment.cpp:<b>4</b>:<b>6</b> 15// CHECK-SAME: <font color="royalblue1"> 16// CHECK-SAME: (<i>spelling at </i> environment.h:<b>7</b>:<b>8</b>) 17// CHECK-SAME: </font>) 18// CHECK-SAME: </td> 19// CHECK-SAME: </tr> 20// CHECK-SAME: <tr> 21// CHECK-SAME: <td align="left"> 22// CHECK-SAME: <i>S5</i> 23// CHECK-SAME: </td> 24// CHECK-SAME: <td align="left"> 25// CHECK-SAME: bar() 26// CHECK-SAME: </td> 27// CHECK-SAME: <td align="left"> 28// CHECK-SAME: Unknown 29// CHECK-SAME: </td> 30// CHECK-SAME: </tr> 31// CHECK-SAME: </table> 32Node0x1 [shape=record,label= 33 "{ 34 { "node_id": 1, 35 "pointer": "0x1", 36 "has_report": false, 37 "is_sink": false, 38 "state_id": 2, 39 "program_points": [ 40 { 41 "kind": "BlockEntrance", "block_id": 1, 42 "terminator": null, "term_kind": null, 43 "tag": null, "node_id": 1, 44 "has_report": 0, "is_sink": 0 45 } 46 ], 47 "program_state": { 48 "store": null, 49 "constraints": null, 50 "dynamic_types": null, 51 "constructing_objects": null, 52 "checker_messages": null, 53 "environment": { 54 "pointer": "0x2", 55 "items": [ 56 { 57 "location_context": "#0 Call", 58 "lctx_id": 3, 59 "calling": "foo", 60 "location": { 61 "file": "environment.cpp", 62 "line": 4, 63 "column": 6, 64 "spelling": { 65 "file": "environment.h", 66 "line": 7, 67 "column": 8 68 } 69 }, 70 "items": [ 71 { 72 "stmt_id": 5, 73 "pretty": "bar()", 74 "value": "Unknown" 75 } 76 ] 77 } 78 ] 79 } 80 } 81 } 82\l}"]; 83