Skip to content

Commit c5f8613

Browse files
committed
Added region-node types to debug output.
1 parent 6840015 commit c5f8613

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/smack/Regions.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ bool Region::overlaps(Region &R) {
190190

191191
void Region::print(raw_ostream &O) {
192192
// TODO identify the representative
193-
O << "<Node>[" << offset << "," << (offset + length) << "]{";
193+
O << "<Node:";
194+
if (type) O << *type; else O << "*";
195+
O << ">[" << offset << "," << (offset + length) << "]{";
194196
if (isSingleton())
195197
O << "S";
196198
if (bytewise)

0 commit comments

Comments
 (0)