Skip to content

Commit ebc02c4

Browse files
committed
Drop test as we can't yamilize the pt_note content
1 parent ce87c9d commit ebc02c4

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from lldbsuite.test.decorators import *
1111
from lldbsuite.test.lldbtest import *
1212
from lldbsuite.test import lldbutil
13-
from fblldb import fbvscode
1413

1514

1615
class LinuxCoreTestCase(TestBase):
@@ -834,22 +833,6 @@ def test_riscv64_regs_gpr_only(self):
834833
substrs=["registers were unavailable"],
835834
)
836835

837-
def test_sigsev_stopreason(self):
838-
"""
839-
Test that the address is included in the stop reason for a SIGSEV
840-
"""
841-
src = self.getSourcePath("linux-x64-sigsev.yaml")
842-
obj_file = self.getBuildArtifact("sigsev.out")
843-
fbvscode.set_trace()
844-
self.yaml2obj(src, obj_file)
845-
target = self.dbg.CreateTarget(None)
846-
process = target.LoadCore(obj_file)
847-
self.assertTrue(process, PROCESS_IS_VALID)
848-
stop_reason = process.GetThreadAtIndex(0).GetStopDescription(128)
849-
self.assertEqual(process.GetNumThreads(), 1)
850-
self.assertIn("SIGSEGV: address not mapped to object (fault address: 0x1000)", stop_reason)
851-
852-
853836
def test_get_core_file_api(self):
854837
"""
855838
Test SBProcess::GetCoreFile() API can successfully get the core file.

lldb/test/API/functionalities/postmortem/elf-core/linux-x86_64-sigsev.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)