bolt/deps/llvm-18.1.8/lldb/test/API/commands/expression/pr52257/TestExprCrash.py

18 lines
430 B
Python
Raw Normal View History

2025-02-14 19:21:04 +01:00
"""
Verify that LLDB doesn't crash during expression evaluation.
"""
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class ExprCrashTestCase(TestBase):
def test_pr52257(self):
self.build()
self.createTestTarget()
self.expect_expr(
"b", result_type="B", result_children=[ValueCheck(name="tag_set_")]
)