| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
SBTarget.FindFunctions().
llvm-svn: 134651
|
|
|
|
| |
llvm-svn: 134646
|
|
|
|
| |
llvm-svn: 134551
|
|
|
|
|
|
|
|
| |
API out if swig.
Fix typos in the comment for Module.h.
llvm-svn: 134446
|
|
|
|
|
|
|
|
|
|
| |
SBModule.FindGlobalVariables() API within
the find_global_variables() test method.
Skipping test_find_global_variables_with_dwarf(self) due to segmentation fault.
llvm-svn: 134118
|
|
|
|
|
|
| |
SBTarget.FindGlobalVariables() API.
llvm-svn: 134109
|
|
|
|
| |
llvm-svn: 134107
|
|
|
|
| |
llvm-svn: 134098
|
|
|
|
|
|
|
|
|
| |
Fixed crashes for SBValue fuzz calls.
And change 'bool SBType::IsPointerType(void)' to
'bool SBType::IsAPointerType(void)' to avoid name collision with the static 'bool SBType::IsPointerType(void *)'
function, which SWIG cannot handle.
llvm-svn: 134096
|
|
|
|
| |
llvm-svn: 134046
|
|
|
|
| |
llvm-svn: 134042
|
|
|
|
| |
llvm-svn: 134040
|
|
|
|
| |
llvm-svn: 134037
|
|
|
|
| |
llvm-svn: 134029
|
|
|
|
| |
llvm-svn: 134028
|
|
|
|
| |
llvm-svn: 134020
|
|
|
|
| |
llvm-svn: 133972
|
|
|
|
| |
llvm-svn: 133965
|
|
|
|
| |
llvm-svn: 133956
|
|
|
|
| |
llvm-svn: 133954
|
|
|
|
| |
llvm-svn: 133890
|
|
|
|
| |
llvm-svn: 133850
|
|
|
|
| |
llvm-svn: 133848
|
|
|
|
| |
llvm-svn: 133843
|
|
|
|
| |
llvm-svn: 133839
|
|
|
|
| |
llvm-svn: 133837
|
|
|
|
| |
llvm-svn: 133810
|
|
|
|
| |
llvm-svn: 133809
|
|
|
|
| |
llvm-svn: 133780
|
|
|
|
|
|
|
|
| |
It should not crash lldb.
This checkin adds calls for SBAddress.
llvm-svn: 133778
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Assign the test method name to self.testMethodName. This can be useful for the
test directory (see test/types for a good example) which houses a bunch of executables
compiled from different source files. The default build action is to create a.out as
the binary executable, which can confuse the module cacheing mechanism and result in
the debugger getting a stale image as the target to be debugged, and chaos ensues.
o AbstractBase.py, TestThreadAPI.py:
Use self.testMethodName to our advantage.
o TestLoadUnload.py:
Add expected failure marker to test case test_modules_search_paths().
llvm-svn: 133768
|
|
|
|
|
|
|
|
| |
test_run_to_address_with_dsym/dwarf()
to distinguish between other test cases which use 'a.out' compiled from main.cpp.
llvm-svn: 133764
|
|
|
|
|
|
| |
construction, the API object is valid.
llvm-svn: 133644
|
|
|
|
|
|
|
|
| |
return
a valid SB API object. Modify the test case to accommodate.
llvm-svn: 133602
|
|
|
|
| |
llvm-svn: 133476
|
|
|
|
|
|
|
|
|
| |
after initial construction.
There are two exceptions to the above general rules, though; the API objects are
SBCommadnReturnObject and SBStream.
llvm-svn: 133475
|
|
|
|
|
|
| |
IsInlined() and GetFunctionName().
llvm-svn: 133404
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the print_stacktrace(thread, string_buffer = False) function, if we have debug info
for a frame function, let's also emit the args for the current function.
o TestFrameUtils.py:
Add stronger assertTrue for frame0's args.
o TestPrintStackTraces.py:
Launch the inferior with ["abc", "xyz"] and expect '(int)argc=3' in the stack traces, since
by design the inferior is built with debug info.
llvm-svn: 133204
|
|
|
|
|
|
|
|
|
| |
to self.process
in order to have its process cleaned up (terminated) upon tearDown is gone for good.
Let's simplify a bunch of Python API test cases.
llvm-svn: 133097
|
|
|
|
| |
llvm-svn: 132808
|
|
|
|
|
|
|
|
| |
If two SBAddress's have the same module and file address, they are considered equal.
Add a test snippet 'sa1 == sa2' to exercise the rich comparison methods for SBAddress.
llvm-svn: 132807
|
|
|
|
| |
llvm-svn: 132150
|
|
|
|
| |
llvm-svn: 132147
|
|
|
|
|
|
|
| |
those lldb objects which implement the IsValid() method, let's change the rest of
the test suite to use the more compact truth value testing pattern (the Python way).
llvm-svn: 131970
|
|
|
|
|
|
|
|
|
|
|
| |
method definitions.
object.__nonzero__(self) is called to implement truth value testing and the built-in operation bool(),
via a simple delegation to self.IsValid().
Change tests under python_api/lldbutil to utilize this mechanism.
llvm-svn: 131494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unambiguous iteration support. So that we could, for example:
...
REGs = lldbutil.get_GPRs(frame)
print "Number of general purpose registers: %d" % len(REGs)
for reg in REGs:
print "%s => %s" %(reg.GetName(), reg.GetValue())
...
llvm-svn: 131418
|
|
|
|
| |
llvm-svn: 131412
|
|
|
|
|
|
| |
the general purpose register set.
llvm-svn: 131324
|
|
|
|
|
|
|
|
|
|
|
| |
o get_parent_frame(frame)
o get_args_as_string(frame)
to lldbutil.py and create TestFrameUtils.py to exercise the utils.
Plus re-arrange the test/python_api/lldbutil to have three directories
for testing iteration, process stack traces, and the just added frame utils.
llvm-svn: 131213
|
|
|
|
|
|
|
|
|
|
|
| |
given frame and of a given kind.
Also add three convenience functions get_GPRs(frame), get_FPRs(frame), and get_ESRs(frame) to get the general
purpose registers, the floating point registers, and the exception state registers.
Add TestRegistersIterator.py to test these added functions of lldbutil.py.
llvm-svn: 131144
|