Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"
[llvm-project.git] / lldb / test / API / python_api / default-constructor / sb_instructionlist.py
blobb2cf7178bf663004fc8850debccd243e9df53b4c
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.GetSize()
10 obj.GetInstructionAtIndex(0xFFFFFFFF)
11 obj.AppendInstruction(lldb.SBInstruction())
12 try:
13 obj.Print(None)
14 except Exception:
15 pass
16 obj.GetDescription(lldb.SBStream())
17 obj.DumpEmulationForAllInstructions("armv7")
18 obj.Clear()
19 for inst in obj:
20 s = str(inst)