[llvm-branch-commits] [llvm] [Dexter] Update lldb-based dexter-tests to use script-mode (PR #204367)
Orlando Cazalet-Hyams via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 23 09:28:22 PDT 2026
================
@@ -20,11 +20,29 @@ void esc(int* p) {
int main() {
int local = 0xA;
int *plocal = &local;
- esc(plocal); // DexLabel('s1')
+ esc(plocal); // !dex_label s1
local = 0xB; //// DSE
- return 0; // DexLabel('s2')
+ return 0; // !dex_label s2
}
+// CHECK-DAG: seen_values: 5
+// CHECK-DAG: correct_step_coverage: 100.0%
+
+/*
+---
+!where {lines: !label s1}:
+ !value local: 0xA
+ !value plocal:
+ "*": 0xA
+!where {lines: !label s2}:
+ !value local: 0xB
+ !value plocal:
+ "*": 0xB
+!where {lines: !range [!label s1, !label s2]}:
+ !value "(local == *plocal)": true
+...
+*/
+
// DexExpectWatchValue('local', 0xA, on_line=ref('s1'))
// DexExpectWatchValue('local', 0xB, on_line=ref('s2'))
----------------
OCHyams wrote:
Are these old dexter commands left behind by mistake?
https://github.com/llvm/llvm-project/pull/204367
More information about the llvm-branch-commits
mailing list