You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
0d40120615
This fixes the 'No value' string appearing in the dotest results. llvm-svn: 191399
16 lines
374 B
Python
16 lines
374 B
Python
"""
|
|
Fuzz tests an object after the default construction to make sure it does not crash lldb.
|
|
"""
|
|
|
|
import sys
|
|
import lldb
|
|
|
|
def fuzz_obj(obj):
|
|
obj.GetFileSpec()
|
|
obj.GetNumLineEntries()
|
|
obj.GetLineEntryAtIndex(0xffffffff)
|
|
obj.FindLineEntryIndex(0, 0xffffffff, None)
|
|
obj.GetDescription(lldb.SBStream())
|
|
for line_entry in obj:
|
|
s = str(line_entry)
|