[TableGen] Fix validateOperandClass for non Phyical Reg (#118146)
[llvm-project.git] / lldb / test / API / python_api / default-constructor / sb_compileunit.py
blob46a6a87334f05025b27bb76f8a155fc8c5056441
1 """
2 Fuzz tests an object after the default construction to make sure it does not crash lldb.
3 """
5 import lldb
8 def fuzz_obj(obj):
9 obj.GetFileSpec()
10 obj.GetNumLineEntries()
11 obj.GetLineEntryAtIndex(0xFFFFFFFF)
12 obj.FindLineEntryIndex(0, 0xFFFFFFFF, None)
13 obj.GetDescription(lldb.SBStream())
14 len(obj)
15 for line_entry in obj:
16 s = str(line_entry)