- Mar 09, 2012
-
-
Johnny Chen authored
Change the test driver so that, by default, it takes into consideration of both 'x86_64' and 'i386' architectures when building the inferior programs. Example: /Volumes/data/lldb/svn/ToT/test $ ./dotest.py -v functionalities/watchpoint LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug LLDB-123 Path: /Volumes/data/lldb/svn/ToT URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 152244 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 152244 Last Changed Date: 2012-03-07 13:03:09 -0800 (Wed, 07 Mar 2012) Session logs for test failures/errors/unexpected successes will go into directory '2012-03-08-16_43_51' Command invoked: python ./dotest.py -v functionalities/watchpoint Configuration: arch=x86_64 ---------------------------------------------------------------------- Collected 21 tests 1: test_hello_watchlocation_with_dsym (TestWatchLocation.HelloWatchLocationTestCase) Test watching a location with '-x size' option. ... ok 2: test_hello_watchlocation_with_dwarf (TestWatchLocation.HelloWatchLocationTestCase) Test watching a location with '-x size' option. ... ok 3: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... ok 4: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... ok 5: test_watchpoint_multiple_threads_with_dsym (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase) Test that lldb watchpoint works for multiple threads. ... ok 6: test_watchpoint_multiple_threads_with_dwarf (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase) Test that lldb watchpoint works for multiple threads. ... ok 7: test_rw_disable_after_first_stop__with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint but disable it after the first stop. ... ok 8: test_rw_disable_after_first_stop_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint but disable it after the first stop. ... ok 9: test_rw_disable_then_enable_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint, disable initially, then enable it. ... ok 10: test_rw_disable_then_enable_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint, disable initially, then enable it. ... ok 11: test_rw_watchpoint_delete_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test delete watchpoint and expect not to stop for watchpoint. ... ok 12: test_rw_watchpoint_delete_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test delete watchpoint and expect not to stop for watchpoint. ... ok 13: test_rw_watchpoint_set_ignore_count_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test watchpoint ignore count and expect to not to stop at all. ... ok 14: test_rw_watchpoint_set_ignore_count_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test watchpoint ignore count and expect to not to stop at all. ... ok 15: test_rw_watchpoint_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint and expect to stop two times. ... ok 16: test_rw_watchpoint_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint and expect to stop two times. ... ok 17: test_watchpoint_cond_with_dsym (TestWatchpointConditionCmd.WatchpointConditionCmdTestCase) Test watchpoint condition. ... ok 18: test_watchpoint_cond_with_dwarf (TestWatchpointConditionCmd.WatchpointConditionCmdTestCase) Test watchpoint condition. ... ok 19: test_watchlocation_with_dsym_using_watchpoint_set (TestWatchLocationWithWatchSet.WatchLocationUsingWatchpointSetTestCase) Test watching a location with 'watchpoint set expression -w write -x size' option. ... ok 20: test_watchlocation_with_dwarf_using_watchpoint_set (TestWatchLocationWithWatchSet.WatchLocationUsingWatchpointSetTestCase) Test watching a location with 'watchpoint set expression -w write -x size' option. ... ok 21: test_error_cases_with_watchpoint_set (TestWatchpointSetErrorCases.WatchpointSetErrorTestCase) Test error cases with the 'watchpoint set' command. ... ok ---------------------------------------------------------------------- Ran 21 tests in 74.590s OK Configuration: arch=i386 ---------------------------------------------------------------------- Collected 21 tests 1: test_hello_watchlocation_with_dsym (TestWatchLocation.HelloWatchLocationTestCase) Test watching a location with '-x size' option. ... ok 2: test_hello_watchlocation_with_dwarf (TestWatchLocation.HelloWatchLocationTestCase) Test watching a location with '-x size' option. ... ok 3: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... ok 4: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... ok 5: test_watchpoint_multiple_threads_with_dsym (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase) Test that lldb watchpoint works for multiple threads. ... ok 6: test_watchpoint_multiple_threads_with_dwarf (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase) Test that lldb watchpoint works for multiple threads. ... ok 7: test_rw_disable_after_first_stop__with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint but disable it after the first stop. ... ok 8: test_rw_disable_after_first_stop_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint but disable it after the first stop. ... ok 9: test_rw_disable_then_enable_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint, disable initially, then enable it. ... ok 10: test_rw_disable_then_enable_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint, disable initially, then enable it. ... ok 11: test_rw_watchpoint_delete_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test delete watchpoint and expect not to stop for watchpoint. ... ok 12: test_rw_watchpoint_delete_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test delete watchpoint and expect not to stop for watchpoint. ... ok 13: test_rw_watchpoint_set_ignore_count_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test watchpoint ignore count and expect to not to stop at all. ... ok 14: test_rw_watchpoint_set_ignore_count_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test watchpoint ignore count and expect to not to stop at all. ... ok 15: test_rw_watchpoint_with_dsym (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint and expect to stop two times. ... ok 16: test_rw_watchpoint_with_dwarf (TestWatchpointCommands.WatchpointCommandsTestCase) Test read_write watchpoint and expect to stop two times. ... ok 17: test_watchpoint_cond_with_dsym (TestWatchpointConditionCmd.WatchpointConditionCmdTestCase) Test watchpoint condition. ... ok 18: test_watchpoint_cond_with_dwarf (TestWatchpointConditionCmd.WatchpointConditionCmdTestCase) Test watchpoint condition. ... ok 19: test_watchlocation_with_dsym_using_watchpoint_set (TestWatchLocationWithWatchSet.WatchLocationUsingWatchpointSetTestCase) Test watching a location with 'watchpoint set expression -w write -x size' option. ... ok 20: test_watchlocation_with_dwarf_using_watchpoint_set (TestWatchLocationWithWatchSet.WatchLocationUsingWatchpointSetTestCase) Test watching a location with 'watchpoint set expression -w write -x size' option. ... ok 21: test_error_cases_with_watchpoint_set (TestWatchpointSetErrorCases.WatchpointSetErrorTestCase) Test error cases with the 'watchpoint set' command. ... ok ---------------------------------------------------------------------- Ran 21 tests in 67.059s OK llvm-svn: 152357
-
Jason Molenda authored
llvm-svn: 152353
-
- Mar 08, 2012
-
-
Johnny Chen authored
The Locker should only perform acquire/free lock operation, but no enter/leave session at all. Also added sanity checks for items passed to the PyDict_SetItemString() calls. llvm-svn: 152337
-
Greg Clayton authored
llvm-svn: 152294
-
Jason Molenda authored
shouldn't compile any of the XPC support code. Update macosx/Host.mm to use that define. Add a LLDB_DISABLE_PYTHON ifdef block around a new function in Core/FormatManager.cpp. <rdar://problem/10942125> llvm-svn: 152293
-
rdar://problem/11007934Greg Clayton authored
On darwin, if child process of process being debugged dies due to mach exception, the debugged process will die. debugserver now only handles the mach exceptions for the task being debugged. llvm-svn: 152291
-
Sean Callanan authored
This takes two important changes: - Calling blocks is now supported. You need to cast their return values, but that works fine. - We now can correctly run JIT-compiled expressions that use floating-point numbers. Also, we have taken a fix that allows us to ignore access control in Objective-C as in C++. llvm-svn: 152286
-
Greg Clayton authored
Moved inline functions into SBTarget.cpp and made destructors for SBLaunchInfo and SBAttachInfo to avoid link warnings. llvm-svn: 152267
-
Greg Clayton authored
llvm-svn: 152265
-
Greg Clayton authored
llvm-svn: 152263
-
- Mar 07, 2012
-
-
rdar://problem/10993996Greg Clayton authored
Added a new makefile target to help us with Apple builds where the installhdrs will copy the headers for the shared library. Prior to this fix, the install headers directory would contain the unix style paths to all public header files ("#include lldb/API/SBDefines.h") instead of the fixed up framework header paths ("#include <LLDB/SBDefines.h>"). llvm-svn: 152253
-
Sean Callanan authored
treat Objective-C ivar symbols as their own kind of symbol rather than lumping them in with generic "runtime" symbols. llvm-svn: 152251
-
Jim Ingham authored
When comparing a Thread against a ThreadSpec, don't fetch the Thread's Name or QueueName if the ThreadSpec doesn't specify them. llvm-svn: 152245
-
rdar://problem/10997402Greg Clayton authored
This fix really needed to happen as a previous fix I had submitted for calculating symbol sizes made many symbols appear to have zero size since the function that was calculating the symbol size was calling another function that would cause the calculation to happen again. This resulted in some symbols having zero size when they shouldn't. This could then cause infinite stack traces and many other side affects. llvm-svn: 152244
-
Johnny Chen authored
lldb crashes under guard malloc Fix CommandObjectSettingsAppend::ExecuteRawCommandString() so that it does not perform the cmd_args.Shift() operation after it has got the var_name out of the raw string, since StringRef is manipulating the raw string later on. llvm-svn: 152194
-
Johnny Chen authored
expression command doesn't handle xmm or stmm registers... o Update ClangASTContext::GetBuiltinTypeForEncodingAndBitSize() to now handle eEncodingVector. o Modify RegisterValue::SetFromMemoryData() to fix the subtle error due to unitialized variables. o Add a test file for "expr $xmm0". llvm-svn: 152190
-
Enrico Granata authored
llvm-svn: 152186
-
rdar://10996650Han Ming Ong authored
Passed in the right number of parameters for CFDictionaryCreate llvm-svn: 152182
-
Enrico Granata authored
Using the new ScriptInterpreterObject in the implementation of synthetic children to enhance type safety Several places in the ScriptInterpreter interface used StringList objects where an std::string would suffice - Fixed Refactoring calls that generated special-purposes functions in the Python interpreter to use helper functions instead of duplicating blobs of code llvm-svn: 152164
-
Enrico Granata authored
Fixing an issue where a ValueObject had changed its value but the 'value changed' flag was not being set. This was breaking one of our test cases llvm-svn: 152161
-
- Mar 06, 2012
-
-
Greg Clayton authored
This was done in SBTarget: lldb::SBInstructionList lldb::SBTarget::ReadInstructions (lldb::SBAddress base_addr, uint32_t count); Also cleaned up a few files in the LLDB.framework settings. llvm-svn: 152152
-
Sean Callanan authored
but gated by an #ifdef until we roll LLVM/Clang to bring in the necessary parser support. llvm-svn: 152149
-
Sean Callanan authored
inside a namespace. This bypasses local variables. llvm-svn: 152144
-
Jim Ingham authored
more aggressive about trapping exceptions than a user would be. Make it so... llvm-svn: 152125
-
Greg Clayton authored
llvm-svn: 152103
-
rdar://problem/10840355Greg Clayton authored
Fixed STDERR to not be opened as readable. Also cleaned up some of the code that implemented the file actions as some of the code was using the wrong variables, they now use the right ones (in for stdin, out for stdout, err for stderr). llvm-svn: 152102
-
Jim Ingham authored
llvm-svn: 152101
-
Greg Clayton authored
llvm-svn: 152088
-
Enrico Granata authored
Fixing a crasher bug where we were not checking for NULL before trying to retrieve the format for a type llvm-svn: 152087
-
Johnny Chen authored
Clarification on the error message when the display format (eFormatBytes/eFormatBytesWithASCII) conflicts with the byte size. llvm-svn: 152084
-
Jim Ingham authored
Add a command and an SB API to create exception breakpoints. Make the break output prettier for Exception breakpoints. llvm-svn: 152081
-
rdar://problem/10986692Greg Clayton authored
Safeguard against building on next OS and run on current OS. llvm-svn: 152077
-
- Mar 05, 2012
-
-
Sean Callanan authored
C++ method. llvm-svn: 152064
-
Enrico Granata authored
llvm-svn: 152053
-
Enrico Granata authored
(a) the SystemParameters object is now passed around to the formatters; doing so enables the formatters to reuse computed values for things such as pointer-size and endianness instead of repeatedly computing these on their own (b) replacing the global ISA cache with a per-process one (c) providing a per-process types cache where each formatter can store the types it needs to operate, and be sure to find them the next time without recalculating them this also enables formatters to share types if they agree on a local naming convention (d) lazy fetching of data from Objective-C runtime data structures data is fetched as needed and we stop reading as soon as we determine that an ISA is actually garbage llvm-svn: 152052
-
Johnny Chen authored
Add SBFrame::IsEqual(const SBFrame &that) method and export it to the Python binding. Alos add a test case test_frame_api_IsEqual() to TestFrames.py file. llvm-svn: 152050
-
Johnny Chen authored
llvm-svn: 152049
-
Johnny Chen authored
llvm-svn: 152038
-
Jim Ingham authored
have a process, then fetch the right runtime resolver when the process is made. llvm-svn: 152015
-
- Mar 03, 2012
-
-
Enrico Granata authored
llvm-svn: 151982
-