[Lldb-commits] [lldb] [lldb][DAP] Fix test failure from #73393 (PR #89692)

Pranav Kant via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 22 17:28:01 PDT 2024


https://github.com/pranavk created https://github.com/llvm/llvm-project/pull/89692

#73393 introduced a mandatory column field. Update test for that.

>From dfe807c57b3cb9923c2b774f8f8a13ea3d8a4e6a Mon Sep 17 00:00:00 2001
From: Pranav Kant <prka at google.com>
Date: Tue, 23 Apr 2024 00:26:56 +0000
Subject: [PATCH] [lldb][DAP] Fix test failure from #73393

---
 lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py b/lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py
index 13190a50954ad7..cabaeafc4a6418 100644
--- a/lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py
+++ b/lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py
@@ -25,6 +25,7 @@ def test_core_file(self):
 
         expected_frames = [
             {
+                "column": 0,
                 "id": 524288,
                 "line": 4,
                 "name": "bar",
@@ -32,6 +33,7 @@ def test_core_file(self):
                 "instructionPointerReference": "0x40011C",
             },
             {
+                "column": 0,
                 "id": 524289,
                 "line": 10,
                 "name": "foo",
@@ -39,6 +41,7 @@ def test_core_file(self):
                 "instructionPointerReference": "0x400142",
             },
             {
+                "column": 0,
                 "id": 524290,
                 "line": 16,
                 "name": "_start",



More information about the lldb-commits mailing list