Detect script locations in a more straightforward way: we don't need to search for them because we know exactly where they are anyway. Fix a file path escaping issue in exploded-graph-rewriter with Windows backslashes in the path. 'REQUIRES: shell' remains in scan-build tests for now, so that to observe the buildbot reaction on removing it in a cleaner experiment. Patch by Denys Petrov! Differential Revision: https://reviews.llvm.org/D76768
34 lines
873 B
Plaintext
34 lines
873 B
Plaintext
// RUN: %exploded_graph_rewriter %s \
|
|
// RUN: | FileCheck -check-prefixes=NORMAL %s
|
|
// RUN: %exploded_graph_rewriter -t %s \
|
|
// RUN: | FileCheck -check-prefixes=TOPOLOGY %s
|
|
|
|
// NORMAL: Program point
|
|
// TOPOLOGY-NOT: Program point
|
|
// NORMAL: Checker State
|
|
// TOPOLOGY-NOT: Checker State
|
|
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,
|
|
"constructing_objects": null,
|
|
"checker_messages": [
|
|
{ "checker": "foo", "messages": ["bar"] }
|
|
],
|
|
"store": null
|
|
}
|
|
}
|
|
\l}"];
|