Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / python_api / default-constructor / sb_watchpoint.py
blob8aa38126ad4d61f3d013273ca6e8bb809b846bba
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.GetID()
10 obj.IsValid()
11 obj.GetHardwareIndex()
12 obj.GetWatchAddress()
13 obj.GetWatchSize()
14 obj.SetEnabled(True)
15 obj.IsEnabled()
16 obj.GetHitCount()
17 obj.GetIgnoreCount()
18 obj.SetIgnoreCount(5)
19 obj.GetDescription(lldb.SBStream(), lldb.eDescriptionLevelVerbose)
20 obj.SetCondition("shouldWeStop()")
21 obj.GetCondition()