Display source variables mapped to OpUndef as <undefined value>

* Undefined values are still 0xccccccccc, since that value can propagate through
  operations. But source variables mapped directly to an OpUndef are displayed
  in a more semantically clear way.
This commit is contained in:
baldurk
2026-01-19 13:34:58 +00:00
parent d32454e8ff
commit 9bef60d6c3
4 changed files with 82 additions and 25 deletions
+7
View File
@@ -676,6 +676,13 @@ struct SourceVariableMapping
)");
VarType type = VarType::Unknown;
DOCUMENT(R"(A flag indicating if this mapping indicates an undefined value - the meaning of which
is compiler defined but may mean either uninitialised data, unassigned values, or optimised away values.
:type: bool
)");
bool undefinedValue = false;
DOCUMENT(R"(The number of rows in this variable - 1 for vectors, >1 for matrices.
:type: int