c590c679663f093bc74355572ccfa8d40284d065 |
07-Aug-2013 |
Daniel Malea <daniel.malea@intel.com> |
New settings: target.use-hex-immediates and target.hex-immediates-style - Immediates can be shown as hex (either Intel or MASM style) - See TestSettings.py for usage examples - Verified to cause no regressions on Linux x86_64 (Ubuntu 12.10) Patch by Richard Mitton! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187921 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
ettings/main.cpp
|
50851d82b0f0aa415fc0c057b85b2243190366ab |
07-Aug-2013 |
Daniel Malea <daniel.malea@intel.com> |
Re-enable check previously disabled due to llvm.org/pr16603 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187890 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
|
e0d9e7543b684ffedabc9b39f4e4910eb975099e |
06-Aug-2013 |
Daniel Malea <daniel.malea@intel.com> |
Centralizing Intel compiler detection logic in lldbtest.py to avoid duplication in the future. - Addresses review comments from Stefanus! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187816 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/step_out/TestThreadStepOut.py
ldbtest.py
|
31cdd3d8545077cd5cdb6873bf005508a1570d38 |
06-Aug-2013 |
Daniel Malea <daniel.malea@intel.com> |
Support one more flavour of Intel compiler in TestThreadStepOut - Thanks to Matt Kopec for noticing the failure! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187815 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/step_out/TestThreadStepOut.py
|
65a020792483fc918b0c4bcb21db24de9ef430aa |
06-Aug-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Mark remaining failing test on icc as expected fail.. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187814 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/virtual/TestVirtual.py
|
042b14cb98cb44779bf2b1c804786130178bba8c |
06-Aug-2013 |
Daniel Malea <daniel.malea@intel.com> |
Allow building test suite with non-default libc++ - add new "--libcxx" parameter to dotest.py to specify path to custom libc++ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187802 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
9de79f93e058445afc9f8c131f9a4bb57654fe44 |
06-Aug-2013 |
Daniel Malea <daniel.malea@intel.com> |
Test compatibility improvements for ICC - update TestThreadStepOut.py to work with Intel compilers - fix typo in TestConcurrentEvents git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187801 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
unctionalities/thread/step_out/TestThreadStepOut.py
unctionalities/thread/step_out/main.cpp
|
2fa8346c758f2bae3cd638ec28479dfa2d64af09 |
05-Aug-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Additional fixes/xfails for icc tests git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187730 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inline-stepping/TestInlineStepping.py
unctionalities/return-value/TestReturnValue.py
ang/c/struct_types/TestStructTypes.py
|
d60b54fbccf3a9bc816cc7fa8fe8362a40d91f38 |
02-Aug-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Mark additional icc test failures as expected fail. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187660 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
ang/cpp/this/TestCPPThis.py
|
0d23b9fa316da005db4d5591bfa616a014ae1a16 |
01-Aug-2013 |
Daniel Malea <daniel.malea@intel.com> |
Disable test on Mac OS X due to llvm.org/pr16769 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187603 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/longjmp/TestLongjmp.py
|
23bb947c115986ebad812bc7c04805118feb318f |
01-Aug-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Updates TestLongjump to ensure that compiler optimizations don't affect the mapping of source to assembly so that the same test script can be used with more compilers. Patch by Andy Kaylor! Also marks the LLDB test of template parameters as xfail on icc. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187600 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/longjmp/TestLongjmp.py
unctionalities/longjmp/main.c
ang/cpp/stl/TestSTL.py
|
7526625a76ca97a2637749b0cc4068bf0bd907fb |
01-Aug-2013 |
Michael Sartain <mikesart@valvesoftware.com> |
Fix Linux Host::GetCurrentThreadID() to return real tid (not pthread_t). This fixes threadname logging (--thread-name) Add "-t" to TestLogging.py script to enable threadsafe and disable threadname logging git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187599 91177308-0d34-0410-b5e6-96231b3b80d8
ogging/TestLogging.py
|
2bf963306acbe20bd3de14ad150c157243cd3844 |
01-Aug-2013 |
Stefanus Du Toit <stefanus.du.toit@intel.com> |
Allow test categories to be skipped. This adds a new parameter, --skip-category, that can be used to list categories that should be skipped. For example, to run all tests except for Objective-C ones, one can now write: ./dotest.py --skip-category objc [...] git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187590 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
a749646c914e6731cb789bcd0f25e5740c47e722 |
01-Aug-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Update failing tests on Linux for clang and gcc to only fail on Linux instead of all platforms. Thanks Stefanus! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187585 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/class_types/TestClassTypesDisassembly.py
|
e138d9f2f0f7701f672a441ebdc584554fcd9749 |
31-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Mark some tests as explicitly failing on clang/gcc as they pass on icc. Also, rework the signed types test to check for signed or char type in the output as char is signed by default. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187533 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/class_types/TestClassTypesDisassembly.py
ang/cpp/signed_types/TestSignedTypes.py
|
a224c7c673a433ef9f6673929a5eb8508bd8e73d |
31-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add the LD_LIBRARY_PATH to target.env-vars for tests expecting libimf.so when testing with ICC. Patch from Andy Kaylor. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187520 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/TestGlobalVariables.py
ang/c/shared_lib/TestSharedLib.py
ang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
|
cae3de0877cb951519f27a88307c81c990910543 |
31-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Adds a test for 'target module dump symfile' to the LLDB suite. TODO: Improve coverage of SBTypeMember and of 'target module dump'. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187519 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/bitfields/TestBitfields.py
|
93d8e42f14e322a501c94d5d6ca86fc726182e95 |
31-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Mark additional ICC failing tests as expected fail. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187507 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
ang/cpp/char1632_t/TestChar1632T.py
|
03e33528b9d0218542fc3ec994fdc22808c3809f |
31-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Update break conditions test to have consistent behaviour on all test suite compilers. Also update comment in const variables test to reflect ICC status. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187501 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
ang/c/const_variables/TestConstVariables.py
|
c3e49ca112343c6286c48a18bef3ce52bb69b3be |
31-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Set an extra debug flag when testing with ICC so that it generates the correct debug info for inlined tests. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187500 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_ids/Makefile
unctionalities/breakpoint/breakpoint_locations/Makefile
unctionalities/inline-stepping/Makefile
ython_api/frame/inlines/Makefile
|
6629791fa6e1a2621db0309ab657d03d82a62ebe |
31-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Updated the LLDB rvalue reference test to cross-reference with a bugzilla report, provide more detail on compiler compatibility, and to illustrate that this is an issue with expression evaluation. - Note that clang doesn't emit DW_TAG_const_type, which might be okay if there's no such thing as a non-const rvalue reference. How about foo(make_int())? git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187499 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/rvalue-references/TestRvalueReferences.py
|
1475fc76a3b64fd81b710d3a719d6fcc9f6996e2 |
30-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Assorted test suite fixes as a result of GCC 4.8 validation efforts - disable some TestConcurrentEvents cases (which are affected by llvm.org/pr16714 -- watchpoints in multithreaded programs) - relax number-of-bp-locations check in TestUniqueTypes/TestUnsignedTypes - skip TestDataFormatterStdVector cases with GCC 4.8 (known failure due to llvm.org/pr15301) - workaround for race condition in TestHelloWorld.py - update TestSettings.py to work on distros (like Fedora) that have /bin/cat hardlinked to /usr/bin/cat After these changes, the test suite should run cleanly against GCC 4.8 (with DWARF v4)! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187451 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
ang/cpp/unique-types/TestUniqueTypes.py
ang/cpp/unsigned_types/TestUnsignedTypes.py
ython_api/hello_world/TestHelloWorld.py
ettings/TestSettings.py
|
1d6437dc04e38fc75a703f188928f95ad7c5d582 |
30-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix problematic override _exc_info_to_string - pass through to base-class implementation when raised exception is not from an LLDBTest - should make the test suite errors a little easier to root-cause git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187450 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
f3b05d6372182528f3bb11982d9c68a1e431fe9f |
30-Jul-2013 |
Stefanus Du Toit <stefanus.du.toit@intel.com> |
Add missing -Xlinker to order test. Both the parameter itself and the argument to the parameter must be prefixed with -Xlinker so that they are passed properly. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187432 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/order/Makefile
|
9b27646b1327c09d398dd0ace6f0c41d3179477b |
30-Jul-2013 |
Stefanus Du Toit <stefanus.du.toit@intel.com> |
Use -Wl to specify -rpath correctly. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187431 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
4acd24ad78bd75882ef821cf817d6ff9734011ab |
30-Jul-2013 |
Stefanus Du Toit <stefanus.du.toit@intel.com> |
Use the correct compiler to compute dependencies. This uses $(CXX) instead of $(CC) to generate the .d files for tests built with Makefiles. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187426 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
5119a6475bc2e3073c4a24399035a22ab4eab810 |
30-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: process connect needs "-p gdb-remote" on FreeBSD as on Linux git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187418 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/connect_remote/TestConnectRemote.py
|
9c19b015ac6161a35fc56bb2d0fa84d1837063f8 |
30-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr14424 These tests fail on FreeBSD due to missing build support, the same reason they fail on Linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187416 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
|
f40b0928e7455c7158ea9aa82d7908cc3fe4d1af |
30-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16697 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187415 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
xpression_command/test/TestExprs.py
unctionalities/alias/TestAliases.py
ang/c/function_types/TestFunctionTypes.py
ang/cpp/bool/TestCPPBool.py
ang/cpp/static_methods/TestCPPStaticMethods.py
ang/cpp/this/TestCPPThis.py
ang/cpp/virtual/TestVirtual.py
|
21f98a38a0cfa10b9935248f1b3628b5ba914402 |
30-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix TestConcurrentEvents to behave nicely with GCC 4.8 - newer gcc generates additional debuginfo for function exit (stack object desctruction) which was causing tests to fail - work-around consists of not declaring any stack objects in main() git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187389 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/main.cpp
|
7b30525922628ac36632374a2d73b7412073e849 |
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Build test code on FreeBSD the same way as on Linux git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187155 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/TestPublicAPIHeaders.py
ldbtest.py
|
6bd7f0ded258fb0691da9090156910e156261933 |
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16699 FreeBSD's Host class doesn't yet return a list of running processes, so 'platform process list' fails and attach by process name does not work. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187142 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/platform/TestPlatformCommand.py
unctionalities/process_attach/TestProcessAttach.py
ython_api/hello_world/TestHelloWorld.py
|
3bf526ac0f51dda6f63be3421cd7de68720dd656 |
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16706 Watchpoints are not yet working on FreeBSD git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187134 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
unctionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/TestWatchpointIgnoreCount.py
ython_api/watchpoint/TestWatchpointIter.py
ython_api/watchpoint/condition/TestWatchpointConditionAPI.py
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
4fd912f5de9a61a4e23f2a1973659f0c334a2692 |
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16696 Live debugging for threaded inferiors is not yet implemented on FreeBSD git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187131 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/break_after_join/TestBreakAfterJoin.py
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
unctionalities/thread/create_during_step/TestCreateDuringStep.py
unctionalities/thread/exit_during_break/TestExitDuringBreak.py
unctionalities/thread/exit_during_step/TestExitDuringStep.py
unctionalities/thread/multi_break/TestMultipleBreakpoints.py
|
afed35ecdb1d799dadd4e7b2673b1911a84e77d5 |
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
Skip dead-strip test also on FreeBSD -dead_strip isn't supported by FreeBSD's ld. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187129 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/dead-strip/TestDeadStrip.py
|
9aa84a120ae567bb5fbdd4a77c744a38e0d85e8b |
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
Annote expected failures on FreeBSD due to pr14540 PR title updated to indicate that FreeBSD is also affected: Backtrace command does not display c++ member function names on Linux or FreeBSD git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187127 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_types/TestClassTypesDisassembly.py
|
dcddd0c77a8992872204ef3530cb38ee996d6d5c |
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
Fix test execution on FreeBSD versions other than 9.x The tests use a plugin based on the name from sys.platform. Unfortunately that string includes the major version number in Python 2.7, so the tests would look for builder_freebsd9.py, builder_freebsd10.py, etc. The issue doesn't affect Linux as Python returns 'linux2' also on Linux 3.x -- see http://bugs.python.org/issue12326 for details. It seems later versions of Python will drop the major version number, so adopt this convention now for FreeBSD. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187121 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/builder_freebsd.py
lugins/builder_freebsd9.py
|
10c0722de53ac1cbeb032cbafef00fdbac522abd |
24-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix test suite make so that -std=c++11 gets set properly for supported compilers and -std=c++0x gets set only for gcc 4.6 versions. Previously, -std=c++0x was being set for all compilers. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187080 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
4edd4b4d295e07afc6a7c157f2693a110de49964 |
24-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16696 Live debugging of threaded inferiors is currently unimplemented for FreeBSD. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187077 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/TestNumThreads.py
unctionalities/thread/step_out/TestThreadStepOut.py
unctionalities/thread/thread_exit/TestThreadExit.py
ython_api/lldbutil/process/TestPrintStackTraces.py
|
ccfb499c8e1989a37a1976a4f1ec662f89816b28 |
24-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16697 These fail due to: error: Expression can't be run, because there is no JIT compiled function git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187072 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/radar_9673664/TestExprHelpExamples.py
ang/c/strings/TestCStrings.py
|
8be36596a02e57eb3b187f03a760c532d6d95571 |
24-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
test_iter_registers is expected to fail on FreeBSD Added comment to llvm.org/pr14600 that it fails on FreeBSD in the same way as Linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187070 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/iter/TestRegistersIterator.py
|
4e6d297d49a91978aa845c14d2a1ab93cffe6003 |
24-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
Add expectedFailureFreeBSD test wrapper git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187069 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
14d0ef484e29c77b879c6b039e921d10020ef10f |
24-Jul-2013 |
Stefanus Du Toit <stefanus.du.toit@intel.com> |
Don't rely on C99 for loop initializers in test case This allows compilation of the test case with GCC 4.8. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187057 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-restarts/lotta-signals.c
|
4a217a5a91a9575a15f494a4e08d2a09ea5adf2c |
24-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Updating tests that fail with ICC 13.1 because of the different mapping of assembly to DWARF. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187035 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/longjmp/TestLongjmp.py
unctionalities/thread/step_out/TestThreadStepOut.py
|
f9332bbcd17a323d05c2ac18880d01dd87d6b65e |
24-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix rvalue test makefile. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186992 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/rvalue-references/Makefile
|
4514d505ac2ca9c2a05136fa3b586a867412b8ad |
23-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
Skip test reported to hang the FreeBSD buildbot git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186979 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/TestProcessLaunch.py
|
b8a579f45729be8bfcfdb834bba7ac5cf51ecafc |
23-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Adds a test for "disassemble -a" after an assert, which can fail with ELF because a synthetic symbol hasn't been provided for stripped function symbols. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186959 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-assert/TestInferiorAssert.py
|
2c0e3062e4b43015dc299270c9d73cdb00d384c1 |
19-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Reworked the test decorators to match the test results on the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186717 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/type_completion/TestTypeCompletion.py
|
e0fefe3f0ecc9a57e8d20c162c50ea70ee5d303b |
19-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Updated the test suite to fix xpasses on the gcc buildbot primarily due to r186347 (thanks Greg!). Your mileage may vary depending on the gcc and stl versions in use (see llvm.org/pr15301). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186706 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/type_completion/TestTypeCompletion.py
|
4f33a8216d66ac3934d87972596b43bb13aeb2c2 |
18-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Fix the partial backtrace when using a combination of stripped function symbols and -fomit-frame-pointer. - Parses eh_frame FDEs to determine the function address and size so that the call frame parsing can continue. Note: This code path is specific to ELF and PECOFF, because ObjectFileMachO uses LCT_FunctionStarts to efficiently populate the symbol table. Thanks to Jason Molenda for the review! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186585 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-assert/TestInferiorAssert.py
|
0645d187d2061b7b1690b2ead7aaf8f7736cf873 |
16-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Add tests for 'thread step out' for multithreaded programs - test with python API - test with command interpreter - test stepping a single (selected) thread - test stepping all threads in the program git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186446 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/step_out/Makefile
unctionalities/thread/step_out/TestThreadStepOut.py
unctionalities/thread/step_out/main.cpp
|
250e7494cc3a99a868880ba9240c70f5b78cf273 |
16-Jul-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed a problem in IRForTarget where we would not delete a constant after we replaced it with a dynamically-computed value. Also ensured that we replace all users of the constant if there are multiple ones. Added a testcase. <rdar://problem/14379043> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186363 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-struct-return/Makefile
ang/objc/objc-struct-return/TestObjCStructReturn.py
ang/objc/objc-struct-return/test.m
|
0b009eecad90bb2a45b3391ce0aaf3f8c6e25936 |
15-Jul-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Adds a passing test for step-over and step-out when the inferior is about to call longjmp (non-local goto) in a single-threaded inferior. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186325 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/longjmp/Makefile
unctionalities/longjmp/TestLongjmp.py
unctionalities/longjmp/main.c
|
9a76f6f18aa3eebcc40d0da6b7d87a94650909b8 |
12-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Work-around for GCC issue where setting a breakpoint on a vector definition also adds a breakpoint on the d'tor call git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186193 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/main.cpp
|
a04d685a740fc51d4c246b2004adbb5712bdad6f |
12-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix gcc buildbot failures, re-enable tests disabled due to llvm.org/pr16575 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186166 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
|
4e49a5bfccc0a51185eadf69b3e23f68e70f1676 |
12-Jul-2013 |
Jim Ingham <jingham@apple.com> |
Get debugserver to call task_set_state to prime the control registers so that watchpoints take for threads created while the program is running. Remove the testcase skips from TestConcurrentEvents.py, since they all pass now, and fix TestWatchpointMultipleThreads.py - which should have caught this problem - so it doesn't artificially break on new thread creation before the watchpoint triggers. llvm.org/pr16566 <rdar://problem/14383244> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186132 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
|
52f792329be5db8e38961350589e97e8f2823acd |
12-Jul-2013 |
Greg Clayton <gclayton@apple.com> |
Huge change to clean up types. A long time ago we start with clang types that were created by the symbol files and there were many functions in lldb_private::ClangASTContext that helped. Later we create ClangASTType which contains a clang::ASTContext and an opauque QualType, but we didn't switch over to fully using it. There were a lot of places where we would pass around a raw clang_type_t and also pass along a clang::ASTContext separately. This left room for error. This checkin change all type code over to use ClangASTType everywhere and I cleaned up the interfaces quite a bit. Any code that was in ClangASTContext that was type related, was moved over into ClangASTType. All code that used these types was switched over to use all of the new goodness. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186130 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/blocks/TestObjCIvarsInBlocks.py
|
e14eec8837285f148ca6a3be8c0bc39b02ae80b0 |
12-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Tentatively re-enabling TestBreakAfterJoin on Linux - Unable to reproduce llvm.org/pr16170 locally git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186129 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/break_after_join/TestBreakAfterJoin.py
|
cb18736d068bef6ff56ef451a25d67cced402f32 |
12-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Enable Mac OS X tests disabled due to llvm.org/pr16567 - thread count remains correct now that we use pthread_kill() instead of kill() to deliver signals git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186126 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
|
571be4261837300fd56eefc95a602711bf5de5c8 |
12-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Improve TestConcurrentEvents.py - code cleanup, improved reporting when failures take place - ensure known thread is interrupted by using pthread_kill() instead of kill() in the signal worker thread - above should avoid llvm.org/pr16567 on Mac OS X (though kill() could still cause threads to pop out of existance temporarily) - added an additional check that all threads have exited after worker threads are all join()ed - logged llvm.org/pr16603 for the new Linux bug discovered git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186124 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
unctionalities/thread/concurrent_events/main.cpp
|
b9d995d0863e1860c12c4ace0d5eb0ba832f9c99 |
09-Jul-2013 |
Enrico Granata <egranata@apple.com> |
Second attempt at getting the PyCallable changes in trunk Thanks to Daniel Malea for helping test this patch for Linux happiness! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185965 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/welcome.py
|
784091a2a09c886776640c9b28479489364fcf28 |
09-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Cleanup in TestConcurrentEvents.py - re-enable tests fixed by Matt's commit this morning (addressed llvm.org/pr16567) - disabled tests affected by new bug llvm.org/pr16575 - removed some commented out code in inferior git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185951 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
unctionalities/thread/concurrent_events/main.cpp
|
cd2b54b6d78fec6c5b68f8565150b5a6d3aaf7ca |
09-Jul-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Change TestRegisters.py attach case to attach to a.out and enable that test case git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185947 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
unctionalities/register/main.cpp
|
7847c11ac00826778576178958776e921ba31846 |
09-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
Update exception to match decorator name git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185891 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
ff5c6d9c07c02c80b24a59c25d9f5edd518479c4 |
09-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Add TestConcurrentEvents test for LLDB's handling of inferior threads - Test verifies LLDB's handling of inferiors with threads that: hit breakpoints, modfiy variables that have watchpoints set, generate user signals, and crash. - Add a few "stress tests" (with ~100 threads) -- run these with "-l" dotest.py flag. - Fix stop_reason_to_str helper in lldbutil to handle eStopReasonThreadExited. - Add sort_stopped_threads helper to lldbutil to separate thread lists based on stop reason. Logged llvm.org/pr16566 and llvm.org/pr16567 for bugs exposed. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185889 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/concurrent_events/Makefile
unctionalities/thread/concurrent_events/TestConcurrentEvents.py
unctionalities/thread/concurrent_events/main.cpp
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
ldbtest.py
ldbutil.py
|
f78578b805128f91b91c2c82f1547569b97adc52 |
03-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Remove @expectedFailureGcc from TestInlineStepping as function prologue bug is not reproducible anymore. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185579 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inline-stepping/TestInlineStepping.py
|
2bea9f01f3f6c0de99a2e57c57bf32c7f46ec6bc |
03-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip Test-rdar-9974002 with Clang 3.4 (due to llvm.org/pr16214) - should resolve remaining failures on clang buildbot git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185576 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
|
78f2f67acc86faa05e1c040e113835fb78c08b5c |
03-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Add missing -std=c99 flag to appease GCC 4.6 - this issue was detected on recent GCC buildbot runs git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185571 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/Makefile
|
8bbc216dbed6df5d09bf56aa1c9a8ca8f01bfc35 |
03-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Re-apply TestHelp.py fix git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185570 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
f3b68becfe3c7310958375874b08d4891a51b410 |
03-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix python 2.6 compatibility issue introduced by r184615 - argparse_compat library does not support reading environment variables - should unblock Linux GCC buildbot from running tests again git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185567 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
26bc105b1882a78de609d46d148ad2b5c4d50656 |
03-Jul-2013 |
Daniel Malea <daniel.malea@intel.com> |
Revert commits that cause broken builds on GCC buildbots - build fails due to PyCallable template definition inside an extern "C" scope This commit reverts 185240, 184893 and 184608. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185560 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/welcome.py
elp/TestHelp.py
|
82dc0f147502480a787fde1d01ed3ceb89a3193f |
02-Jul-2013 |
Michael Sartain <mikesart@valvesoftware.com> |
Add split symbol support to test makefile & add linux split symbol test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185455 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/shared_lib_stripped_symbols/Makefile
ang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
ang/c/shared_lib_stripped_symbols/foo.c
ang/c/shared_lib_stripped_symbols/foo.h
ang/c/shared_lib_stripped_symbols/main.c
ake/Makefile.rules
|
b0cb21eb83c900bf6a8b1d2f3b184e584056bbd6 |
29-Jun-2013 |
Enrico Granata <egranata@apple.com> |
More useful printout of arguments after the recent changes to support LLDB_TEST_ARGUMENTS git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185246 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
9c9a7bf57d081271c7e971decfe221561a920bcd |
26-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/14266411> The semi-unofficial way of returning a status from a Python command was to return a string (e.g. return "no such variable was found") that LLDB would pick as a clue of an error having happened This checkin changes that: - SBCommandReturnObject now exports a SetError() call, which can take an SBError or a plain C-string - script commands now drop any return value and expect the SBCommandReturnObject ("return object") to be filled in appropriately - if you do nothing, a success will be assumed If your commands were relying on returning a value and having LLDB pick that up as an error, please change your commands to SetError() through the return object or expect changes in behavior git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184893 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/welcome.py
|
f4b0e69a83a56b729a900b5960a7fbc2c4d225fa |
25-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix undefined behaviour in data formatter test -- ensure char* null-terminated so LLDB does not read off the end of the array. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184877 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/main.cpp
|
bd5505c04a480992eb2023f8dff08f97a694017b |
25-Jun-2013 |
Ed Maste <emaste@freebsd.org> |
Skip dsym tests also on FreeBSD git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184874 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
aedf8e058dee5f847f607c2098eb61e1d6327c3d |
25-Jun-2013 |
Ed Maste <emaste@freebsd.org> |
Skip tests that hang on FreeBSD There's still significant work to do in the FreeBSD port, so no point in a pr for these yet. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184871 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/create_after_attach/TestCreateAfterAttach.py
ldbtest.py
|
b00d7433fef1e488b6114c9fd6e6723049777ec6 |
24-Jun-2013 |
Ed Maste <emaste@freebsd.org> |
Tests require GNU make, called gmake on FreeBSD git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184748 91177308-0d34-0410-b5e6-96231b3b80d8
lugins/builder_base.py
|
6fa3c50f009787e87998e74e90a75d0e11efbda2 |
22-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Test suite support for setting arguments through the environment Set your env variable LLDB_TEST_ARGUMENTS to one or more options to be passed to the lldb test suite and those will be picked automatically No more fighting about whether the progress bar is good or bad :-) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184615 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
9d1b2d290fd6ef28ae6222643e8e3702238b149c |
22-Jun-2013 |
Enrico Granata <egranata@apple.com> |
make command history test case run silently regardless of import status of module foo git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184613 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_history/TestCommandHistory.py
|
3741503babd3818504b456eba2a14a96165512bc |
22-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Lots of cleanup on the SWIG wrapping layer Now, the way SWIG wrappers call into Python is through a utility PyCallable object, which overloads operator () to look like a normal function call Plus, using the SBTypeToSWIGWrapper() family of functions, we can call python functions transparently as if they were plain C functions Using this new technique should make adding new Python call points easier and quicker The PyCallable is a generally useful facility, and we might want to consider moving it to a separate layer where other parts of LLDB can use it git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184608 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
d0f064d4e5ccef341ecbd6a462bbff5f085a3f77 |
20-Jun-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed a problem with materialization and dematerialization of registers that caused conditional breakpoint expressions not to work properly. Also added a testcase. <rdar://problem/14129252> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184451 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/breakpoint/breakpoint_conditions/main.c
|
571358f0358eca953916c4866db55c3f93d28820 |
19-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Huge speedup for testsuite categories This ensures that we won't try to do cleanups of test cases that we are skipping e.g. this brings down the time required to run the cmdline category on my machine from ~70s to ~30s git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184363 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
efcd1bcf9fcd6e496a74b8d2711bf5281e8ab015 |
19-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/14086503> Hardening the libstdc++ std::map test case against line table changes git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184265 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp
|
e8afa73ef12b819ebd22b53683204c8a1ba4d5cd |
19-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/14086503> Hardening the libstdc++ std::vector test case against line table changes git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184264 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/main.cpp
|
8c3391ba76c5e3440a0cc10296dbde1b44300509 |
19-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/14194128> ClangASTContext was failing to retrieve fields and base class info for ObjC variables This checkin fixes that and adds a test case git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184248 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/objc_type/Makefile
ython_api/objc_type/TestObjCType.py
ython_api/objc_type/main.m
|
3cb3fe3da5851d90504b7c36817863a413447181 |
18-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Adding a "cmdline" category to the test suite git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184155 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
unctionalities/abbreviation/.categories
unctionalities/alias/.categories
unctionalities/backticks/.categories
unctionalities/command_history/.categories
unctionalities/command_regex/.categories
unctionalities/command_script/.categories
unctionalities/command_source/.categories
unctionalities/completion/.categories
|
3f0cc74e68663aff8c0262dee99fdf2c1250fb7b |
18-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Renaming the "--wipe" option to "command history" to "--clear" (-C) for coherence with the rest of the LLDB command-line interface git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184147 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_history/TestCommandHistory.py
|
b1fb72761226817e7f687eca21cbe9c0a3ec4cf6 |
18-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/14134716> This is a rewrite of the command history facility of LLDB It takes the history management out of the CommandInterpreter into its own CommandHistory class It reimplements the command history command to allow more combinations of options to work correctly (e.g. com hist -c 1 -s 5) It adds a new --wipe (-w) option to command history to allow clearing the history on demand It extends the lldbtest runCmd: and expect: methods to allow adding commands to history if need be It adds a test case for the reimplemented facility git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184140 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_history/TestCommandHistory.py
ldbtest.py
|
f3d6ee25c49833eddf8ca12da72706e5828a2f21 |
17-Jun-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix breakpoint test to account for full path of source file location. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184126 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
|
025bcc0c90325b36dc3cbaf644bebc77ff758a7c |
17-Jun-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix single whitespace before breakpoint filename in some tests due to r183932. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184104 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/alias/TestAliases.py
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
unctionalities/thread/TestNumThreads.py
unctionalities/thread/break_after_join/TestBreakAfterJoin.py
unctionalities/thread/create_during_step/TestCreateDuringStep.py
unctionalities/thread/exit_during_break/TestExitDuringBreak.py
unctionalities/thread/exit_during_step/TestExitDuringStep.py
unctionalities/thread/multi_break/TestMultipleBreakpoints.py
unctionalities/thread/state/TestThreadStates.py
unctionalities/thread/thread_exit/TestThreadExit.py
ang/c/array_types/TestArrayTypes.py
|
582466329a734d71285534df27a459b48408b6d4 |
13-Jun-2013 |
Greg Clayton <gclayton@apple.com> |
Added a new makefile setting that can be set in LLDB makefiles: USE_LIBCPP. This will enable libc++ support. Improved the makefile "clean" to include deleting all ".d.[0-9]+" files. Added options to the "lldb/examples/lookup" example and made it build using the LLDB_BUILD_DIR. If this is not set, it will default to "/Applications/Xcode.app/Contents/SharedFrameworks" on Darwin. Added options to the "lldb/examples/function" example and made it build using the LLDB_BUILD_DIR. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183949 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
7ae61126d72af10df5aef97b7f4ce34a8bdcb9da |
12-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
If using clang 3.4, skip tests affected by llvm.org/pr16214 - clang emits incomplete DWARF information for structures referenced via typedef git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183846 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/anonymous/TestAnonymous.py
ang/c/shared_lib/TestSharedLib.py
|
31edb4b031da51f3435042a63be6ae442dced1ad |
12-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Update TestRegisters for running on Linux (filed llvm.org/pr16301) - skip the attach cases in TestRegisters.py -- caused slowness/sigabrt - fixed log file removal function (in case test is run with -# flag) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183812 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
a9dc882693ef65ee3657b96f018fec3685d37282 |
11-Jun-2013 |
Greg Clayton <gclayton@apple.com> |
Use llvm::APFloat for formatting if a target is available. Each target when debugging has a "ASTContext" that helps us to use the correct floating point semantics. Now that APFloat supports toString we now use that. If we don't have a target, we still fall back on the old display methodology, but the important formatting should always have a target available and thus use the compiler floating point code. Modified the test programs to use floating point constants that always will display correctly. We had some numbers that were being rounded, and now that we are using clang, we no longer round them and we get more correct results. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183792 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
unctionalities/data-formatter/data-formatter-named-summaries/main.cpp
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/data-formatter/data-formatter-smart-array/main.cpp
|
0f2a853b3d5542ac2ef53e194e0dcf5dc8cbe26f |
11-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/13779789> Allow memory read -t to take persistent types (those defined with expression struct $....) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183766 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/persistent_types/TestPersistentTypes.py
xpression_command/persistent_types/main.c
|
0debb7c81a2d2f2033df41aa9f733a1df71e7baa |
08-Jun-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Updating convenience register attach test git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183580 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
beeeeb5971c92c82d313ebdf3efdb55327ed2270 |
08-Jun-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Don't set stdin to devnull for forked processes git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183578 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
36a96dae1f1374f07f00e0743a0e37fff794c721 |
07-Jun-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Revert r183281, adds a comment about how to reproduce the hang. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183569 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/break_after_join/TestBreakAfterJoin.py
|
fda7a97c8b7f62865750737c2a274e9e25d49ff6 |
07-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Tweaking Daniel Malea's fixes to Makefile.rules to ensure that we correctly pass -stdlib=libstdc++ to clang when compiling as well as when linking Not doing this was causing link errors as clang was looking for libc++ symbols while linking against libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183482 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
16796e0554f3faa045d556d54971c5c8e544e3d4 |
07-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Tweaks to the std::list (libstdc++ test case) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183480 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
|
fb323f00d6124ac71f10e8bb6fa26782f04c2411 |
06-Jun-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Adding a test case for pr15415 - partial backtrace with -fomit-frame-pointer that is patterned after its parent TestInferiorCrashing.py. - The xfail decorator limits the xfail to tool-chains that support this compiler option. - Included a TODO concerning the platform-specific behavior when 'next' is issued after a crash. - Toggling -fomit-frame-pointer results in an xpass as mentioned in pr15415. Thanks to Daniel for the review, and Samuel for the bug report and reproducer. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183434 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/recursive-inferior/Makefile
unctionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
unctionalities/inferior-crashing/recursive-inferior/main.c
|
0c521648b02c92a221293d7f9762b6c5a4b02813 |
06-Jun-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Reworked the routine that qualifies the tool-chain for expected failures to handle sub-strings. - For instance, allows 'gcc' to match x86-64-linux-gnu-gcc as required on some Debian builds. - Also adds doc-strings and a more consistent naming convention for related helpers. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183415 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
e0c604fc2433b4bfff0290bcd4d80dfe46b310cf |
06-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/14064994> Fixing a test case to correctly check that the class name has changed instead of relying on GetValueDidChange() git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183364 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-stepping/TestObjCStepping.py
|
a45d2e2806cfa1e5b0189df96f069c137278fd46 |
06-Jun-2013 |
Sean Callanan <scallanan@apple.com> |
Fixes for the IR interpreter: - Implemented the SExt instruction, and - eliminated redundant codepaths for constant handling. Added test cases. <rdar://problem/13244258> <rdar://problem/13955820> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183344 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/persistent_variables/TestPersistentVariables.py
ang/c/struct_types/TestStructTypes.py
|
adbaa44e549bf6fa9adca947e9e8821ffb12d063 |
05-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Add test cases for attaching to a process after fork - one test case is due to llvm.org/pr16229 - other test case uses a Linux workaround for above by using os.fork() instead of subprocess module Patch by Andy Kaylor! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183340 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/create_after_attach/Makefile
unctionalities/thread/create_after_attach/TestCreateAfterAttach.py
unctionalities/thread/create_after_attach/main.c
ldbtest.py
|
6f25bcec7286e7d3153dfa07027d76759d443299 |
05-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix Makefiles in the data-formatter-stl tests - specify compiler flag -stdlib=libstdc++ only if using clang (not supported in gcc) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183333 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile
ake/Makefile.rules
|
3990c278c5f4f6ce1373ee3e6d5b984883cf4318 |
05-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/13125225> Adding data formatters for std::set, std::multiset and std::multimap for libc++ The underlying data structure is the same as std::map, so this change is very minimal and mostly consists of test cases git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183323 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/multimap/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/multimap/main.cpp
unctionalities/data-formatter/data-formatter-stl/libcxx/multiset/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py
unctionalities/data-formatter/data-formatter-stl/libcxx/multiset/main.cpp
unctionalities/data-formatter/data-formatter-stl/libcxx/set/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py
unctionalities/data-formatter/data-formatter-stl/libcxx/set/main.cpp
|
cdffa426535f6bbe344d111e0d4bcb3f026978f7 |
05-Jun-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Skip intermittent watchpoint test failure when testing on Linux/gcc. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183316 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
|
1df0f7306e2c76f6db5d4348658d52ca0297adef |
05-Jun-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Re-enabling a test that is no longer failing git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183281 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/break_after_join/TestBreakAfterJoin.py
|
d65317e8c1adbf5ff092e35bc685ff078c44312d |
05-Jun-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12582328> If you want to define a formatter for "array of Foo of any size", ordinarily you would say -x "Foo \[[0-9]+\]" this checkin allows you to instead say "Foo[]" (or "Foo []") and LLDB will automatically create the regular expression and add the -x flag on your behalf git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183272 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
|
a800e92eb9b8c487ec9030626d91b0f06203517e |
03-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Un-skipping test that was disabled due to llvm.org/pr16191 - adding workaround recommended by Greg (-fno-limit-debug-info clang flag) - filed bug llvm.org/pr16214 against Clang git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183156 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-9973865/Makefile
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
|
12c5bf31a5a3f96970b4101495ecbcc8449e12f6 |
03-Jun-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix setting of watchpoints on inferior thread creation for Linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183139 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
|
e6acc70303c634b71fdfe0133f6aa6be4476403b |
31-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skipping test case for clang 3.4 due to llvm.org/pr16191 - should resolve remaining buildbot issues with debian/clang builder git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183044 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
|
7ef39ca9e4e94b96fb20fc17200d6492639f0cac |
31-May-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/14035604> Fixing an issue where formats would not propagate from parents to children in all cases Details follow: an SBValue has children and those are fetched along with their values Now, one calls SBValue::SetFormat() on the parent Technically, the format choices should propagate onto the children (see ValueObject::GetFormat()) But if the children values are already fetched, they won't notice the format change and won't update themselves This commit fixes that by making ValueObject::GetValueAsCString() check if any format change intervened from the previous call to the current one A test case is also added git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183030 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/format-propagation/Makefile
unctionalities/data-formatter/format-propagation/TestFormatPropagation.py
unctionalities/data-formatter/format-propagation/main.cpp
|
9a71f969bc71ca25f5c28fbf994f4923132c1ee2 |
31-May-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed value evaluation to handle null constants. <rdar://problem/14005311> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183022 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/strings/TestCStrings.py
|
66068824402d94de2abe81c7e4472a4754572489 |
31-May-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11109316> command script import now does reloads - for real If you invoke command script import foo and it detects that foo has already been imported, it will - invoke reload(foo) to reload the module in Python - re-invoke foo.__lldb_init_module This second step is necessary to ensure that LLDB does not keep cached copies of any formatter, command, ... that the module is providing Usual caveats with Python imports persist. Among these: - if you have objects lurking around, reloading the module won't magically update them to reflect changes - if module A imports module B, reloading A won't reload B These are Python-specific issues independent of LLDB that would require more extensive design work The --allow-reload (-r) option is maintained for compatibility with existing scripts, but is clearly documented as redundant - reloading is always enabled whether you use it or not git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182977 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/import/TestImport.py
|
782e474a0fad1f1c2864e6b709b9ceb12aa50967 |
30-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Find 'ps' command using which() rather than invoking directly - should address Debian test errors due to not being able to 'ps' directly git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182965 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
c8ede814e63a7f01aa20c6b71c410b19100e4311 |
30-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Improve TestExitDuringStep to verify thread behaviour during step-over, step-in in addition to step-inst Patch by Brian Minard! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182961 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/exit_during_step/TestExitDuringStep.py
|
4f2353a3c264d45500293f38e21b623bf59b6117 |
30-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Disabling another watchpoint test with intermittent failure. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182952 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
df4ddd9f33b27b834310277eb1b95ef0fbd85b5d |
30-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Remove extraneous files from test directory. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182943 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/exit_during_break/main.d.23591
unctionalities/thread/exit_during_break/main.d.23604
unctionalities/thread/exit_during_break/main.d.23614
|
f3657f43a0d3e408402ef8c56d42fd391e955f57 |
30-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Fixing problems with thread create during step test. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182888 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/create_during_step/TestCreateDuringStep.py
|
17044a361bcf8673a8ae55264150fbdd4930e9fd |
30-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Disabling watchpoint test with intermittent failure. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182887 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
|
b36a909eddb26664b1e7c7d1d4fa7295e23bc22a |
29-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Refactors to provide two variants for evaluation of text_list: - The original test now passes on Linux with clang because a breakpoint is hit prior to evaluation of text_list, which improves text coverage. - The new test fails because 4 steps are requested, and only two occur prior to evaluation of text_list. --- Note that the loss of every second "next" command can be reproduced using lldb manually with this script. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182860 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp
|
4d162784c4912e545dab53d61851a19b8594a069 |
29-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Removing expected fail from another test that is now passing. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182815 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
|
4a3914dc5bd75ed0dc6644668411e76f37ac113b |
29-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Removing expected failures for watchpoint tests which are now passing. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182813 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
3bd2ebd670677dae45010bf53084ff85da7c6a5e |
29-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Adding support for stopping all threads of multithreaded inferiors on Linux. Also adding multithreaded test cases. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182809 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/break_after_join/Makefile
unctionalities/thread/break_after_join/TestBreakAfterJoin.py
unctionalities/thread/break_after_join/main.cpp
unctionalities/thread/create_during_step/Makefile
unctionalities/thread/create_during_step/TestCreateDuringStep.py
unctionalities/thread/create_during_step/main.cpp
unctionalities/thread/exit_during_break/Makefile
unctionalities/thread/exit_during_break/TestExitDuringBreak.py
unctionalities/thread/exit_during_break/main.cpp
unctionalities/thread/exit_during_break/main.d.23591
unctionalities/thread/exit_during_break/main.d.23604
unctionalities/thread/exit_during_break/main.d.23614
unctionalities/thread/exit_during_step/Makefile
unctionalities/thread/exit_during_step/TestExitDuringStep.py
unctionalities/thread/exit_during_step/main.cpp
unctionalities/thread/multi_break/Makefile
unctionalities/thread/multi_break/TestMultipleBreakpoints.py
unctionalities/thread/multi_break/main.cpp
unctionalities/thread/state/Makefile
unctionalities/thread/state/TestThreadStates.py
unctionalities/thread/thread_exit/Makefile
unctionalities/thread/thread_exit/TestThreadExit.py
unctionalities/thread/thread_exit/main.cpp
ldbtest.py
|
b50a2f360d56729c9b1082a45ec91faf7448a725 |
24-May-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed signed operations in the IR interpreter. Scalar now can make itself signed if needed. <rdar://problem/13977632> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182668 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/persistent_variables/TestPersistentVariables.py
|
e7872343f18b90e4134fb91a616b138ba6bd6b92 |
23-May-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed a bug where persistent variables did not live as long as they needed to. This led to equality tests involving persistent variables often failing or succeeding when they had no business doing so. To do this, I introduced the ability for a memory allocation to "leak" - that is, to persist in the process beyond the lifetime of the expression. Hand-declared persistent variables do this now. <rdar://problem/13956311> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182528 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/persistent_variables/TestPersistentVariables.py
xpression_command/persistent_variables/main.c
|
48b6bd16cb9de51e1c3145623da3987e8414066d |
22-May-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/13455021> Add test case to make sure we don't regress on fat files full of skinny BSD archives. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182440 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/fat_archives/Makefile
unctionalities/fat_archives/TestFatArchives.py
unctionalities/fat_archives/a.c
unctionalities/fat_archives/a.h
unctionalities/fat_archives/main.c
|
6f742d291c17607c98df40c9c46c0f65706ad49c |
22-May-2013 |
Greg Clayton <gclayton@apple.com> |
Quiet the new exec test case down so it doesn't spew debug prints. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182429 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/exec/TestExec.py
|
e3f9bfdfe3d09ef089f2aef3fb8701c8721f6f45 |
21-May-2013 |
Greg Clayton <gclayton@apple.com> |
Added a test case that verifies that LLDB can debug across a process exec'ing itself into a new program. This currently is only enabled for Darwin since we exec from 64 bit to 32 bit and vice versa for 'x86_64' targets. This can easily be adapted for linux and other platforms, but I didn't want to break any buildbots by assuming it will work. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182428 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/exec/Makefile
unctionalities/exec/TestExec.py
unctionalities/exec/main.cpp
|
bee8a95400b8cd67b1205f6e0bf913e2fbb312de |
17-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Avoided the use of two test decorators with xfail/xpass logic in the same test. - Used xfail and skip, temporarily, while resolving bugzilla #15671. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182159 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-assert/TestInferiorAssert.py
|
b7d46e3862df0b72b07abab13b96e7898ddd4a1e |
17-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Fix xpasses on the gcc buildbots using compiler versions to qualify the xfail. - Note that this is not correct, as the failure is associated with build options of libc.so, however it's failing on a Debian buildbot that uses gcc 4.6.2 (and the real goal is a complete backtrace even with -fomit-frame-pointer). - Adds helpers to lldbtest.py to check the expectedCompiler and expectedVersion, with an eventual goal of reducing the number of test decorators. --- Currently allows a comparison operator and a compiler version to be specified. --- Can be extended to support ranges of compiler versions. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182155 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-assert/TestInferiorAssert.py
ldbtest.py
|
473d0da535b10bee7341002407cc3efd108bf2f9 |
17-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Modifies the log directory to ensure that the log file will be found on tear-down (i.e. for CI agents that clean up artifacts aggressively). - Uses the cwd following the model of TestPublicAPIHeaders.py git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182116 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
5a7a23262e7f326162f4afd66ea494e9baa6bcb4 |
17-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Adds a test case for bugzilla #15671 patterned after TestInferiorCrashing.py. - On Linux, the partial back-trace after an assert can cause the basic test to fail as discussed on lldb-dev. - Uses SBFrame to walk up the stack to the assert site and tests expression evaluation of locals, globals and arguments. Thanks to Daniel for review and testing on OS/X. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182115 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-assert/Makefile
unctionalities/inferior-assert/TestInferiorAssert.py
unctionalities/inferior-assert/main.c
ldbtest.py
|
d968be79118d913ad07bcd5df49d505d39832d18 |
17-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Uses a helper to consistently verify the stop reason in all tests. - Also removes a redundant import statement. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182111 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/TestInferiorCrashing.py
|
b3080feae3dbd7f60bd58c62f2da2602676e03d8 |
17-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Updated TestAbbreviations to reflect the changed output in r182068. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182104 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
0086b94b7809b9fcdc77ce5bcca1e0e64bcfef76 |
16-May-2013 |
Jim Ingham <jingham@apple.com> |
Handle the case where there is a user breakpoint set at the location of one of our function call exception catching breakpoints. We need to force ourselves to stop in that case. <rdar://problem/13903801> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182056 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-throws/TestCallThatThrows.py
|
88b7778e2332be09af5a56a04c274b4132c142c5 |
16-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix Linux 'platform status' command. Its output is now closer to that on Mac OS X - resolves llvm.org/pr14806 Patch by Matthew Sorrels! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182030 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/platform/TestPlatformCommand.py
|
918ccd4ad2815390c25b033118d74790e6111e15 |
15-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Fixed an xpass due to r181841 on Linux with gcc. Note that the clang variant contains to xfail, and r181841 is a fix for the test. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181918 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
|
6bc4dcdfbcdfa455299d2123011b82a77351ee72 |
15-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Clean up linux test decorators and add links to known bugs - s/skipOnLinux/skipIfLinux/ to match style of every other decorator - linkify bugizilla/PR numbers in comments No intended change in functionality. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181913 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/call-restarts/TestCallThatRestarts.py
xpression_command/radar_9673664/TestExprHelpExamples.py
unctionalities/command_script/TestCommandScript.py
unctionalities/command_script/import/TestImport.py
unctionalities/completion/TestCompletion.py
unctionalities/conditional_break/TestConditionalBreak.py
unctionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
unctionalities/dead-strip/TestDeadStrip.py
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
unctionalities/inferior-crashing/TestInferiorCrashing.py
unctionalities/load_unload/TestLoadUnload.py
unctionalities/platform/TestPlatformCommand.py
unctionalities/register/TestRegisters.py
unctionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
unctionalities/stop-hook/TestStopHookMechanism.py
unctionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
unctionalities/thread/state/TestThreadStates.py
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
ang/c/const_variables/TestConstVariables.py
ang/c/stepping/TestStepAndBreakpoints.py
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/class_types/TestClassTypesDisassembly.py
ang/cpp/namespace/TestNamespace.py
inux/builtin_trap/TestBuiltinTrap.py
ldbtest.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/lldbutil/process/TestPrintStackTraces.py
ython_api/sbdata/TestSBData.py
ython_api/thread/TestThreadAPI.py
ython_api/value/change_values/TestChangeValueAPI.py
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
ab23045a1e93bee0fb5d6b135f64bcb141ba90b7 |
15-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Re-enable tests disabled due to llvm.org/pr14541 - "platform process list" command works on Linux now - "process attach -n" (attach to process by name also works on Linux now) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181905 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/platform/TestPlatformCommand.py
unctionalities/process_attach/TestProcessAttach.py
ython_api/hello_world/TestHelloWorld.py
|
716624bd20f712a13a55c69128bc354b1f897fc8 |
15-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Revert r181833: lldb prompt issue still occurs on buildbot (http://lab.llvm.org:8011/builders/lldb-x86_64-linux/builds/4124) - maybe consider checking in the 'good' version of libedit to avoid ancient system version git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181903 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
|
0440b1115c17608233595090148d02124d61d170 |
15-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Disable test case that causes assertion failure on Linux - filed llvm.org/pr16016 - fixed URL for llvm.org/pr16000 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181902 91177308-0d34-0410-b5e6-96231b3b80d8
pi/multithreaded/TestMultithreaded.py
|
bd58742be3a38e7f272765ae43dc3061d209dc06 |
15-May-2013 |
Jim Ingham <jingham@apple.com> |
Didn't mean to check in this change... git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181858 91177308-0d34-0410-b5e6-96231b3b80d8
pi/multithreaded/TestMultithreaded.py
|
ec8422471e8ed85c4f662075b9d9cdbe9f172f82 |
15-May-2013 |
Jim Ingham <jingham@apple.com> |
Need to add the LLDB.framework directory to the rpath for the driver programs or they won't run. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181857 91177308-0d34-0410-b5e6-96231b3b80d8
pi/multithreaded/TestMultithreaded.py
ldbtest.py
|
99d5e71b1fd1fb49237d1b12d65cc01b110858ef |
15-May-2013 |
Greg Clayton <gclayton@apple.com> |
Unbreak the linux buildbot tests. This still fails for the clang that is being used on linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181845 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
|
8467d899db43136c31e92e07b79294622b08d01e |
15-May-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed the test case to pass on Darwin. This might pass on linux as well. The test case now properly validates g_points as a global for the class A version, and the static variable for the file static. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181840 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
|
db7e5006ee42ee569ddc4a708dae0d9f095bdf30 |
14-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Remove XFAIL from tests affected by llvm.org/pr-14637 - unable to repro locally, much like many people commenting on the issue git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181833 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
|
0afb44021cfaa39fecf19b8f94be02c2f505c44b |
14-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix GCC buildbot failures in API/Multithreaded tests - fix typo initializing unique_ptr - add missing throw specifier to play nice with older libstdc++ exception class git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181831 91177308-0d34-0410-b5e6-96231b3b80d8
pi/multithreaded/common.h
pi/multithreaded/test_breakpoint_callback.cpp
|
156d8e04b9434923ab8e1bf9d3e81c0e71fccd36 |
14-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip C++ API/Multithreaded tests that are unsupported with Clang/libstdc++ - older versions of clang are unable to include <chrono> from libstdc++ - skipping tests until buildbots are updated git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181829 91177308-0d34-0410-b5e6-96231b3b80d8
pi/multithreaded/TestMultithreaded.py
ldbtest.py
|
d2771ed2249c645019b7b1e46bdd677d2ed1cfe1 |
14-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Adding C++ tests that drive LLDB from multiple threads - test_breakpoint_callback -- filed llvm.org/pr-16000 - test_listener_resume -- resume a process from a thread waiting on SBListener - test_listener_event_description -- SBEvent description from SBListener thread - test_listener_event_process -- query process/thread/stack info from SBListener thread git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181819 91177308-0d34-0410-b5e6-96231b3b80d8
pi/multithreaded/Makefile
pi/multithreaded/TestMultithreaded.py
pi/multithreaded/common.h
pi/multithreaded/driver.cpp
pi/multithreaded/inferior.cpp
pi/multithreaded/listener_test.cpp
pi/multithreaded/lldb-headers.h
pi/multithreaded/test_breakpoint_callback.cpp
pi/multithreaded/test_listener_event_description.cpp
pi/multithreaded/test_listener_event_process_state.cpp
pi/multithreaded/test_listener_resume.cpp
|
ba50856a9fdb0af8e4be8cde0a931f25e317c3b3 |
14-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Avoid $rax for 32-bit inferiors to fix a failing i386 test on the darwin buildbots. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181789 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
aa44e6863d0ef7982ddbc8621b4d3d30ff920d70 |
14-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Adding new test cases for inferior crashing. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181742 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/TestInferiorCrashing.py
|
ca23ca191b68bf6007d0f8d40837cf138028b862 |
14-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add expression tests for a function in an anonymous namespace. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181741 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/namespace/TestNamespace.py
ang/cpp/namespace/main.cpp
|
2e4c63baa530e1a1952e5e44f8f3c26580f27544 |
13-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Prevent convenience registers from being included in "read register" as they are derived registers. - Also refactors TestRegisters.py because test_convenience_registers_with_process_attach now fails with an assert. TODO: Cross-reference the skipOnLinux decorator with a bugzilla report after root-causing this issue. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181737 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
f1bc35d985f78b7b7ec67fdc094946858b7134f2 |
13-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Unset CFLAGS/CXXFLAGS when running tests via cmake/make check targets - should fix automatic tests set up on http://llvm-jenkins.debian.net - needed in order to make Debian package builds depend on passing test suite git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181736 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
akefile
|
8aa4acf696d76f9c71de63ea13b9953e2c3e42c4 |
13-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Cleanup test output when run via cmake/make check targets git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181735 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
de0201e8b6340994303dcd29526d633dcbca676e |
13-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Fixed expression evaluation with convenience registers. - Also improved test coverage for passing tests to include expr/x and a sanity check for $eax as the lower half of $rax. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181727 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
96641d89f901d4f7a1b601d56facf4149ba0b381 |
10-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add temporary fix for calling c++ global/anonymous functions on Linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181613 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
ang/cpp/call-function/TestCallCPPFunction.py
ang/cpp/overloaded-functions/TestOverloadedFunctions.py
|
1f85fa8c8611a175819009dd83e724b6788a6587 |
10-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Adding support for setting thread stop state when a process stops. This re-submission of this patch fixes a problem where the code sometimes caused a deadlock. The Process::SetPrivateState method was locking the Process::m_private_state variable and then later calling ThreadList::DidStop, which locks the ThreadList mutex. Other methods in ThreadList which were being called from other threads lock the ThreadList mutex and then call Process::GetPrivateState which locks the Process::m_private_state mutex. To avoid deadlocks, Process::SetPrivateState now locks the ThreadList mutex before locking the Process::m_private_state mutex. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181609 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/state/TestThreadStates.py
|
92e33e925aeae87b3f91d8ec6ca585a6d9e13bfb |
10-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Removed expectedFailureDarwin, and added a note about the disparity between the automated tests and testing at the lldb command-line. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181602 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/TestInferiorCrashing.py
|
80a1fa60bff6a7ff9b68c2d79bac2d1dfba132ed |
10-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Added an integration test to step through a crash and then test for globals, locals, arguments, registers and the back-trace. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181599 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/TestInferiorCrashing.py
unctionalities/inferior-crashing/main.c
|
c73fedb63ab170d711fb73d198451eb8db710e8d |
09-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Fixed "log enable linux registers" and added a test. - Eliminated the use of static for methods that read m_register_infos, so that these routines can be implemented in the base class. - Eliminated m_register_infos in the base class because this is not used when derived classes call UpdateRegisterInfo. - Also moved the namespace using declarations from headers to source files. Thanks to Daniel and Samuel for their review feedback. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181538 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
85e3c2f2f7e60a772f9fffa3fc42d46e493d198c |
09-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Revert r181482 as it causes occasional hangs in LLDB buildbots git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181526 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/state/TestThreadStates.py
|
23dfe46d3dfad11bcb8fa5c3616893d616b68298 |
09-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Skipping a test that asserts with gcc and icc to allow the test suite to run to completion on the gcc buildbot. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181512 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/anonymous/TestAnonymous.py
|
8c0c20a43f6231945d2d09d44df57f5516d681cb |
09-May-2013 |
Enrico Granata <egranata@apple.com> |
Changing the std::map test case to use source breakpoints instead of relying on the nexting always "getting it right" to stop at the locations of interest This should make us more robust in the face of changing compiler line tables and other library modifications git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181497 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp
|
2bbe7d5a4214688109024bbf8dab5d75c10c2316 |
09-May-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed the process attach by name test to get the target _after_ doing process attach. Otherwise the target isn't valid. This fixes 2 test suite failures on darwin. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181488 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_attach/TestProcessAttach.py
|
ba7354ccf18a677a81548bb4f3d8a034ef308c38 |
09-May-2013 |
Greg Clayton <gclayton@apple.com> |
Remove debug print statement. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181486 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
|
52e4391bf4239f770f856392869f652f5417f489 |
09-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Adding code to set thread state to stopped when the process stops. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181482 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/state/TestThreadStates.py
|
edeed2de0703606ef7d7a98c34e4059e505d0923 |
08-May-2013 |
Enrico Granata <egranata@apple.com> |
Test case added for importing packages git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181472 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/import/TestImport.py
unctionalities/command_script/import/thepackage/TPunitA.py
unctionalities/command_script/import/thepackage/TPunitB.py
unctionalities/command_script/import/thepackage/__init__.py
|
d1828c336c20c2f5fed25d1ed77e15d1224f51d0 |
08-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Mark multi-threaded watchpoint test as skip on Linux due to lldb assertions in the debian buildbot. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181454 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
|
afbb2f6d83eb42fa5ff4a48a455a80dfdb7dc6d2 |
08-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix assertion from previous fix for debian os watchpoints. Also mark one of the tests as expected fail on Linux due to the debian fix. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181448 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
|
015f7add7c98b53b12d17c77412778a90c2b451f |
08-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Adding test-case for llvm.org/pr15936 (known failure with GCC 4.6/4.7) - verify that backtraces for stacks that include functions which contain illegal instructions are correct, and that variables in said functions can be printed. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181442 91177308-0d34-0410-b5e6-96231b3b80d8
inux/builtin_trap/Makefile
inux/builtin_trap/TestBuiltinTrap.py
inux/builtin_trap/main.cpp
|
4cb32485ce16bbfb356b43611529ee1353d66d6c |
08-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix rdar-13338477 test-case for Linux. - Using __builtin_trap confuses the stack unwinder - __builtin_trap specific test will be added shortly git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181441 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-13338477/main.cpp
|
7c79a27b955432dfd3ad9439640f0af2eccf37b8 |
08-May-2013 |
Jim Ingham <jingham@apple.com> |
Figure out the reply to "PlanExplainsStop" once when we stop and then use the cached value. This fixes problems, for instance, with the StepRange plans, where they know that they explained the stop because they were at their "run to here" breakpoint, then deleted that breakpoint, so when they got asked again, doh! I had done this for a couple of plans in an ad hoc fashion, this just formalizes it. Also add a "ResumeRequested" in Process so that the code in the completion handlers can tell the ShouldStop logic they want to resume rather than just directly resuming. That allows us to handle resuming in a more controlled fashion. Also, SetPublicState can take a "restarted" flag, so that it doesn't drop the run lock when the target was immediately restarted. --This line, and those below , will be ignored-- M test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py M include/lldb/Target/ThreadList.h M include/lldb/Target/ThreadPlanStepOut.h M include/lldb/Target/Thread.h M include/lldb/Target/ThreadPlanBase.h M include/lldb/Target/ThreadPlanStepThrough.h M include/lldb/Target/ThreadPlanStepInstruction.h M include/lldb/Target/ThreadPlanStepInRange.h M include/lldb/Target/ThreadPlanStepOverBreakpoint.h M include/lldb/Target/ThreadPlanStepUntil.h M include/lldb/Target/StopInfo.h M include/lldb/Target/Process.h M include/lldb/Target/ThreadPlanRunToAddress.h M include/lldb/Target/ThreadPlan.h M include/lldb/Target/ThreadPlanCallFunction.h M include/lldb/Target/ThreadPlanStepOverRange.h M source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.h M source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp M source/Target/StopInfo.cpp M source/Target/Process.cpp M source/Target/ThreadPlanRunToAddress.cpp M source/Target/ThreadPlan.cpp M source/Target/ThreadPlanCallFunction.cpp M source/Target/ThreadPlanStepOverRange.cpp M source/Target/ThreadList.cpp M source/Target/ThreadPlanStepOut.cpp M source/Target/Thread.cpp M source/Target/ThreadPlanBase.cpp M source/Target/ThreadPlanStepThrough.cpp M source/Target/ThreadPlanStepInstruction.cpp M source/Target/ThreadPlanStepInRange.cpp M source/Target/ThreadPlanStepOverBreakpoint.cpp M source/Target/ThreadPlanStepUntil.cpp M lldb.xcodeproj/xcshareddata/xcschemes/Run Testsuite.xcscheme git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181381 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
|
6c1a8cfbb81ae38aee68f281b2af4010044cc00d |
08-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Adding support for process attach by pid on Linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181374 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/connect_remote/TestConnectRemote.py
unctionalities/process_attach/TestProcessAttach.py
|
3d4d51cd1bdef32ab61ba9e1de75d5a4f4c1dbed |
07-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add watchpoint support for Linux on 64-bit host. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181341 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
unctionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py
ldbtest.py
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/TestWatchpointIgnoreCount.py
ython_api/watchpoint/TestWatchpointIter.py
ython_api/watchpoint/condition/TestWatchpointConditionAPI.py
|
69d7c10e876db3b84c9cd914271441a9cf81ff6d |
07-May-2013 |
Enrico Granata <egranata@apple.com> |
Making it possible to specify a substring for a category name as long as the match is unique git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181281 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
15802aa44d6696f1cf140d8ff4cefec5eaface8d |
06-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix typo in C++11 flag for the GCC 4.6 code path: missing '-' git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181239 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
f9c47ac4149667367ae381515573fb90352529a6 |
04-May-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed a test suite typo error that caused the test to fail. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181069 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_attach/TestProcessAttach.py
|
52dd223e117b0d0b777ef2809e7d1b0d99b75dc6 |
03-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Adding test for non-API process attach git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180977 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_attach/Makefile
unctionalities/process_attach/TestProcessAttach.py
unctionalities/process_attach/main.c
|
be32d6d505baef5ea38789663c525e679ea0f82b |
03-May-2013 |
Greg Clayton <gclayton@apple.com> |
Mark TestConstVariables as expected to fail due to radar 13314878 on darwin. The tests are already skipped on linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180965 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/const_variables/TestConstVariables.py
|
beb7ac727eed7c762cdf2056a3b67b81b5c45b90 |
03-May-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/13788579> TestRegisters failing on buildbot on MacOSX. Some registers that were valid for linux/freebsd, were not valid on MacOSX. The tests now allow a register be skipped if it doesn't exist on the host. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180961 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
9c57067cd46455cf68e41c25a58c33ef529203c7 |
02-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix check_public_api_headers test on mac os x, and refactor some logic into lldbtest.py - moved build logic from Makefile and TestPublicAPIHeaders.py into lldbtest to allow reuse - added decorator @skipIfi386 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180955 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/Makefile
pi/check_public_api_headers/TestPublicAPIHeaders.py
ldbtest.py
|
ac874f9cd547aa5bfcc70d5e6ef3c3d63f275844 |
02-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Changing the test to use eax rather than rax for compatibility with i386. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180952 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/TestInferiorCrashing.py
|
efc7e55e58ee54ffda4b8d95add7918291236e80 |
02-May-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/13338477> clang sugarcoats expressions of the sort *(int (*)[3])foo where foo is an int* saying that their type class is Paren This checkin updates our lookup tables to properly desugar Paren into the actual type of interest git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180938 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-13338477/Makefile
unctionalities/data-formatter/rdar-13338477/Test-rdar-13338477.py
unctionalities/data-formatter/rdar-13338477/main.cpp
|
c3ba2bf99025cc3bdec5821ce44bb37b2de66d87 |
01-May-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Refactored convenience register tests to provide some coverage on Linux that is not marked xfail. - Also minor improvements to the comments and the expected results. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180876 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
d7bb1bae7972e0652ece0c029c3e18464fb06304 |
01-May-2013 |
Sean Callanan <scallanan@apple.com> |
TestCallCPPFunction is an expected failure on Linux; marking as such. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180832 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/call-function/TestCallCPPFunction.py
|
fb8abab7116d56be42b8aa44da012ca68807f390 |
01-May-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Refactoring thread state tests to show individual failures git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180828 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/state/TestThreadStates.py
unctionalities/thread/state/main.c
|
974e9fd76703d3d5febf76d5dc2d6e649ecec95d |
01-May-2013 |
Sean Callanan <scallanan@apple.com> |
Added a test case verifying that simple C++ functions can be called by basename. <rdar://problem/13709855> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180814 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/call-function/Makefile
ang/cpp/call-function/TestCallCPPFunction.py
ang/cpp/call-function/main.cpp
|
2921c36a96b2abcb4c6033f483bfb011052818d3 |
27-Apr-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed the anonymous testcase. It was testing access to 'z' where 'z' was not in scope. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180662 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/anonymous/TestAnonymous.py
|
d82c89ec3f9e5293bbb9677b2b98a5dd9dcdd323 |
26-Apr-2013 |
Daniel Malea <daniel.malea@intel.com> |
skip randomly failing test to avoid buildbot noise git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180636 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/change_values/TestChangeValueAPI.py
|
143d54397640c03366b1debbebcfc0afe91b0aab |
26-Apr-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Mark tests as expected fail for Linux due to not being able to call/print c++ demangled functions in the global namespace (bugzilla 15854). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180623 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
ang/cpp/overloaded-functions/TestOverloadedFunctions.py
|
1b3ac89c5faaf09e98447f497f884796e180cae9 |
26-Apr-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Removing invalid test cases from thread state test git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180613 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/state/TestThreadStates.py
|
66bd7d7ed3f05ea14fe0630726835ddeb2d07be7 |
25-Apr-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Adds 64-bit POSIX support for AVX - Adds unique enums for ymm registers to the ABI and the POSIX register context. - Reworks the register context data structures to support a union of FXSAVE and XSAVE --- Allows the same code base to deal with the FPU independent of the availability of AVX. - Determine if AVX is supported by attempting to read XSAVE using ptrace. --- Support an extended register set for avx registers if available. - Provide a mechanism to assemble/parse register halves into a single ymm buffer for use with RegisterValue. --- Reworked Read/WriteRegister routines to read/write/parse ymm registers. Adds tests for ymm register write with read-back, and expressions involving ymm registers. - Tests vary depending on the availability of an avx register set. Thanks to Daniel and Matt for their reviews. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180572 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
2dbfe86c0b186487aac732fcb9748a863d138ad0 |
24-Apr-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed IRForTarget to handle Objective-C messages sent to "super". <rdar://problem/13042260> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180217 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-super/Makefile
ang/objc/objc-super/TestObjCSuper.py
ang/objc/objc-super/class.m
|
e2172fd8191f1f6493a4388f7082bd2f2f43d67f |
24-Apr-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed expression parser handling of empty strings. <rdar://problem/12977827> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180215 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/strings/TestCStrings.py
|
967a99733b4246892250519bd4f14c8290c1988d |
24-Apr-2013 |
Sean Callanan <scallanan@apple.com> |
Added support for pulling Objective-C class symbols out of the runtime. This allows calling static methods on classes whose symbols have been stripped out of the binary. <rdar://problem/12042992> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180210 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-static-method-stripped/Makefile
ang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py
ang/objc/objc-static-method-stripped/static.m
|
79e7ad84e2b31baf22e05ab24aaa11b5e0f566a5 |
24-Apr-2013 |
Sean Callanan <scallanan@apple.com> |
Fixed a problem where the expression parser would not find multiple functions with the same name but different types. Now we keep track of what types we've already reported for a function and only elide functions if we've already reported a conflicting one. Also added a test case. <rdar://problem/11367837> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180167 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/overloaded-functions/Makefile
ang/cpp/overloaded-functions/TestOverloadedFunctions.py
ang/cpp/overloaded-functions/main.cpp
ang/cpp/overloaded-functions/static-a.cpp
ang/cpp/overloaded-functions/static-b.cpp
|
7b87e59a526b4ca68ae82a0c0c868acf266c168c |
24-Apr-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix missing module name in expectedFailure calls git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180158 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/state/TestThreadStates.py
|
23176afa5f9be537392e6f7ee9a8678f32830e1a |
23-Apr-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Adding basic test for thread state (See PR-15824) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180149 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/state/Makefile
unctionalities/thread/state/TestThreadStates.py
unctionalities/thread/state/main.c
|
538d3054100ed53ffc78f382296e35505f4aa946 |
23-Apr-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Added 64-bit POSIX support to write floating-point vector registers. - Includes tests that write, read and verify vector register content. Reviewed by: Daniel Malea git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180143 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
66cd2b51a3e5003e2692215277525f79bb86c55b |
23-Apr-2013 |
Enrico Granata <egranata@apple.com> |
The new ReadStringFromMemory() API does not work correctly with NSStrings that have an explicit length and no NULL terminator This checkin reverts NSString to the old behavior when appropriate, and cleans up the syntax to call the UTF Reader&Dumper function Incidentally, add a "-d" command-line flag to redo.py with the same semantics as "-d" in dotest.py git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180141 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
cbeb328db1c28067b642ae70dac635366eb02b32 |
23-Apr-2013 |
Enrico Granata <egranata@apple.com> |
Splitting the appkit data formatters test in smaller test cases - this should enable us to get a more detailed perspective on which individual data formatters are broken git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180128 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
f78bf6ca33e61022e61f17ce9fe226cf813e5baf |
23-Apr-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix CheckPublicAPIHeaders test case - LLDB C++ API requires C++11 - provide required -std=c++11 flag if none is specified git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180126 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/Makefile
|
c582bbf6dbdded9e6e7e2b63ff7312728e6c8cea |
23-Apr-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix linux argument completion with for "--" options (llvm.org/bugs/pr14425) Patch by Yacine Belkadi! When __GLIBC__ is defined, optind gets initialized to 0. So for the first parsed option, parse_start is 0, too. If this option has no argument (Like "--continue" of "process attach"), then the position stored is 0, instead of 1. This prevents the completion later on in Options::HandleOptionCompletion() because the opt_pos doesn't match the cursor_index. Fix that by getting the option's position from the value of optind, as it's done for the other types of options. Re-enable test_process_attach_dash_dash_con() on Linux. No regressions detected on Mac OS X (in TestCompletion.py) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180114 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
3a5c74d169ae862dfe4ca1d04717d952bfaa1d18 |
23-Apr-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Added 64-bit POSIX support to write general-purpose floating-point registers. - Includes tests that write, verify and restore floating-point register content using SBFrame. Reviewed by: Daniel Malea git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180111 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
0c5fa86b75ea266d1ad85d68d613da6f41e47b45 |
23-Apr-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Splits register_commands into a passing test on Linux (to improve test coverage), and a failing test for register expressions. Also factors out common setup code in preparation to add a few new tests. Reviewed by: Daniel Malea git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180109 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
14d09ee076ca8f5e56e249d813bee3ad2d180d26 |
19-Apr-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Improved tests for nested structs when anonymous structs are involved. - New tests can fail on OS/X and Linux, and illustrate that the compiler used to generate the DWARF can result in lldb providing clang with an external AST source that doesn't describe all required struct fields. - Also includes test coverage for expressions with structs that do work on Linux- Also includes a test for dereferencing a null pointer to a struct, which works on OS/X rather than complaining, and complains on Linux with an upstream error that is really a side issue. Thanks to Samuel, Andy and Daniel for their input. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179884 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/anonymous/TestAnonymous.py
ang/c/anonymous/main.c
|
4e7965ae9fb816aff4a1852035e78b58c1edfc54 |
19-Apr-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix (failing) test name reporting on buildbots - now print both test name and suite git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179870 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
c15fb8cd49dd876f992f7fa2d3984c0d93c17cf1 |
19-Apr-2013 |
Enrico Granata <egranata@apple.com> |
Adding a test case for the changes made to ValueObjects to use iteration instead of recursion for navigating to their root - beware: a regression here will most probably cause a crash instead of a failure git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179863 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/recursion/Makefile
unctionalities/recursion/TestValueObjectRecursion.py
unctionalities/recursion/main.cpp
|
347d722127cc6a19b077244305c3d350ea4ef80e |
19-Apr-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Provided a variant of ReadCStringFromMemory that supports null terminators of any character width. This prevents unbounded reads (i.e. reads of GetMaximumSizeOfStringSummary() bytes) from causing test failures (i.e. due to ptrace EIO or EFAULT on Linux). Note that ReadCStringFromMemory is marked as deprecated because the loop that calls ReadMemory does not continue until the string has been completely read. The expected behavior is to read until until max_bytes or a null terminator. Note: As discussed on lldb-dev, further testing will be performed with ReadStringFromMemory before further changes are made for users of ReadCStringFromMemory. Thanks to Enrico, Matt and Andy for their review feedback. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179857 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/char1632_t/TestChar1632T.py
ang/cpp/wchar_t/TestCxxWCharT.py
|
c1fe32293be3a8795febd5769e185ca7dba8b43d |
18-Apr-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Added unit tests for register read (should pass) and the expression interpreter (xfail) after the inferior has crashed. - Thanks to Samuel Jacob for the related reproducer. Reviewed by: Daniel Malea. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179788 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/TestInferiorCrashing.py
|
ab8e00e51475b9148626bfdf99549b7ffc3d046d |
13-Apr-2013 |
Sean Callanan <scallanan@apple.com> |
Added a SetData() method to ValueObject. This lets a ValueObject's contents be set from raw data. This has certain limitations (notably, registers can only be set to data that is as large as the register) but will be useful for the new Materializer. I also exposed this interface through SBValue. I have added a testcase that exercises various special cases of SBValue::SetData(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179437 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/set-data/Makefile
unctionalities/set-data/TestSetData.py
unctionalities/set-data/main.m
|
814c8135ab879d07ebbe69cc099c7181fe2b107c |
12-Apr-2013 |
Enrico Granata <egranata@apple.com> |
New test suite option (-T) When -T is specified, the test suite will call svn info and dump the output on screen (this used to be the default behavior) When -T is not specified, this step won't be performed (the new default) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179342 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
0ad929750b530c29de320bf188ec007b5cf5a12e |
12-Apr-2013 |
Enrico Granata <egranata@apple.com> |
When specifying a relative path for the --framework option to dotest.py, Python would end up being confused and unable to locate the embedded_interpreter module, causing every testcase that uses the Script Interpreter (e.g. functionalities/data-formatter/data-formatter-stl/libstdcpp) to fail without even trying This checkin fixes that problem by absolutizing the path before pushing it to the sys.path git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179341 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
9cd337e8a7ba14462ff64407aa631abad3d71f6e |
12-Apr-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/13558484> This makes the dynamic values test case work for both libc++ and libstdcpp git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179333 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestDynamicValue.py
|
f95fc9e09fa0a32de0a3904a1517266df37e8bff |
06-Apr-2013 |
Greg Clayton <gclayton@apple.com> |
Added support "__attribute__((__vector_size__(B)))" and "__attribute__((ext_vector_type(N)))". Now we can: 1 - see the return value for functions that return types that use the "ext_vector_size" 2 - dump values that use the vector attributes ("expr $ymm0") 3 - modified the DWARF parser to correctly parse GNU vector types from the DWARF by turning them into clang::Type::ExtVector types instead of just standard arrays git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178924 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/return-value/TestReturnValue.py
unctionalities/return-value/call-func.c
|
3e1a063982f09a5209f9c308e3b47d6c6d3dc5a1 |
03-Apr-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed the version test for darwin. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178595 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
00ebf2a9e5042fbf514c99a013e37de28a871fab |
02-Apr-2013 |
Greg Clayton <gclayton@apple.com> |
Fix test case to not run to main and "next" 5 times. Use a breakpoint. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178552 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/issue_11588/Test11588.py
xpression_command/issue_11588/main.cpp
|
dd03f0a4bf976e844f19dd0adc76c0bfa39470d3 |
01-Apr-2013 |
Daniel Malea <daniel.malea@intel.com> |
Avoid hang in attach-by-name test case - Check that process attach succeeded before attempting to WaitForProcessToStop (observed to cause hangs on Linux) - Update comment in TestHelloWorld case -- attaching by name still broken git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178491 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/hello_world/TestHelloWorld.py
|
ff03cbca506f9528a95b40d532f4d9cb4175ac4d |
30-Mar-2013 |
Enrico Granata <egranata@apple.com> |
Fixing Python commands test cases to work even after removing Printf (and using the new syntax for printing :-) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178389 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/import/bar/bar.py
unctionalities/command_script/import/foo/bar/foobar.py
unctionalities/command_script/import/foo/foo.py
unctionalities/command_script/import/foo/foo2.py
unctionalities/command_script/welcome.py
|
ce5a73b371238362897de073746140750963dc7e |
28-Mar-2013 |
Enrico Granata <egranata@apple.com> |
Making the buildbot happy again after changes to the default formatter for char[] git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178295 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
ang/c/array_types/TestArrayTypes.py
ang/c/strings/TestCStrings.py
|
0852cbb9660c92a448468a8ec7c39fb7245eca57 |
28-Mar-2013 |
Ashok Thirumurthi <ashok.thirumurthi@intel.com> |
Introduces extended register sets whose availability can vary with the target processor. - Includes a stub for AVX support in the x86-64 register context and a failing test for register sets that are unavailable. Thanks to Greg Clayton for his review feedback. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178252 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
944038ede7a3fd5db16deba31a479ef2c1f8e74d |
28-Mar-2013 |
Enrico Granata <egranata@apple.com> |
This test case was not doing the right thing with libc++ being used and was generating spurious over-completion warning flags git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178192 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/type_completion/TestTypeCompletion.py
|
76fb323611cb6a51b6a44f6d38d32bb284a6aef9 |
26-Mar-2013 |
Enrico Granata <egranata@apple.com> |
Checking that the wrong syntax does not give a correct summary after clearing the error messages here git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177949 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
|
d373fe06d7e7e9944870fe2699830e8d4aa9a15b |
25-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Fix the buildbot so a LLDB test doesn't fail looking for "<invalid usage of pointer value as object>". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177926 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
|
5cc975bbbe2c7192039a1097150e3f94c628882c |
25-Mar-2013 |
Enrico Granata <egranata@apple.com> |
These test cases fail on the buildbot - skip on Linux for now, will figure out why git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177879 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/TestCommandScript.py
unctionalities/command_script/import/TestImport.py
|
55f595f6ba542c37555257cf80672a4fd5f610fc |
19-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Mark TestChangeValueAPI.py as expected fail with gcc as it still reproduces. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177447 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/change_values/TestChangeValueAPI.py
|
166b89f089d6bec5bb9dd40470a4dc951ffc9daa |
19-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed incorrect python that was trying to validate that we got a valid lldb.SBThread object by checking to see if it is equal to "None". This test is incorrect as functions that return lldb.SBThread objects never return None, they just return lldb.SBThread objects that contain invalid opaque classes. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177416 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
ang/cpp/stl/TestSTL.py
ldbutil.py
ython_api/function_symbol/TestDisasmAPI.py
ython_api/function_symbol/TestSymbolAPI.py
ython_api/process/TestProcessAPI.py
ython_api/symbol-context/TestSymbolContext.py
ython_api/target/TestTargetAPI.py
ython_api/thread/TestThreadAPI.py
ython_api/type/TestTypeList.py
ython_api/value/TestValueAPI.py
ython_api/value/change_values/TestChangeValueAPI.py
ython_api/value/linked_list/TestValueAPILinkedList.py
|
bc8cdff66264ae984e60f34c640abc2e60bd2d5d |
15-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Rework TestChangedValueAPI.py to account for gcc setting multiple breakpoints. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177198 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/change_values/TestChangeValueAPI.py
ython_api/value/change_values/main.c
|
9ae0efc6acbfee1c04f5f8d14d6387ab3fe5881e |
15-Mar-2013 |
Jim Ingham <jingham@apple.com> |
Make the conditional break test case a little more robust. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177196 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/conditional_break/.lldb
unctionalities/conditional_break/TestConditionalBreak.py
unctionalities/conditional_break/conditional_break.py
|
711a5b14d8f75f7fa61dc31dc3b9dffae7fdf66b |
15-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix Makefile.rules where no icc is installed and -C gcc is used. Patch by Ashok Thirumurthi. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177192 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
57d4ab262f574ed1e1da955a7b6eb091156c343c |
15-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add icc support to the test suite -adds icc to the lit of compilers to run the tests -adds icc test decorators -skip TestAnonymous.py for icc Patch by Ashok Thirumurthi. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177174 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/anonymous/TestAnonymous.py
ldbtest.py
ake/Makefile.rules
|
f1c01a89a4cc66d5ef8177743368aa64ca88fd8f |
13-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Add braces to crashed test summary (needed for buildbots to detect crashes) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176980 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
e27cafba1267c53004486c8f4afa966e52ee49c8 |
13-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Remove extra whitespace git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176978 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
d76b889466e474883f7a65a117f23c28525a4220 |
13-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Prepend "FAIL:" string to tests that crash so that buildbots pick them up. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176974 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
2b606ab2881c4d09d2fa66f088b00c9d7de46964 |
13-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Minor LLDB test improvements - fix TestCPPBool (was failing with some versions of GCC due to num_breakpoint_locations) - speed up tests by skipping git/svn revision parsing by the test harness when running in lit-compatible (parsable) mode This should resolve the failures reported by http://lab.llvm.org:8011/builders/lldb-x86_64-linux git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176972 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ang/cpp/bool/TestCPPBool.py
|
b785a4cbe3dd01b25ebc873ff46a99d09a59bde7 |
07-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix enum_types test on Linux - Required flag "-std=c++11" needs to be set before including Makefile.rules git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176644 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/enum_types/Makefile
|
e1dd3e5262a74fd31db6c3ba62b0fb0af763dc2e |
07-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix issue that causes linux buildbots to ignore errors - change string "ERROR" to "FAIL" to match clang lit test results Also, make LLDB tests work on machines that do not have svn and/or git installed git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176633 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
ab3d87a7b31f12ee5298dc343d76b55cd6cdb3bb |
07-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix running of LLDB tests with cmake+ninja+ccache - Avoid passing 'ccache' as the test compiler. Instead, use first arg after ccache. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176596 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
d962c7ed3716bb33e144e849936f9e27f310de25 |
06-Mar-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Skipping TestConstVariables on Linux. The test was marked as expectedFailureLinux, but now it passes with gcc and some versions of clang. Newer versions of clang introduce a failure due to bad DWARF information. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176581 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/const_variables/TestConstVariables.py
|
0e8e6f2c79ecd8335d93f541a3b20a9276ba4684 |
06-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Added tests to test for "settings set" with trailing whitespaces after the values. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176579 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
d8d97f556ab58fae76d5c677d43a2d621bf039be |
06-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed enum printing for negative enums. There previously was no testing to validate that enum values were being displayed correctly. Also added C++11 enum test cases to cover enums as int8_t, int16_t int32_t, int64_t, uint8_t, uint16_t, uint32_t, and uint64_t both for DWARF and dSYM cases. The DWARF being emitted by clang is missing the enum integer type, but the code is now ready to accept and deal with the integral type if it is supplied. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176548 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/enum_types/TestEnumTypes.py
ang/c/enum_types/main.c
ang/cpp/enum_types/Makefile
ang/cpp/enum_types/TestCPP11EnumTypes.py
ang/cpp/enum_types/main.cpp
ang/cpp/rvalue-references/Makefile
|
48c6b3354d308f669a29f21db7037bc66317fb75 |
06-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed test suite errors due to new clang -v output. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176546 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/unique-types/TestUniqueTypes.py
ldbtest.py
|
8014368ef3f0d62c50e15856680b51cfaab860ea |
06-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Now that "settings set" will strip leading and trailing spaces, we need a way to be able to specify string values that contain spaces. So now settings setting <property> <value>" can have a <value> that is quoted: settings set prompt "(lldb2) " git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176545 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/abbreviation/change_prompt.lldb
|
0856107f22949a55dddc75ec569559b30f3e0248 |
05-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix Ninja LLDB build on Linux (via cmake -G Ninja) - resolved circular dependency issue by making liblldb depend directly on LLDBWrapPython.cpp - removed use of '..' for relative directories -- ninja doesn't like this - fixed build-order problem git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176517 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
9e0f5bee44b3a0606f7a1bda49e1920b9ec6ef41 |
05-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add support on POSIX to determine if an inferior has changed while debugging it. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176492 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-changed/TestInferiorChanged.py
|
dbd73cf5eb16e733b28e823554e1dacdba1ebd0b |
05-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Un-skipping tests affected by llvm.org/pr15256 patch by Ashok Thirumurthi! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176462 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/type_completion/TestTypeCompletion.py
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
ang/c/anonymous/TestAnonymous.py
ang/cpp/stl/TestSTL.py
ang/cpp/this/TestCPPThis.py
|
4a1c7c6a016d6d32c159af8e5e68d45e45ace2ce |
05-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix makefile and re-enable test disabled due to llvm.org/pr15256 - fix is: don't pass incompatible -stdlib option when building with GCC git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176460 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-skip-summary/Makefile
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
|
a5d313dd939db522d6d91b465dd79985e5373828 |
01-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Add a test case for static member variables - expected to fail across the board due to llvm.org/pr15401 Patch by Ashok Thirumurthi! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176362 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/static_members/Makefile
ang/cpp/static_members/TestCPPStaticMembers.py
ang/cpp/static_members/main.cpp
|
e1588aa2b67ea67a9e805ff83723cb3eea87af31 |
01-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Update TestCallStdStringFunction to expected fail for gcc and account for multiple breakpoint locations. Patch from Ashok Thirumurthi. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176357 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
|
137c4d7b3c76b29cb901d922ebd69eedc6a9ad96 |
01-Mar-2013 |
Daniel Malea <daniel.malea@intel.com> |
Finish up CMake support for LLDB (tested on Linux) - add missing scripts (driver, tests, etc...) - enable running of tests from cmake with "make check-lldb" target - fix up problem with clang dependencies (this enables parallel builds) - implement platform-specific FIXMEs in source/CMakeLists.txt git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176306 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
36451fab1f3785dbc9103559b9c440f15cc5d03e |
28-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
Replace all "-gdwarf-2" with "-g" to use the compiler defaults. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176283 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/Makefile
ang/c/const_variables/Makefile
ang/cpp/char1632_t/Makefile
ang/cpp/rdar12991846/Makefile
ang/cpp/stl/Makefile
ang/cpp/wchar_t/Makefile
ang/objc/objc-optimized/Makefile
ake/Makefile.rules
|
5e4adbf360b9008f896244e8a9c21de9e27111cd |
28-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
Fix the getCompilerVersion() function to do the right thing with clang 5.0 which now says "LLVM version" instead of "clang version". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176282 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
02901dcc1f2329b34555c7a6ba735a7606740fd3 |
28-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed an issue where the LDFLAGS were not correctly gettting modified to be additive. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176281 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/forward-decl/Makefile
|
3dd21ab440633e38ab898587f0e199f121d2b555 |
28-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Remove LLDB dependency on xcodeworkspace (on Linux) for version number - make LLDB version number match Clang (and the Debian package) - use the same revision detection magic that Clang uses to report SVN/Git revisions - update test case as per above Example output: $ lldb -v lldb version 3.3 (https://dmalea@llvm.org/svn/llvm-project/lldb/trunk revision 176211 clang revision 176208 llvm revision 176208) ss This line, and those below, will be ignored-- M source/lldb.cpp M test/help/TestHelp.py M source/Makefile git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176268 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
4f9103faba72fdfc4b4299d6d459bc820ee597b2 |
27-Feb-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add GNU indirect function support in expressions for Linux. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176206 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/strings/TestCStrings.py
|
54fcf68db861e90075f40b8d2ee082f04b22e8ad |
27-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Cleanup TestUniqueTypes.py and add getCompilerVersion() to test harness - pull up logic to get compiler version from TestUniqueTypes.py into lldbtest.py - work around an GCC 4.6.3 issue git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176190 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/unique-types/TestUniqueTypes.py
ldbtest.py
|
56e2c56b703f1deb039c44460c0af2af7a3cca6b |
27-Feb-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/13289828> Categories were conceptually meant to be placeable on test methods as well as test classes and test directories However, that was broken. This checkin fixes that. The incantation required to put categories on individual test case methods is not exactly elegant, unfortunately: def test_case(self): """Test me.""" self.do_it() def _test_case_get_categories(self): return ["demo"] test_case.getCategories = _test_case_get_categories del _test_case_get_categories git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176158 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
edc4ddbef15572e68a500bfb11ecfeaf60b90894 |
26-Feb-2013 |
Jim Ingham <jingham@apple.com> |
Mark a few more tests as "basic_process". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176132 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
unctionalities/load_unload/TestLoadUnload.py
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
ang/objc/objc-stepping/TestObjCStepping.py
|
60139f32db191a977a198ac07ee12e19d6d1071b |
26-Feb-2013 |
Jim Ingham <jingham@apple.com> |
Fix the .categories, it had "dataformatter" not "dataformatters". Remove the getCategory from TestDataFormatterObjC.py, since it was superceded by the .categories file, and didn't work anyway (getCategories currently has to be a method on the test class, not on the test.) Add a "basic_process" category, and start to find some tests for simple process running sniff tests. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176061 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
unctionalities/data-formatter/data-formatter-objc/.categories
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
ang/c/stepping/TestStepAndBreakpoints.py
|
9d6655160442b53e60a0ba8cd17d1ba391ed8e6e |
25-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip test that fails intermittently with Clang/GCC on Linux - was causing buildbot failures due to unexpected pass git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176048 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_9673664/TestExprHelpExamples.py
|
786e87320ab324ebc6f3885fb27a9f83770c51d6 |
23-Feb-2013 |
Enrico Granata <egranata@apple.com> |
This should get clang/gcc decorators working git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175946 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
4d82e973c42d78ac83bcd819329ca017f6dcabb5 |
23-Feb-2013 |
Enrico Granata <egranata@apple.com> |
Fixing issues in previous checkin - still figuring out how to make expectedFailureClang take the bugnumber git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175945 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
ldbtest.py
|
596ba5efb04182ef06f924d7256f0c5a31a651f3 |
23-Feb-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove no-op code (since r175842) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175944 91177308-0d34-0410-b5e6-96231b3b80d8
ogging/TestLogging.py
|
21416a1d09aad1e25401e54578c3343bb0f0c25f |
23-Feb-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12362092> The decorators @expectedFailure (plain and special-case like i386, clang, ...) are modified to optionally take a bugnumber argument If such an argument is specified, the failure report (or unexpected success report) will include the information passed in as part of the message This is mostly useful for associating failures to issue IDs in issue management systems (e.g. the LLVM bugzilla) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175942 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ang/objc/foundation/TestObjCMethods2.py
ldbtest.py
nittest2/case.py
nittest2/result.py
nittest2/runner.py
|
2df4d9f52c5c307f35d68a618414e20adf02dc46 |
22-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Mark last known Linux failure as XFAIL to see if there's any other problems with buildbots. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175917 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/const_variables/TestConstVariables.py
|
45fa511aeb31116f73a45d84c1c2d3a2200b2ce7 |
22-Feb-2013 |
Enrico Granata <egranata@apple.com> |
Fixing the watchpoint test case to reflect changes in error reporting git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175845 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
|
c29f0f3b6d85783bce2184e59be804aed548ea84 |
22-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Make the lldbtest tear down routine a little less error prone - replace "catch-all" except clause with one that specifically catches what pexpect throws - handle case where child is already terminated (or is terminating) by the time tear-down is run git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175844 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
ebb84448fecc49c50cd147095124ab96cc243f45 |
22-Feb-2013 |
Enrico Granata <egranata@apple.com> |
Ignore the check for com.apple.main-thread - it is not critical for the test case's logic git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175842 91177308-0d34-0410-b5e6-96231b3b80d8
ogging/TestLogging.py
|
dac068356f2be6e2becdac805697088b15e60c12 |
22-Feb-2013 |
Enrico Granata <egranata@apple.com> |
If the inferior program is compiled with libc++, you won't see libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175832 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
d9d3692db04b9d652d5d71bfc380a502589c594e |
22-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix TestPublicAPIHeaders test on machines that have [DY]LD_LIBRARY_PATH that must be preserved. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175822 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/TestPublicAPIHeaders.py
|
f5c74cddf19aee672fc14b592f61a569020c9e54 |
21-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Mark test as expected-to-fail with GCC because some versions emit DWARF that claims functions start at the line with the "{" character, whereas clang uses the first line with source code. As such, this test case will only work with clang. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175808 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inline-stepping/TestInlineStepping.py
|
d7470c205e4f159a4e16937d0e0d31c069df6270 |
21-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip another two test cases on Linux that are affected by llvm.org/pr14637 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175801 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
|
004ccb3fcca8c8004cb6cdb1f383b02e792a0452 |
21-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix CommandObjectMultiword to initialize all members, and beef up corresponding test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175798 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/TestCommandScript.py
|
32d7ee3d2969211e104a27fcfcd636f249b26559 |
21-Feb-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/4529976> Adding data formatters for iterators for std::map and std::vector (both libc++ and libstdcpp) This does not include reverse iterators since they are both trickier (due to requirements the standard imposes on them) and much less useful git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175787 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/iterator/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
unctionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp
unctionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/main.cpp
|
f2025c2431b557c52655fec7f9b204e578554cbb |
20-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Add logging of which test cases are run (through dosep) to help diagnose any hangs/crashes in the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175669 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
5d77077ea472885a75834387cc679a3203cf9aae |
20-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix invalid TestBitfields case (thanks Filipe!), and xfail one case due to GCC compiler bug. Turns out unnamed bit fields should not be accessed ever in C (C99 section 4.7.8) or C++ (C++11 section 9.6). Unrelated to the above, this commit marks TestBitfields as expected-to-fail with GCC as 4.7 has problems with padding... the size of the struct with a uint32_t member is reported as 12 when GCC is used. Clang emits correct code. Parts of this patch prepared by Filipe Cabecinhas! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175666 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/bitfields/TestBitfields.py
|
e2cc60eea81d4d1d037f675d6e59c5280ab123cb |
20-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip TestCompletion case that fails on linux (with gcc) because the input prompt is not displayed (llvm.org/pr14637) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175665 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
a964b09dd5fdcd00890cf65df6bf1aa931f1d11d |
20-Feb-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix TestPublicAPIHeaders test on Linux. -Change the build_dir variable name to lib_dir -Set lib_dir to the correct location on Linux -Set LD_EXTRAS to the actual lldb library git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175664 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/Makefile
pi/check_public_api_headers/TestPublicAPIHeaders.py
otest.py
|
24765573e1f52b45f789e5358fd56aab577e429b |
20-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix a bug that causes dotest.py to exit with a passing exit-code, even if some tests fail - occurs when multiple compilers/architectures are tested (via -C or -A flags) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175656 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
3e947331353b5fcadc7416beb48b9ccf0f558a47 |
20-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix a problem with the const_variables test case (another lldb bug remains) - make the test case step past the location where 'index' is initialized, otherwise its value cannot be printed (verified gcc 4.6/4.7 and recent clang) - "Couldn't materialize struct" error from LLDB still prevents this test case from passing git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175653 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/const_variables/TestConstVariables.py
|
75f260ab03aa7277b100e1bff477b13c6abacbb7 |
19-Feb-2013 |
Jim Ingham <jingham@apple.com> |
Make the progress bar opt in (using the -P option.) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175557 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
3ad56474f8fdd73b19d32cb253dcc788d0bfc0fc |
19-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
A few more GCC specific test fixes as per logged PRs: - TestNamespace expected to fail due to PR-15302 - TestCPPBool and TestUnsignedTypes updated to handle GCC style debug information - TestRvalueReferences expected fail due to GCC (4.7) not outputting rvalue-reference debug information - TestDataFormatterStdVBool expected to fail due to PR-15301 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175551 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
ang/cpp/bool/TestCPPBool.py
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/namespace/TestNamespace.py
ang/cpp/rvalue-references/TestRvalueReferences.py
ang/cpp/unsigned_types/TestUnsignedTypes.py
|
78a3dd2f635588a94f4e4cdbf94213e780eff090 |
19-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix Makefile bug preventing tests from running when building lldb with ccache git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175547 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
8b5c29d670643d4c7c1c54b4f866ee65544cc902 |
19-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Minor test runner improvemenst - rework the way SBDebugger.SetAsync() is used to avoid side effects (reset original value at TearDownHook) - refactor expectedFailureClang (and add expectedFailureGcc decorator) - mark TestChangeValueAPI.py as expectedFailureGcc due to PR-15039 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175523 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/TestCommandScript.py
ldbtest.py
ython_api/process/io/TestProcessIO.py
ython_api/value/change_values/TestChangeValueAPI.py
|
306f0616720374be33171f32ff92568964b843c1 |
19-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Update TestVBool Makefile to allow building test program with gcc - do not pass (incompatible option) -stdlib=libstdc++ option if using GCC as test compiler git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175522 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile
|
970f5c58fca8e9ce2daa6ec0e35e09af78204235 |
19-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Update Makefile to use build-compiler (CC) for LLDB testing - Should allow tests to run without 'clang' installed git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175521 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
b437786c44c29ad91efcc724fe53c764b69ffb77 |
19-Feb-2013 |
Enrico Granata <egranata@apple.com> |
NSWindows should only be created after you have an NSApplication git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175475 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/rdar-12408181/main.m
|
fa3a6706b42bddfece6f5ba96d82042c6494a912 |
19-Feb-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12529957> Synthetic children provider for NSSet git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175468 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-12529957/Makefile
unctionalities/data-formatter/rdar-12529957/TestRdar12529957.py
unctionalities/data-formatter/rdar-12529957/main.m
|
d3eb83791bf5fdfe60925766383950015d095919 |
16-Feb-2013 |
Filipe Cabecinhas <me@filcab.net> |
Include a small argparse compatibility layer for Python < 2.7 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175341 91177308-0d34-0410-b5e6-96231b3b80d8
rgparse_compat.py
otest.py
|
ea68753ef4b8cca81cf3f5aef7bbf1ebb152a832 |
16-Feb-2013 |
Enrico Granata <egranata@apple.com> |
NSSet formatter is now C++ code Split some NS* formatters in their own source files Refactored a utility function for the C++ formatters to use Fixed the skip-summary test case to be explicit about requiring libstdc++ for operation git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175323 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-skip-summary/Makefile
|
361eb4320ab96f29bc58973a30bc460e031c32a1 |
15-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Improve test harness for the buildbots - Add a "parsable" mode to dotest.py that outputs test results in exactly the same format as clang's lit tests - Improve dosep script to output list of failing tests (output should look like clang test failure summaries) - Cleanup lldb/test/Makefile to remove needless parameters and environment variables - Switch makefile tests to use parsable-mode output; should make the buildbot results parsable - Switch makefile tests to use dosep to log catch crashing tests (instead of halting the test suite) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175309 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
osep.ty
otest.py
|
960a6ea95f5dba6885577803f2fe43e637f45e8e |
15-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
More test case cleanup (Linux and Mac): - remove expectedFailure decorator from resolved rdar 12566646 and 10887661 - remove expectedFailure from TestBitfields testcase not actually affected by bug - skip the (non-deterministic) TestStopHookMechanism.py to avoid a noisy suite on Linux git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175307 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-10887661/TestRdar10887661.py
unctionalities/stop-hook/TestStopHookMechanism.py
ang/c/bitfields/TestBitfields.py
ang/c/struct_types/TestStructTypes.py
|
5c5f01bceb15145647726b369e947c617d4697e9 |
15-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix misuse of python subprocess module (caused "leaking" processes and garbling the terminal) - fixed cleanup of Popen objects by pushing spawn logic into test Base and out of test cases - connect subprocess stdin to PIPE (rather than the parent's STDIN) to fix silent terminal issue Tested on Linux and Mac OS X git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175301 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
ldbtest.py
ython_api/hello_world/TestHelloWorld.py
|
dcd2a561c052f302e9955f704bf46628d40ab2e0 |
15-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Linux test case cleanup: - Enable TestFormatters.py: expressions with "new" work - Enable TestChangeValueAPI.py: llvm.org/PR15039 fixed - Disable expression_command/call-restarts due to llvm.org/PR15278 - Disable expression_command/call-throws due to ObjC test program git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175287 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-restarts/TestCallThatRestarts.py
xpression_command/call-throws/TestCallThatThrows.py
xpression_command/formatters/TestFormatters.py
ython_api/value/change_values/TestChangeValueAPI.py
|
7721589ca4408ec6fbf66cbe1191a2bee7266782 |
15-Feb-2013 |
Enrico Granata <egranata@apple.com> |
Daniel Malea caught an issue where calling dotest.py with an invalid directory would cause the progressbar init code to raise an exception This commit fixes it git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175229 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
bec0330cedf739fed507281f35237f20b58e911e |
15-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix TestSBData.py test case (tested fix Linux/Mac) - stop ignoring the error-codes in the 'error' variable - removed out-of-bounds accesses with read-only array fields such as: self.assertTrue(data2.uint8[6] == 0, 'binary 0 terminator') Since SBData wraps a (6-character) python string literal, trying to read the null-terminator raises an exception. Instead, I replaced the out-of-bounds read with a length-check. Other out-of-bounds reads (via accessor function like SBData.GetUnsignedInt8) don't throw and are OK. I just added asserts that errors are set for these negative cases. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175223 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/sbdata/TestSBData.py
|
4b01c3657bc415b52284f6a0b1654642c649f5e3 |
14-Feb-2013 |
Jim Ingham <jingham@apple.com> |
Add a test for handling a function call that throws an exception, and make it work. <rdar://problem/13183944> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175127 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-throws/Makefile
xpression_command/call-throws/TestCallThatThrows.py
xpression_command/call-throws/call-throws.m
|
dae637a0ec16f87a2b70f47b599b0129f94ea4e0 |
14-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix broken testcase: ignore LLDB output that warns about more elements than can be displayed. - test could be re-written at some point, but right now just trying to clean up known failures for the linux buildbot. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175114 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/unique-types/TestUniqueTypes.py
|
d605bacf4c8963e23b913959d4a037633b47b79f |
14-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Marking two tests expected-to-fail on Linux - PR-15260: lldb does not display correct value of 1-bit field - PR-16261: lldb does not display size of (file/class) static array git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175111 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/bitfields/TestBitfields.py
ang/cpp/class_static/TestStaticVariables.py
|
23c29a1490bee032b41cac7f18f768edcfadce79 |
13-Feb-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Skip another two other tests asserting on Linux in RecordLayoutBuilder::updateExternalFieldOffset(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175103 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
|
d7d328f45f2fe7f7a3577e04bfd26a7dba06dce6 |
13-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip test that causes lldb to assert due to inferior getting a SIGSEGV with si_code == SI_KERNEL (PR-15258) - crash does not always reproduce git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175095 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
|
d288003f7ca875b1984858ead3f3397bd9c7997d |
13-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip tests that assert on Linux in RecordLayoutBuilder::updateExternalFieldOffset() - Filed bugzilla PR-15256 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175065 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/type_completion/TestTypeCompletion.py
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
ang/c/anonymous/TestAnonymous.py
ang/cpp/stl/TestSTL.py
ang/cpp/this/TestCPPThis.py
|
405ecbfdea16a073a11cc49d7e9a822e5509121b |
13-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Disable TestConditionalBreak.py due to Linux crash - test was passing before r174793... git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175064 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/conditional_break/TestConditionalBreak.py
|
c4392dc344eb0c850dae74948bf249691ad9eb41 |
11-Feb-2013 |
Jim Ingham <jingham@apple.com> |
Forgot to add the testsuite for the changes I checked in on Friday. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174897 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-restarts/Makefile
xpression_command/call-restarts/TestCallThatRestarts.py
xpression_command/call-restarts/lotta-signals.c
|
89e248f04ecb87d0df4a4b96158c3fac0a3e43c7 |
09-Feb-2013 |
Jim Ingham <jingham@apple.com> |
Reworked the way Process::RunThreadPlan and the ThreadPlanCallFunction interoperate to fix problems where hitting auto-continue signals while running a thread plan would cause us to lose control of the debug session. <rdar://problem/12993641> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174793 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/conditional_break/conditional_break.py
|
a182573e1a56ac5f68c0f0a38e6da906dc93b238 |
09-Feb-2013 |
Enrico Granata <egranata@apple.com> |
The new progress bar mode was losing us information compared to the old dots mode in that we would have no way of knowing about test failures (short of peeking into the test result directory.. and you're not supposed to peek!) Added a new line of information that reports the count of tests that pass, fail or have other things happen to them. Again no flag to have the dots back. If you care, let us know! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174784 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
rogress.py
nittest2/runner.py
|
bc0c5a6c53350736969f9e0c0a7a9d41742f54c9 |
09-Feb-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/13176279> The LLDB test suite now shows a progress bar instead of dots when not in verbose mode If you crave the dots, make your Terminal window smaller than 10 columns :-) (or ask for a flag to have the dots come back on demand) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174777 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
rogress.py
nittest2/runner.py
|
b85785cc7344a4cd6ec07397a447aa39495b22e8 |
08-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
Unset the environment variables as soon as possible when running the test suite. Also don't store the unset list into a global when they aren't needed in a global variable. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174750 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
2777b0100ad0c47054e9cd610d321121d8ddae86 |
06-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix bug in test harness to allow running dotest.py without "--executable" flag on Linux - resolves errors in cases that run the lldb CLI utility git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174522 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
240a2ccb72decac5a7eec6a8e4bc1b0a3ce507dd |
06-Feb-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix to build tests with GCC: update makefiles in two watchpoint testcases git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174520 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchlocation/Makefile
unctionalities/watchpoint/multiple_threads/Makefile
|
c0325a30ca3f86f4145482bf72707f8362b1398a |
06-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
Fixed the TestSourceManager.py test case to not fail. It was using the "list" alias which has now been turned into a regex command that mimics the GDB equivalent. Changed "list" to "source list" to get around this problem. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174474 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
e5ab51319c5650ede45fcef7132ac5c4248074cb |
05-Feb-2013 |
Enrico Granata <egranata@apple.com> |
Being explicit about which std c++ library these test cases need to use git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174437 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile
|
689696c19cbf0fa8a09e2461f0aaa37409782e3b |
04-Feb-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12953018> Synthetic children and summary for std::vector<bool> (for both libcxx and libstdcpp). std::vector<bool> is a special case and is custom-implemented to be a vector of bits, which means we failed to handle it with the standard std::vector<T> formatter. This checkin provides custom formatters that work correctly git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174333 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/vbool/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vbool/main.cpp
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/main.cpp
|
2ddb2b8aed6d43665c6955255f6a077574a08412 |
01-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/13092722> Fix in loading mach files from memory when using DynamicLoaderMacOSXDYLD. Removed the uuid mismatch warning that could be spit out and any time during debugging and removed the test case that was looking for that. Currently the "add-dsym" or "target symbols add" command will report an error when the UUID's don't match. Be more careful when checking and resolving section + offset addresses to make sure none of the base addresses are invalid. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174222 91177308-0d34-0410-b5e6-96231b3b80d8
arnings/uuid/TestUUIDMismatchWanring.py
|
dbf2fb0d760631d86ab93cc70c3bb05a4c514263 |
01-Feb-2013 |
Sean Callanan <scallanan@apple.com> |
Modified the expression parser's class wrapper to support reporting "this" as a templated class. The expression parser wraps expressions in C++ methods as methods with the signature $__lldb_class::$__lldb_expr(...) and previously responded to clang's queries about $__lldb_class with the type of *this. This didn't work if *this was a ClassTemplateSpecializationDecl because ClassTemplateSpecializationDecls can't be the result of simple name queries. Instead what we do now is respond that $__lldb_class is a typedef and that the target of the typedef is the (potentially templated) type of *this. That is much more robust. Thanks to John McCall for key insights. <rdar://problem/10987183> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174153 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/this/main.cpp
|
4ad049061813fdd19164cdc1bae552eb1a59200b |
29-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12890171> Providing a compact display mode for "po" to use where the convenience variable name and the pointer value are both hidden. This is for convenience when dealing with ObjC instances where the description often gets it right and the debugger-provided information is not useful to most people. If you need either of these, "expr" will still show them. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173748 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods2.py
|
f509c5ec066599a3399fced39ea36996184939e8 |
29-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12978143> Data formatters now cache themselves. This commit provides a new formatter cache mechanism. Upon resolving a formatter (summary or synthetic), LLDB remembers the resolution for later faster retrieval. Also moved the data formatters subsystem from the core to its own group and folder for easier management, and done some code reorganization. The ObjC runtime v1 now returns a class name if asked for the dynamic type of an object. This is required for formatters caching to work with the v1 runtime. Lastly, this commit disposes of the old hack where ValueObjects had to remember whether they were queried for formatters with their static or dynamic type. Now the ValueObjectDynamicValue class works well enough that we can use its dynamic value setting for the same purpose. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173728 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-12437442/TestRdar12437442.py
|
5eebe9455547f566a49baf682210d385e7a4ab7b |
25-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Disable confirmation prompts for testing - set auto-confirm to false when running TestExprs (avoid hang when using API) - set prompt-on-quit to false in test helper (avoid timeout when using lldb CLI) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173485 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
ldbtest.py
|
550a7e97901371160b73865fed37b9ec2b54c834 |
25-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Remove hardcoded -arch from lang/cpp testcase makefiles - skip rdar12991846 (already marked expected-fail) to avoid introducing a i386 crash git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173483 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/rdar12991846/Makefile
ang/cpp/rdar12991846/TestRdar12991846.py
ang/cpp/stl/Makefile
|
bca74e5949f4b79c563f5e9d6ebe11c17c024a78 |
25-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix indenting typo in TestSTL.py git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173470 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/TestSTL.py
|
87a5c11cf39eb6d1974a470694afb0c265f0221e |
25-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Update test scripts and Makefiles to allow testing with GCC: - introduce new variable ARCHFLAG in make/Makefile.rules to switch between "-arch" on Mac and "-m" everywhere else - update testcase makefiles to use LD_EXTRAS instead of LDFLAGS (the former interacts with Makefile.rules badly) - special treatment for gcc 4.6: replace "-std=c++11" with "-std=c++0x" as the former is not handled correctly - remove hardcoded "-arch" from test Makefile This patch should not have any effect on lldb on Mac OS X. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173402 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/stop-hook/multiple_threads/Makefile
unctionalities/thread/Makefile
unctionalities/watchpoint/watchpoint_set_command/Makefile
ang/c/const_variables/Makefile
ang/cpp/stl/TestSTL.py
ake/Makefile.rules
lugins/builder_base.py
ython_api/lldbutil/iter/Makefile
ython_api/lldbutil/process/Makefile
ython_api/module_section/Makefile
ython_api/watchpoint/watchlocation/Makefile
|
cd630e77e4236388ca7da8ba8c7565130b63a693 |
25-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Mark test cases affected by PR 15036 (GCC-generated DWARF causes parser crash) - Add new decorator "@skipIfGcc" to lldbtest.py git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173394 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
ang/c/anonymous/TestAnonymous.py
ang/cpp/this/TestCPPThis.py
ldbtest.py
|
9729189313bb2bbc894e1fdc624d20ac65157729 |
24-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Skip 32-bit testing of check_public_api_headers (on all platforms, not just Mac OS X) - since the test program needs to link with LLDB, the test is invalid in 32-bit mode. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173372 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/TestPublicAPIHeaders.py
|
0f9930b4f0604fd5c4c49480d01ea230eff66e3d |
24-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Marking test cases with @expectedFailureLinux as per recently opened bugs - PR 15038: missing wide char support on Linux - PR 14600 - Exception state registers not supported on Linux - PR 15039: SBProcess.GetSTDOUT() returns an empty buffer - PR 15037: stop-hooks sometimes fail to fire on Linux git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173363 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/stop-hook/TestStopHookMechanism.py
ang/cpp/char1632_t/TestChar1632T.py
ang/cpp/wchar_t/TestCxxWCharT.py
ython_api/lldbutil/iter/TestLLDBIterator.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/value/change_values/TestChangeValueAPI.py
|
4b6a267b4883ccfa6b6435025a7d282d36e21b77 |
24-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
PR14426 (breakpoint hit count incorrect) is resolved. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173362 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
|
1a469c75c0597abc2a9abdf86b624b2e71ea8650 |
23-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12711206> Extending ValueObjectDynamicValue so that it stores a TypeAndOrName instead of a TypeSP. This change allows us to reflect the notion that a ValueObject can have a dynamic type for which we have no debug information. Previously, we would coalesce that to the static type of the object, potentially losing relevant information or even getting it wrong. This fix ensures we can correctly report the class name for Cocoa objects whose types are hidden classes that we know nothing about (e.g. __NSArrayI for immutable arrays). As a side effect, our --show-types argument to frame variable no longer needs to append custom dynamic type information. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173216 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
|
6dca414f7c964176963cc14affe19e340f08a86b |
22-Jan-2013 |
Enrico Granata <egranata@apple.com> |
lldb.thread is not to be used anymore git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173119 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/mysto.py
|
288ddfedeb1946d68e467f342f600e9325060e51 |
19-Jan-2013 |
Sean Callanan <scallanan@apple.com> |
Extended LLDB to handle blocks capturing 'self' in an Objective-C class method. Before, errors of the form error: cannot find interface declaration for '$__lldb_objc_class' would appear when running any expression when the current frame is a block that captures 'self' from an Objective-C class method. <rdar://problem/12905561> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172880 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/blocks/TestObjCIvarsInBlocks.py
ang/objc/blocks/ivars-in-blocks.h
ang/objc/blocks/ivars-in-blocks.m
|
c6bdc75b993e8e16c0c035e3c6a59891568f03a4 |
18-Jan-2013 |
Sean Callanan <scallanan@apple.com> |
Made the expression handle variables with DW_AT_const_value instead of a location. Also added a testcase covering "frame variable," "expr" using the IR interpreter, and "expr" using the LLVM JIT. <rdar://problem/12978195> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172848 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/const_variables/Makefile
ang/c/const_variables/TestConstVariables.py
ang/c/const_variables/functions.c
ang/c/const_variables/main.c
|
287b4f4a8814360371444c8ec435d4476f90ea4f |
18-Jan-2013 |
Enrico Granata <egranata@apple.com> |
The wchar_t and char1632_t test cases were erroneously running as x86_64 only even if you tried to run them in i386 mode Courtesy of Daniel Malea for discovering this. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172764 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/char1632_t/Makefile
ang/cpp/wchar_t/Makefile
|
b794020ffbd6473c59a6e98be044df50abf7fc30 |
15-Jan-2013 |
Jim Ingham <jingham@apple.com> |
Separated the "expr --unwind-on-error" behavior into two parts, actual errors (i.e. crashes) which continue to be controlled by the --unwind-on-error flag, and --ignore-breakpoint which separately controls behavior when a called function hits a breakpoint. For breakpoints, we don't unwind, we either stop, or ignore the breakpoint, which makes more sense. Also make both these behaviors globally settable through "settings set". Also handle the case where a breakpoint command calls code that ends up re-hitting the breakpoint. We were recursing and crashing. Now we just stop without calling the second command. <rdar://problem/12986644> <rdar://problem/9119325> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172503 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
xpression_command/test/main.cpp
|
93bb806ad9ba3b0a35624e6039e8e3c8f95c6810 |
15-Jan-2013 |
Enrico Granata <egranata@apple.com> |
Adding a test case for expression parser's support for Unicode strings. This is an expected failure for now git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172493 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/rdar12991846/Makefile
ang/cpp/rdar12991846/TestRdar12991846.py
ang/cpp/rdar12991846/main.cpp
|
cd8cd61e7280b9c050a85ba29fa4d3b20737df3a |
15-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12790664> Single-character Unicode data formatters git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172492 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/char1632_t/TestChar1632T.py
ang/cpp/wchar_t/TestCxxWCharT.py
|
15c1d3d6773de8fc5600a80b0b666eadfa5672d8 |
12-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12239827> Making a summary for std::wstring as provided by libstdc++ along with a relevant test case git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172286 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp
|
b6985793ce97364e6fa86643b942326b218dcb3d |
12-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12239827> Providing a data formatter for libc++ std::wstring In the process, refactoring the std::string data formatter to be written in C++ so that commonalities between the two can be exploited Also, providing a new API on the ValueObject to navigate a hierarchy by index-path Lastly, an appropriate test case is included git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172282 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
unctionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp
|
3f4844e5ce44bb9d596357c9e7442d6a83037ed7 |
11-Jan-2013 |
Enrico Granata <egranata@apple.com> |
Making the Unicode formatters visually nicer by using the same prefix characters as the compiler expects in C++ code Also, marking the Unicode data formatters test cases as dataformatter related for the benefit for the --category flag in dotest.py git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172167 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/char1632_t/.categories
ang/cpp/char1632_t/TestChar1632T.py
ang/cpp/wchar_t/.categories
ang/cpp/wchar_t/TestCxxWCharT.py
|
06d58b0c68d98bfef948861e722789d7c7b1172c |
11-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11383764> Making a data formatter for wchar_t * git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172165 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/wchar_t/TestCxxWCharT.py
ang/cpp/wchar_t/main.cpp
|
f5545f966367811c36e2a3db2d82b1398b58c2c4 |
10-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12725746> Providing data formatters for char16_t* and char32_t* C++11-style Unicode strings Using this chance to refactor the UTF data reader used for data formatters for added generality Added a relevant test case git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172119 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/char1632_t/Makefile
ang/cpp/char1632_t/TestChar1632T.py
ang/cpp/char1632_t/main.cpp
|
f34feefb6fe62d79a8a261a716194e34f1c4b8bc |
10-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11146929> Enabling support for the wchar_t type. Without the proper language option setup, clang's ASTContexts will be configured to have wchar_t == int This patch enables the correct options to make sure that we report wchar_t as itself Added a test case to make sure we do not regress git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172038 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/wchar_t/Makefile
ang/cpp/wchar_t/TestCxxWCharT.py
ang/cpp/wchar_t/main.cpp
|
3a91e146f4e40ce9b44af3619551f6b6d9bb3b7f |
09-Jan-2013 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12028723> Adding useful formatting options to the expression (expr) command. As a side effect of this change, the -d option now supports the same three-values enumeration that frame variables uses (run, don't run, none) instead of a boolean like it did previously These options do not apply to print, p or po because these are aliased to not take any options. In order to use them, use expression or expr. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171993 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
xpression_command/issue_11588/Test11588.py
unctionalities/alias/TestAliases.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/rdar-12437442/TestRdar12437442.py
ang/c/forward/TestForwardDeclaration.py
ang/c/shared_lib/TestSharedLib.py
ang/c/strings/TestCStrings.py
ang/objc/foundation/TestObjCMethods2.py
ang/objc/rdar-11355592/TestRdar11355592.py
|
0e3b98e7de6d69613a9729bac9d4b965c0635698 |
09-Jan-2013 |
Jim Ingham <jingham@apple.com> |
Add an SBProcess API to get the current StopID, either considering or ignoring stops caused by expression evaluation. <rdar://problem/12968562> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171914 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/stepping/TestStepAndBreakpoints.py
ang/c/stepping/main.c
|
2976b65a7d5aeb7c80a1a2505251e02044e776a0 |
08-Jan-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add test to check the number of threads. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171869 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/thread/Makefile
unctionalities/thread/TestNumThreads.py
unctionalities/thread/main.c
|
a3eb5cd43a23f6b072177f6064acc7f16200634d |
08-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Enable ProcessGDBRemote plugin on Linux - Fixes test case TestConnectRemote git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171855 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/connect_remote/TestConnectRemote.py
|
1e44fddf7f0c75b275bea0d5a55b4be01240c01a |
08-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Implement -w flag to process launch (allow launching inferior process in different working directory) on Linux/FreeBSD - fixes test case TestProcessLaunch git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171854 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/TestProcessLaunch.py
|
2fcbf6e3d86ac0e6a95e11e5e232a9f72bd612d2 |
08-Jan-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12953853> Setting breakpoints using "breakpoint set --selector <SEL>" previously didn't when there was no dSYM file. Also fixed issues in the test suite that arose after fixing the bug. Also fixed the log channels to properly ref count the log streams using weak pointers to the streams. This fixes a test suite problem that would happen when you specified a full path to the compiler with the "--compiler" option. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171816 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/dead-strip/TestDeadStrip.py
ang/objc/foundation/TestFoundationDisassembly.py
ang/objc/foundation/TestObjCMethods.py
ldbutil.py
ogging/TestLogging.py
|
efdd469b33676e42115e4accd8819bdaba6b67cf |
07-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Re-enabling C++ exception breakpoint testcase (on Linux) - bug fixed in r170241, thanks Andy! - closing related PR 14423 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171794 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/exceptions/TestCPPExceptionBreakpoints.py
|
c62d140d1f6f5d7455488531f3bb1445b5022279 |
05-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Mark TestPlatformCommand (test_status) as expected to fail on Linux - due to bugzilla 14806 (platform status command prints more information on Mac OS X than on Linux) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171569 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/platform/TestPlatformCommand.py
|
21e32a6354ca6a318332e5e0b32d04c984a4708a |
05-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix lldb -P on Linux - now prints the correct PYTHONPATH - update dotest.py to use lldb -P result correctly - resolves TestPublicAPIHeaders test failure (on Linux) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171558 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
aec6b329fe4f96cd5a52d7a0cf54f74ae0d34e50 |
05-Jan-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Generalizing expected stop reason string checking in InferiorCrashing test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171554 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/TestInferiorCrashing.py
|
6ddebd7bd9125b514724c966772bbfe837763fdd |
04-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Mark TestExprHelpExamples.py as expected to fail on Linux - requires memory allocation during expression evaluation - opened related bugzilla 14805 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171547 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_9673664/TestExprHelpExamples.py
|
aadc7f7df57ab1883ca7aa0da792c57611f2f49f |
03-Jan-2013 |
Sean Callanan <scallanan@apple.com> |
Clang sometimes emits "objc_object*" rather than "id" for id types with protocols on them. We detect this and report "id" instead. Also added a testcase. <rdar://problem/12595644> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171431 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-property/TestObjCProperty.py
ang/objc/objc-property/main.m
|
aa93c931a4c1275b2fecec23ef34f231afda4773 |
21-Dec-2012 |
Jim Ingham <jingham@apple.com> |
Added an SBAPI to get the PythonPath (if the Host knows how to do that). And a -P option to the Driver to print it out. Changed dotest.py to use that to find the PythonPath it should use given the lldb binary it was told to run. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170932 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
b928eaa5cae4a6f90d5b7c449abd1bad4daee5bf |
21-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Updating TestAbbreviations.py to check for a reduced set of instructions when testing 'dis -f'. Not all of the expected instructions were being generated for the function being disassembled on x86-64-based Linux. It had no push, pop or leave. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170818 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
76d64853d78a497667623904a8ad387954b5a467 |
20-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Setting TestInferiorChanged.py to expectedFailureLinux because of bugzilla 14662. Note that the test actually fails before reaching the assertion described in that bug, but the failure is a trivial matter of adding OS-conditional expected stop reason strings (as noted by new comments in this patch). However, with the stop reason strings changed, the test fails for the more substantial reason noted in bugzilla 14662. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170619 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-changed/TestInferiorChanged.py
|
790c8690f120d55a28890bee6436d2d82e0647e0 |
20-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Mark register tests as expectedFailureLinux because of bugzilla reports 14600 and 14661. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170605 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
5ac8e153b1f434a200998862dd6d34b2bf119fbd |
20-Dec-2012 |
Daniel Malea <daniel.malea@intel.com> |
Disable confirmation prompt in TestProcessLaunch (to avoid hang on Linux once bug is fixed) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170603 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/TestProcessLaunch.py
|
282c22c6a6b6e54324b0d474b90d918bbfd3a10e |
20-Dec-2012 |
Sean Callanan <scallanan@apple.com> |
This patch removes the SymbolFileSymtab support for reporting class types from Objective-C runtime class symbols. Instead, LLDB now queries the Objective-C runtime for class types. We have also added a (minimal) Objective-C runtime type vendor for Objective-C runtime version 1, to prevent regressions when calling class methods in the V1 runtime. Other components of this fix include: - We search the Objective-C runtime in a few more places. - We enable enumeration of all members of Objective-C classes, which Clang does in certain circumstances. - SBTarget::FindFirstType and SBTarget::FindTypes now query the Objective-C runtime as needed. - I fixed several test cases. <rdar://problem/12885034> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170601 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-11988289/TestRdar 11988289.py
unctionalities/data-formatter/rdar-11988289/main.m
ang/objc/foundation/TestObjCMethods2.py
ython_api/type/TestTypeList.py
|
b3ce032bc514c40442929f5eb982584341dc8119 |
19-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Skip libc++ data formatter tests on Linux because there is no standard location for the makefile to find libc++. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170575 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
|
3a4e7856369e950679a6f2154a85cd183afb3475 |
19-Dec-2012 |
Daniel Malea <daniel.malea@intel.com> |
Test suite cleanup for Linux: mark test cases expected to fail due to open bugzillas - bugzillas covered: 14323, 14600, 14541, 14437, 14540, 14541 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170564 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
unctionalities/platform/TestPlatformCommand.py
unctionalities/register/TestRegisters.py
unctionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
ang/cpp/class_types/TestClassTypesDisassembly.py
ython_api/hello_world/TestHelloWorld.py
|
9c970a371511a0e31ba9360aa841d445792c1ab0 |
18-Dec-2012 |
Jim Ingham <jingham@apple.com> |
Adding events when watchpoints are set or changed. <rdar://problem/11597849> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170400 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_events/Makefile
unctionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py
unctionalities/watchpoint/watchpoint_events/main.c
|
329965139bb7a7d6cf9b0ec38845faaa834b8881 |
14-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Skipping the DeadStripTestCase.test_with_dwarf test on Linux because the Linux ld lacks support for the -dead_strip option. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170244 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/dead-strip/TestDeadStrip.py
|
0cbeb07a774e42d0be092a6613856788cd3134e7 |
14-Dec-2012 |
Sean Callanan <scallanan@apple.com> |
Made the struct test case actually use an expression instead of falling through to the "frame variable" code. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170169 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/struct_types/TestStructTypes.py
|
58b03a4a6c2cc68cf874efa25c76836084d5b080 |
14-Dec-2012 |
Enrico Granata <egranata@apple.com> |
Fixing the -f option so that one specify multiple filters, e.g. ./dotest.py -C clang --arch x86_64 --arch i386 -v -t -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f TestObjCBuiltinTypes.test_with_dwarf_and_python_api -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f -TestObjCBuiltinTypes.test_with_dwarf_and_python_api The previous implementation would only remember the last filter passed, and consequently break redo.py git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170163 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
3ce94041919b44e247c134663281acf3f696b094 |
14-Dec-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11689939> Supporting a compact display syntax for ObjC pointers where 0x00.....0 is replaced by a much more legible "nil" e.g. this would show: (NSArray *) $2 = nil instead of: (NSArray *) $2 = 0x0000000000000000 <nil> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170161 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
ang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
|
1d140f064903a86897234a40eadb8f8937b26e6b |
13-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Marking test_lldb_iter_frame in TestLLDBIterator.py as expectedFailureLinux (due to lack of multi-threaded debugging support). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170074 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/iter/TestLLDBIterator.py
|
3f4f8d37f3292af7293c20ce9889745f5a6f2645 |
13-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Marking TestPrintStackTraces.py as expectedFailureLinux (due to lack of multi-threaded debugging support). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170043 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/process/TestPrintStackTraces.py
|
f2ca573e8dc034ecc5050a874d8f01ace0703e18 |
12-Dec-2012 |
Jim Ingham <jingham@apple.com> |
Fixed a few bugs in the "step in" thread plan logic. Added a "step-in-target" flag to "thread step-in" so if you have something like: Process 28464 stopped * thread #1: tid = 0x1c03, function: main , stop reason = breakpoint 1.1 frame #0: 0x0000000100000e08 a.out`main at main.c:62 61 -> 62 int A6 = complex (a(4), b(5), c(6)); // Stop here to step targetting b and hitting breakpoint. 63 and you want to get into "complex" skipping a, b and c, you can do: (lldb) step -t complex Process 28464 stopped * thread #1: tid = 0x1c03, function: complex , stop reason = step in frame #0: 0x0000000100000d0d a.out`complex at main.c:44 41 42 int complex (int first, int second, int third) 43 { -> 44 return first + second + third; // Step in targetting complex should stop here 45 } 46 47 int main (int argc, char const *argv[]) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170008 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/stepping/TestStepAndBreakpoints.py
ang/c/stepping/main.c
|
992d227ab9ef1a8ffabc138fd515fb667556ae10 |
12-Dec-2012 |
Enrico Granata <egranata@apple.com> |
Option changes: the option to print the runtime-specific description has been modified in the frame variable, memory read and expression command. All three commands now support a --object-description option, with a shortcut of -O (uppercase letter o) This is a breaking change: frame variable used --objc as the long option name expression used -o as a shortcut memory read uses --objd as the long option name Hopefully, most users won't be affected by the change since people tend to access "expression --object-description" under the alias "po" which still works The test suite has been tweaked accordingly. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169961 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
ang/objc/foundation/TestObjCMethods.py
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
|
c92fded462447b410694cd1927432231d33f2a42 |
12-Dec-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12780507> Fix add-dsym ("target symbols add") to correctly add a dSYM file when the target arch doesn't match the arch of the module. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169952 91177308-0d34-0410-b5e6-96231b3b80d8
arnings/uuid/TestAddDsymCommand.py
|
729e99e4623c57c9adba85ae2e4372f1dd4bd1c3 |
11-Dec-2012 |
Enrico Granata <egranata@apple.com> |
Adding a validation callback mechanism to OptionValueString (such a feature might theoretically be added to the general OptionValue base class should the need arise) Using this mechanism, making sure that the options to pass a summary string or a named summary to frame variable do not have invalid values <rdar://problem/11576143> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169927 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
|
b31911838a69b0c0fe63e89f4d12f6efcc09bffb |
11-Dec-2012 |
Sean Callanan <scallanan@apple.com> |
Fixed the IRInterpreter's handling of "this" and "self" when those pointers are in registers. Previously in this case the IRInterpreter would handle them just as if the user had typed in "$rdi", which isn't safe because $rdi is passed in through the argument struct. Now we correctly break out all three cases (i.e., normal variables in registers, $reg, and this/self), and handle them in a way that's a little bit easier to read and change. This results in more accurate printing of "this" and "self" pointers all around. I have strengthened the optimized-code test case for Objective-C to ensure that we catch regressions in this area reliably in the future. <rdar://problem/12693963> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169924 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-optimized/TestObjcOptimized.py
|
e9101f2b27ab3f462e05dd59f4dc5b58fef81f0e |
11-Dec-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12709976> Adding a summary for NSError git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169792 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
691e74c60a50ef5f77b12e6934247c747ed2b232 |
07-Dec-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Fix Test11588.py on Linux. The test was failing because the synthetic type fields were resolving to int instead of long. A similar change was made in r155144 to eliminate the type specification for an earlier check in this test, so it seemed appropriate here too. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169615 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/issue_11588/Test11588.py
|
eddc95d59df352c3ea693285327534b0145a8782 |
06-Dec-2012 |
Jim Ingham <jingham@apple.com> |
Mark the "dwarf" version of the test expected fail as well as the dsym version. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169549 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/struct_types/TestStructTypes.py
|
b912457e1eb6f97d3ee3adc74d1e0f6393e35d3c |
06-Dec-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12560257> Fixed zero sized arrays to work correctly. This will only happen once we get a clang that emits correct debug info for zero sized arrays. For now I have marked the TestStructTypes.py as an expected failure. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169465 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/struct_types/TestStructTypes.py
ang/c/struct_types/main.c
|
48f833c33b8c2713e99139941ce3b3885883c4f0 |
06-Dec-2012 |
Sean Callanan <scallanan@apple.com> |
Rewrote the bitfield logic. Major changes include: - Removed the BitfieldMap class because it is unnecessary. We now just track the most recently added field. - Moved the code that calculates bitfield widths so it can also be used to determine whether it's necessary to insert anonymous fields. - Simplified the anonymous field calculation code into three cases (two of which are resolved identically). - Beefed up the bitfield testcase. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169449 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/bitfields/TestBitfields.py
ang/c/bitfields/main.c
|
1a18dedca383e96145ae69bfa67d26a7ff6ddba7 |
04-Dec-2012 |
Daniel Malea <daniel.malea@intel.com> |
Mark TestConnectRemote.py as expected to fail on Linux due to bugzilla #14427 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169295 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/connect_remote/TestConnectRemote.py
|
6475c42148a8ea1ca86e5db465db7eca742d897d |
04-Dec-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12798131> Cleaned up the option parsing code to always pass around the short options as integers. Previously we cast this down to "char" and lost some information. I recently added an assert that would detect duplicate short character options which was firing during the test suite. This fix does the following: - make sure all short options are treated as "int" - make sure that short options can be non-printable values when a short option is not required or when an option group is mixed into many commands and a short option is not desired - fix the help printing to "do the right thing" in all cases. Previously if there were duplicate short character options, it would just not emit help for the duplicates - fix option parsing when there are duplicates to parse options correctly. Previously the option parsing, when done for an OptionGroup, would just start parsing options incorrectly by omitting table entries and it would end up setting the wrong option value git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169189 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
unctionalities/data-formatter/rdar-11988289/TestRdar 11988289.py
unctionalities/data-formatter/rdar-12437442/TestRdar12437442.py
unctionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
ang/c/array_types/TestArrayTypes.py
ang/c/bitfields/TestBitfields.py
ang/c/forward/TestForwardDeclaration.py
ang/c/function_types/TestFunctionTypes.py
ang/c/global_variables/TestGlobalVariables.py
ang/c/set_values/TestSetValues.py
ang/cpp/class_types/TestClassTypes.py
ang/cpp/namespace/TestNamespace.py
ang/cpp/signed_types/TestSignedTypes.py
ang/cpp/unique-types/TestUniqueTypes.py
ang/cpp/unsigned_types/TestUnsignedTypes.py
ang/objc/foundation/TestObjCMethods.py
ang/objc/rdar-11355592/TestRdar11355592.py
ypes/AbstractBase.py
|
f5150e815f01da127bfbaedda7942928eaed3f92 |
27-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Mark expected failures on Linux (due to bugzilla #14437) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168727 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/formatters/TestFormatters.py
ang/c/stepping/TestStepAndBreakpoints.py
ang/c/strings/TestCStrings.py
|
7bf78a0df77cb21fc3e609b983bb43aaf103148d |
27-Nov-2012 |
Jim Ingham <jingham@apple.com> |
The skipOnLinux decorator wasn't calling the test method correctly (no need to pass in the "self") resulting in errors on MacOS X for the tests so decorated. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168662 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
99e8729597edabcc603fa41ccf8b80c1a8e58f4b |
26-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Improvement to TestGlobalVariables fix - use lldb settings command instead of os.environ - use dyldPath fixture variable instead of hardcoding LD_LIBRARY_PATH - add tear-down hook to restore environment after testcase is run git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168613 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/TestGlobalVariables.py
|
e5aa0d42b55ff6510888c737ef731f3fc1b54bb2 |
26-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Fix for TestSharedLib.py (on Linux) - use lldb 'settings' command to help testcase find shared library - pull up dyldPath variable from TestLoadUnload.py to fixture base class (applicable in multiple cases) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168612 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
ang/c/shared_lib/TestSharedLib.py
ldbtest.py
|
1565469cb10b1b870b4ea920297805e62d0e70e0 |
26-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Fix TestGlobalVariables.py (on Linux) - setting LD_LIBRARY_PATH required for the test program to run correctly git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168595 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/TestGlobalVariables.py
|
46a645f8194b19c83345ed20cfdcf583dac9755b |
23-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Skip objC test on non-darwin platforms git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168531 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
|
1ff1f2ef3e246d87633cd5e3155b36f98aeb6568 |
23-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Remove decorator to skip event tests - hang resolved in r168503 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168530 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
40c9d75f2f6402227fed4e0a25daf18b683cb5e7 |
23-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Update test status on Linux - add decorators @expectedFailLinux and @skipOnLinux - skip/mark xfail cases due to open bugzillas # 14323, 14416, 14423, 14424, 14425, 14426 Patch by Ashok Thirumurthi! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168529 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/completion/TestCompletion.py
unctionalities/load_unload/TestLoadUnload.py
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
ang/cpp/exceptions/TestCPPExceptionBreakpoints.py
ang/objc/blocks/TestObjCIvarsInBlocks.py
ang/objc/foundation/TestObjectDescriptionAPI.py
ang/objc/objc++/TestObjCXX.py
ang/objc/objc-checker/TestObjCCheckers.py
ang/objc/objc-class-method/TestObjCClassMethod.py
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
ang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
ang/objc/objc-property/TestObjCProperty.py
ang/objc/objc-static-method/TestObjCStaticMethod.py
ang/objc/objc-stepping/TestObjCStepping.py
ang/objc/self/TestObjCSelf.py
ldbtest.py
ython_api/thread/TestThreadAPI.py
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/TestWatchpointIgnoreCount.py
ython_api/watchpoint/TestWatchpointIter.py
ython_api/watchpoint/condition/TestWatchpointConditionAPI.py
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
bd316191d36ae90e0f2e9acfe995a96167111395 |
21-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Disable darwin-specific test on non-darwin platforms git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168454 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py
|
169cd51c9e085a2140c2b4f54f87c68f1cc4d859 |
21-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Linux test case fixes - missing includes in cpp test programs - mismatched dwarf/dsym test cases - make "com.apple.main-thread" expected string conditional on darwin platform git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168452 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
unctionalities/command_script/main.cpp
ang/cpp/stl/main.cpp
ogging/TestLogging.py
|
c676e354ced3231e1361b7788e22d787ccfff603 |
20-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Clear auto-confirm setting on teardown for tests that use it git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168382 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
c09b5c12fb22024aff9be90ad9106c4a27be9f62 |
20-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Use auto-confirm setting to avoid prompts causing some tests to appear to hang - this commit addresses bugzilla #14385 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168375 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
eec19819898fe77ef409e602de26571c8aec4e99 |
20-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Fix incorrect usage of buildDsym() in dwarf test git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168371 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
|
b810628ce124939304af0d725b4c7dafd885c127 |
20-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Skip dsym tests on Linux git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168370 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
7d5e4064d4b2860e1130c4391069c64303e8cfa3 |
19-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Temporarily skip tests known to hang on Linux - opened bugzilla defects #14384 and #14385 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168323 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
ython_api/event/TestEvents.py
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
3a11712925ca1038a1c8c8c8eef29ca4d5fd1c6f |
17-Nov-2012 |
Filipe Cabecinhas <me@filcab.net> |
Fix expected error message in test. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168220 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/import/rdar-12586188/TestRdar12586188.py
|
d27e543e9c5f81ef1288afbc9e48de2da5976a8a |
15-Nov-2012 |
Sean Callanan <scallanan@apple.com> |
In cases where the Objective-C ivar symbols are stripped out, expressions that refer to ivars will not work because Clang emits IR that refers to them to get the ivar offsets. However, it is possible to search the runtime for these values. I have added support for reading the relevant tables to the Objective-C runtime, and extended ClangExpressionDeclMap to query that information if and only if it doesn't find the symbols in the binary. Also added a testcase. <rdar://problem/12628122> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168018 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-ivar-stripped/Makefile
ang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
ang/objc/objc-ivar-stripped/main.m
|
2dd6d1c5f2dbfecce949faf2717d681ee5ba3f8a |
15-Nov-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12408181> Test case to make sure this area of ObjC support does not regress in the future git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168000 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/rdar-12408181/Makefile
ang/objc/rdar-12408181/TestRdar12408181.py
ang/objc/rdar-12408181/main.m
|
0a8d4bc1a6fe8cdb185cee06e1e2bb64d0f8c853 |
12-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Fix typo (dwarf/dsym mismatch) in testcase causing early failure on Linux git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167771 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/timeout/TestCallWithTimeout.py
|
0dd2fc716bf19f1bc87535a5bc613d5b17afeeab |
09-Nov-2012 |
Jason Molenda <jmolenda@apple.com> |
Patch from Dan Malea daniel.malea@gmail.com to add some required flags to the Linux makefiles to get the tests to run. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167600 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/expr-doesnt-deadlock/Makefile
unctionalities/stop-hook/multiple_threads/Makefile
unctionalities/watchpoint/hello_watchlocation/Makefile
unctionalities/watchpoint/multiple_threads/Makefile
unctionalities/watchpoint/watchpoint_set_command/Makefile
ang/c/blocks/Makefile
ang/c/shared_lib/Makefile
ython_api/lldbutil/iter/Makefile
ython_api/lldbutil/process/Makefile
ython_api/module_section/Makefile
ython_api/watchpoint/watchlocation/Makefile
|
c2ed5cc36a2aac7be58de8ce6b02707b28015cb9 |
06-Nov-2012 |
Greg Clayton <gclayton@apple.com> |
Added unnamed bitfields to our bitfield test. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167473 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/bitfields/TestBitfields.py
ang/c/bitfields/main.c
|
502000d088c505fee743213c7262a9442ae0d705 |
01-Nov-2012 |
Sean Callanan <scallanan@apple.com> |
Fixes to make the test suite work better when explicitly pointed at an LLDB framework and executable. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167250 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
f2b0fef6c754acd4f6a3d7cc5cc5f3ad9be98be7 |
01-Nov-2012 |
Filipe Cabecinhas <me@filcab.net> |
Makefile patches from Charles Davis and Daniel Malea (+ one or two tweaks). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167242 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
fd670c24e72a1425434020483689c3cb17f0d975 |
31-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12586188> Make ImportError a special case for "command script import", such that the error message for the exception becomes the error for the entire import operation and silence the backtrace printout In the process, refactor the Execute* commands in ScriptInterpreter to take an options object, and add a new setting to not mask out errors so that the callers can handle them directly instead of having the default behavior git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167067 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/import/rdar-12586188/Makefile
unctionalities/command_script/import/rdar-12586188/TestRdar12586188.py
unctionalities/command_script/import/rdar-12586188/fail12586188.py
unctionalities/command_script/import/rdar-12586188/fail212586188.py
|
c7f17c030eb0632a0bb1cd0ebf29900d6d97a902 |
31-Oct-2012 |
Jim Ingham <jingham@apple.com> |
Make blocks that capture their containing method's object pointer look like methods of the containing class so that direct ivar access will work in the expression parser. <rdar://problem/9797999> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167061 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/blocks/Makefile
ang/objc/blocks/TestObjCIvarsInBlocks.py
ang/objc/blocks/ivars-in-blocks.h
ang/objc/blocks/ivars-in-blocks.m
ang/objc/blocks/main.m
|
9d9b06382e438743fb3461f54257c58a776ea194 |
26-Oct-2012 |
Filipe Cabecinhas <me@filcab.net> |
Add a teardown function to TestAbbreviations so it doesn't error out when running for two archs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166740 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
0acf4c6de1540f316e0c2b1bae02a943dba655de |
25-Oct-2012 |
Sean Callanan <scallanan@apple.com> |
Added --framework and --executable arguments to dotest.py so that the testsuite can run against any LLDB. <rdar://problem/12512268> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166635 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
6319042722c6aee493695d4cb6bfaa39f144a15b |
25-Oct-2012 |
Enrico Granata <egranata@apple.com> |
Fixing the test case for rdar://12481949 to do the right thing with our new rules for sign-extension in GetValueAsUnsigned() git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166631 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/rdar-12481949/Test-rdar-12481949.py
|
fb6a8bb1f77f09f669996ba4fd743aa35536b837 |
24-Oct-2012 |
Enrico Granata <egranata@apple.com> |
And one more logging message goes away git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166628 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
03bc3fdfcadaeb9a3f9e7dcc686328c7b5e3387c |
24-Oct-2012 |
Enrico Granata <egranata@apple.com> |
Reverting unwanted changes to the test suite git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166627 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
ldbtest.py
|
671dd558650c457d54f124a58db91b0e26802399 |
24-Oct-2012 |
Enrico Granata <egranata@apple.com> |
Reverting the changes to Scalar since this class needs to follow C rules for type promotion git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166626 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
ldbtest.py
|
b2c1a4102e3bc13ac89d605fbe524d60daf5e5de |
24-Oct-2012 |
Greg Clayton <gclayton@apple.com> |
Patch from Ashok Thirumurthi that enabled FPU registers for POSIX x86_64. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166604 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
ldbtest.py
|
0fd6c8dc95068f9c05f4706bc97ff25bf75684a2 |
24-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12481949> Fixing SBValue.GetValueAsSigned() to do the right thing when dealing with a 32-bit negative value git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166603 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ython_api/rdar-12481949/Makefile
ython_api/rdar-12481949/Test-rdar-12481949.py
ython_api/rdar-12481949/main.cpp
|
251729ef30fde23e4b1256690fbb60962390e560 |
24-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12523238> Commit 3 of 3 Changed all relevant test cases to verify that MightHaveChildren() works correctly for objects of interest Added a bunch of convenience methods for test cases to use: target(), process(), thread() and frame() which mimic the lldb.X convenience variables As a bonus, edited the documentation on the website to describe the new method available for synthetic children providers writers to implement! That's all folks! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166535 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/data-formatter/rdar-11086338/TestRdar11086338.py
unctionalities/data-formatter/rdar-11988289/TestRdar 11988289.py
ldbtest.py
|
2d329243d1a41559699d2d4c1a42fb75b878ceb2 |
24-Oct-2012 |
Enrico Granata <egranata@apple.com> |
Better error message for invalid argument to --category - silenced the printout of the raw args when not in verbose mode git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166514 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
2bc5737be0c1aee9bfd4a1a5564118afeccb5bd5 |
24-Oct-2012 |
Sean Callanan <scallanan@apple.com> |
Added a testcase for runtime types in Objective-C. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166507 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestRuntimeTypes.py
|
9e376625d6354d77cd6240007f0d42034dd3f1ee |
23-Oct-2012 |
Jim Ingham <jingham@apple.com> |
Watchpoints remember the type of the expression or variable they were set with, and use it to print the old and new values. Temporarily disable the "out of scope" checking since it didn't work correctly, and was not what people generally expected watchpoints to be doing. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166472 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
|
01458ca40d79e33ee440e5d48dfdd92503f77dfe |
23-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12500212> Test case for the new plugin feature git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166453 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
unctionalities/plugins/commands/Makefile
unctionalities/plugins/commands/TestPluginCommands.py
unctionalities/plugins/commands/plugin.cpp
ldbtest.py
|
b8183d463ca7b2ba106f000d69cb99a50dbb20f8 |
23-Oct-2012 |
Sean Callanan <scallanan@apple.com> |
Added support for zero-length arrays at the end of structures, and added a testcase. <rdar://problem/12551591> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166450 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/struct_types/TestStructTypes.py
ang/c/struct_types/main.c
|
3d656c729a1ed0abad4e5a2d76f6e8a6904f66aa |
22-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12437442> Given our implementation of ValueObjects we could have a scenario where a ValueObject has a dynamic type of Foo* at one point, and then its dynamic type changes to Bar* If Bar* has synthetic children enabled, by the time we figure that out, our public API is already vending SBValues wrapping a DynamicVO, instead of a SyntheticVO and there was no trivial way for us to change the SP inside an SBValue on the fly This checkin reimplements SBValue in terms of a wrapper, ValueImpl, that allows this substitutions on-the-fly by overriding GetSP() to do The Right Thing (TM) As an additional bonus, GetNonSyntheticValue() now works, and we can get rid of the ForceDisableSyntheticChildren idiom in ScriptInterpreterPython Lastly, this checkin makes sure the synthetic VOs get the correct m_value and m_data from their parents (prevented summaries from working in some cases) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166426 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-12437442/Makefile
unctionalities/data-formatter/rdar-12437442/TestRdar12437442.py
unctionalities/data-formatter/rdar-12437442/main.m
|
0c8446cc220c429fb51f8f9864275c8b1c768533 |
18-Oct-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12462048> LLDB changes argv[0] when debugging a symlink. Now we have the notion of argv0 in the target settings: target.arg0 (string) = There is also the program argument that are separate from the first argument that have existed for a while: target.run-args (arguments) = When running "target create <exe>", we will place the untouched "<exe>" into target.arg0 to ensure when we run, we run with what the user typed. This has been added to the ProcessLaunchInfo and all other needed places so we always carry around the: - resolved executable path - argv0 - program args Some systems may not support separating argv0 from the resolved executable path and the ProcessLaunchInfo needs to carry all of this information along so that each platform can make that decision. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166137 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
683a97c06af8bf91172d84e43bb3e55ca059e652 |
18-Oct-2012 |
Sean Callanan <scallanan@apple.com> |
Added support for "bool", "true", and "false" to the expression parser (also wchar_t) and added a test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166131 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/bool/Makefile
ang/cpp/bool/TestCPPBool.py
ang/cpp/bool/main.cpp
|
75a443b04197d18c7034968e11ce831166df3703 |
17-Oct-2012 |
Greg Clayton <gclayton@apple.com> |
API cleanup. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166070 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/timeout/TestCallWithTimeout.py
|
47beabb1386be44e3f90dbc30a0b22c23b93a4dc |
16-Oct-2012 |
Jim Ingham <jingham@apple.com> |
Add the ability to set timeout & "run all threads" options both from the "expr" command and from the SB API's that evaluate expressions. <rdar://problem/12457211> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166062 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/timeout/Makefile
xpression_command/timeout/TestCallWithTimeout.py
xpression_command/timeout/wait-a-while.c
|
c2bc7944f7c2f10114426f447259a35acb0b1e18 |
16-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12446320> Fixing an issue with our Driver where setting an immediate output would not cause suppression of the final printout. This allows effective output redirection for Python commands git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166058 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/welcome.py
|
783ac95c2aeaeed69a508535c6e0951fd29a55c8 |
16-Oct-2012 |
Sean Callanan <scallanan@apple.com> |
If a full path to a compiler is provided on the command line to dotest.py, replace / with _ in the logfile names that mention that compiler so that we don't try to put log files in weird places. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166038 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
6bc24c10080b624a2782e6e42f683e5d65c6903c |
16-Oct-2012 |
Jim Ingham <jingham@apple.com> |
Patch from Matt Kopec <matt.kopec@intel.com> to fix the problem that if two breakpoints were set on consecutive addresses, the continue from the first breakpoint would skip the second. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166000 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/pass-to-base.cpp
|
6f01c93497df194b6f2194630a81e87d806ce0e0 |
12-Oct-2012 |
Jim Ingham <jingham@apple.com> |
Bunch of cleanups for warnings found by the llvm static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165808 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
8b40915ea9a1e6fb30af76bcdf0910b70295c8ac |
09-Oct-2012 |
Greg Clayton <gclayton@apple.com> |
Fixed the redo.py script to emit correct arch and compiler options after dotest.py was switched over to use argparse. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165507 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
2c56666dc5ab13b6299c0ef41439ded52bca5427 |
06-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12426557> Fixing the NSIndexSet data formatter git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165341 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/main.m
|
2753a024a5a314232baa579c0ada87551aa86988 |
05-Oct-2012 |
Jim Ingham <jingham@apple.com> |
Add one-shot breakpoints (-o option to "break set") and a tbreak alias for our gdb friends. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165328 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
ed94767bd7c2f055c50e205618abb66db21a05d0 |
05-Oct-2012 |
Jim Ingham <jingham@apple.com> |
Fix a test failure caused by checkin 165274. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165327 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
9abbfba957db139beed19866f61599424ddcd37a |
04-Oct-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12099592> Adding back a bunch of code-running summaries git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165186 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
d9d9463dc284de6cf848e758f9c2a23f3bc3c910 |
26-Sep-2012 |
Sean Callanan <scallanan@apple.com> |
Added support for the DebugClang configuration to the testsuite. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164723 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
f2d324c7d795b2c71e867ef0fc93703e94769933 |
24-Sep-2012 |
Sean Callanan <scallanan@apple.com> |
Made TestHiddenIvars an expected failure with "frame variable". "expr" finds hidden ivars correctly. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164558 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/hidden-ivars/TestHiddenIvars.py
|
30d863d098b1e7e496c3c6d62510069d44617863 |
24-Sep-2012 |
Jim Ingham <jingham@apple.com> |
Remove a couple of debugging printf's from the testsuite. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164544 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
57613985f9427579cd4919553858cdce5fa662e5 |
22-Sep-2012 |
Jim Ingham <jingham@apple.com> |
Missed a few places where I didn't delete the obsolete (commented out) version of the breakpoint creation. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164436 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
ang/objc/foundation/TestFoundationDisassembly.py
ang/objc/foundation/TestObjCMethods.py
ang/objc/foundation/TestObjCMethods2.py
|
431d839a33e9a274e705f7a268a1c9de2ffc2da2 |
22-Sep-2012 |
Jim Ingham <jingham@apple.com> |
Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly on the output of "break set". Please don't do this sort of thing!!!!! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164433 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/TestPublicAPIHeaders.py
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/call-function/main.cpp
xpression_command/formatters/TestFormatters.py
xpression_command/radar_9531204/TestPrintfAfterUp.py
xpression_command/radar_9673664/TestExprHelpExamples.py
xpression_command/test/TestExprs.py
xpression_command/test/TestExprs2.py
xpression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/abbreviation/TestCommonShortSpellings.py
unctionalities/alias/TestAliases.py
unctionalities/archives/TestBSDArchives.py
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
unctionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
unctionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
unctionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
unctionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-python-synth/main.cpp
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
unctionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py
unctionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py
unctionalities/data-formatter/rdar-10887661/TestRdar10887661.py
unctionalities/data-formatter/rdar-11086338/TestRdar11086338.py
unctionalities/data-formatter/rdar-11628688/TestFormattersBoolRefPtr.py
unctionalities/data-formatter/rdar-11773899/TestFormattersBoolRefPtr.py
unctionalities/data-formatter/rdar-11988289/TestRdar 11988289.py
unctionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
unctionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py
unctionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
unctionalities/dead-strip/TestDeadStrip.py
unctionalities/inferior-changed/TestInferiorChanged.py
unctionalities/load_unload/TestLoadUnload.py
unctionalities/memory/read/TestMemoryRead.py
unctionalities/non-overlapping-index-variable-i/TestIndexVariable.py
unctionalities/register/TestRegisters.py
unctionalities/signal/TestSendSignal.py
unctionalities/stop-hook/TestStopHookCmd.py
unctionalities/target_command/TestTargetCommand.py
unctionalities/type_completion/TestTypeCompletion.py
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
unctionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
ang/c/anonymous/TestAnonymous.py
ang/c/array_types/TestArrayTypes.py
ang/c/bitfields/TestBitfields.py
ang/c/blocks/TestBlocks.py
ang/c/enum_types/TestEnumTypes.py
ang/c/forward/TestForwardDeclaration.py
ang/c/function_types/TestFunctionTypes.py
ang/c/global_variables/TestGlobalVariables.py
ang/c/set_values/TestSetValues.py
ang/c/shared_lib/TestSharedLib.py
ang/c/shared_lib/main.c
ang/c/stepping/TestThreadStepping.py
ang/c/strings/TestCStrings.py
ang/c/struct_types/TestStructTypes.py
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/class_types/TestClassTypes.py
ang/cpp/class_types/TestClassTypesDisassembly.py
ang/cpp/namespace/TestNamespace.py
ang/cpp/rvalue-references/TestRvalueReferences.py
ang/cpp/signed_types/TestSignedTypes.py
ang/cpp/static_methods/TestCPPStaticMethods.py
ang/cpp/stl/TestSTL.py
ang/cpp/stl/TestStdCXXDisassembly.py
ang/cpp/this/TestCPPThis.py
ang/cpp/unique-types/TestUniqueTypes.py
ang/cpp/unsigned_types/TestUnsignedTypes.py
ang/cpp/virtual/TestVirtual.py
ang/objc/forward-decl/TestForwardDecl.py
ang/objc/foundation/TestConstStrings.py
ang/objc/foundation/TestFoundationDisassembly.py
ang/objc/foundation/TestObjCMethods.py
ang/objc/foundation/TestObjCMethods2.py
ang/objc/foundation/main.m
ang/objc/hidden-ivars/TestHiddenIvars.py
ang/objc/objc++/TestObjCXX.py
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
ang/objc/objc-optimized/TestObjcOptimized.py
ang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
ang/objc/rdar-10967107/TestRdar10967107.py
ang/objc/rdar-10967107/main.m
ang/objc/rdar-11355592/TestRdar11355592.py
ang/objc/rdar-11355592/main.m
ang/objc/real-definition/TestRealDefinition.py
ang/objc/self/TestObjCSelf.py
ldbtest.py
ldbutil.py
acosx/universal/TestUniversal.py
ython_api/formatters/TestFormattersSBAPI.py
ython_api/sbdata/TestSBData.py
ource-manager/TestSourceManager.py
ypes/AbstractBase.py
|
ac3a8e2b8f5df868f86921d7231bda6356a1366b |
21-Sep-2012 |
Enrico Granata <egranata@apple.com> |
Initial commit of a new testsuite feature: test categories. This feature allows us to group test cases into logical groups (categories), and to only run a subset of test cases based on these categories. Each test-case can have a new method getCategories(self): which returns a list of strings that are the categories to which the test case belongs. If a test-case does not provide its own categories, we will look for categories in the class that contains the test case. If that fails too, the default implementation looks for a .category file, which contains a comma separated list of strings. The test suite will recurse look for .categories up until the top level directory (which we guarantee will have an empty .category file). The driver dotest.py has a new --category <foo> option, which can be repeated, and specifies which categories of tests you want to run. (example: ./dotest.py --category objc --category expression) All tests that do not belong to any specified category will be skipped. Other filtering options still exist and should not interfere with category filtering. A few tests have been categorized. Feel free to categorize others, and to suggest new categories that we could want to use. All categories need to be validly defined in dotest.py, or the test suite will refuse to run when you use them as arguments to --category. In the end, failures will be reported on a per-category basis, as well as in the usual format. This is the very first stage of this feature. Feel free to chime in with ideas for improvements! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164403 91177308-0d34-0410-b5e6-96231b3b80d8
categories
ttic/tester.py
otest.py
xample/TestSequenceFunctions.py
xpression_command/.categories
unctionalities/completion/TestCompletion.py
unctionalities/data-formatter/.categories
unctionalities/data-formatter/data-formatter-objc/.categories
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/expr-doesnt-deadlock/.categories
unctionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
ang/objc/.categories
ldbtest.py
ython_api/.categories
|
951ebb9b80001273b3fd3ca15ac79e26b86fcb7d |
20-Sep-2012 |
Greg Clayton <gclayton@apple.com> |
Compile shared libraries with dSYM files when requested on darwin. Prior to this, we never had dSYM files for shared libraries unless it was a dylib only Makefile. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164322 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
ad4b16961d4e32c7243f29f33ab85b4c07bd4503 |
20-Sep-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12315386> Test suite to catch fragile base class ivar issues. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164321 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/hidden-ivars/InternalDefiner.h
ang/objc/hidden-ivars/InternalDefiner.m
ang/objc/hidden-ivars/Makefile
ang/objc/hidden-ivars/TestHiddenIvars.py
ang/objc/hidden-ivars/main.m
|
defd0dc9331fbc7c8d0df60acf7fe63a64e393f4 |
18-Sep-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12161825> Rephrase formatter for NSIndexSet in terms of indexes instead of objects git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164149 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py
|
3a08fd1ab40ac76a732836ee5b1b5aa23605f669 |
18-Sep-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11988289> Making C++ synthetic children provider for NSDictionary and related classes git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164144 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-11988289/Makefile
unctionalities/data-formatter/rdar-11988289/TestRdar 11988289.py
unctionalities/data-formatter/rdar-11988289/main.m
|
f91e78f58692785db4daecf8461481b95827dcf2 |
13-Sep-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11086338> Implementing support for synthetic children generated by running C++ code instead of Python scripts ; Adding a bunch of value-generating APIs to our private code layer ; Providing synthetic children for NSArray git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163818 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-11086338/Makefile
unctionalities/data-formatter/rdar-11086338/TestRdar11086338.py
unctionalities/data-formatter/rdar-11086338/main.m
|
a50897992b19bbd242ac4d7204095e9d5c4de756 |
12-Sep-2012 |
Filipe Cabecinhas <me@filcab.net> |
Make TestAddDsymCommand not fail since bundles were accepted as add-dsym arguments. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163712 91177308-0d34-0410-b5e6-96231b3b80d8
arnings/uuid/TestAddDsymCommand.py
|
69f834fc45d92c3edd5350a0a2c090952a981f67 |
11-Sep-2012 |
Jim Ingham <jingham@apple.com> |
Shortcut ThreadPlanStepRange::MischiefManaged - if we have pushed new plans and they are not done, then we aren't done either. <rdar://problem/12259124> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163572 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inline-stepping/TestInlineStepping.py
|
ed293ed0b89e692f4220952fc7fbc8824db63a61 |
08-Sep-2012 |
Jim Ingham <jingham@apple.com> |
A bunch of test cases for inlined stepping. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163436 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inline-stepping/Makefile
unctionalities/inline-stepping/TestInlineStepping.py
unctionalities/inline-stepping/calling.cpp
|
ae2ae94bd72daf435204e99a0e03ccc64470a843 |
04-Sep-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163155 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
4793e94ba92a5959e1c6afd987a38c08d3e6b755 |
04-Sep-2012 |
Greg Clayton <gclayton@apple.com> |
Patch from Filipe Cabecinhas that uses argparse in dotest.py instead of a hand coded option. I made a few modifications: Changed the '-A' option to also have a long option of '--arch'. This is now specified multiple times to get multiple architectures. Old: -A i386^x86_64 New: -A i386 -A x86_64 --arch i386 --arch x86_64 Changed the '-C' option to also have a long option of '--compiler'. This is now specified multiple times to get multiple compiler. Old: -C clang^gcc New: -C clang -C gcc --compiler clang --compiler gcc git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163141 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
49ce8969d3154e1560106cfe530444c09410f217 |
29-Aug-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/11757916> Make breakpoint setting by file and line much more efficient by only looking for inlined breakpoint locations if we are setting a breakpoint in anything but a source implementation file. Implementing this complex for a many reasons. Turns out that parsing compile units lazily had some issues with respect to how we need to do things with DWARF in .o files. So the fixes in the checkin for this makes these changes: - Add a new setting called "target.inline-breakpoint-strategy" which can be set to "never", "always", or "headers". "never" will never try and set any inlined breakpoints (fastest). "always" always looks for inlined breakpoint locations (slowest, but most accurate). "headers", which is the default setting, will only look for inlined breakpoint locations if the breakpoint is set in what are consudered to be header files, which is realy defined as "not in an implementation source file". - modify the breakpoint setting by file and line to check the current "target.inline-breakpoint-strategy" setting and act accordingly - Modify compile units to be able to get their language and other info lazily. This allows us to create compile units from the debug map and not have to fill all of the details in, and then lazily discover this information as we go on debuggging. This is needed to avoid parsing all .o files when setting breakpoints in implementation only files (no inlines). Otherwise we would need to parse the .o file, the object file (mach-o in our case) and the symbol file (DWARF in the object file) just to see what the compile unit was. - modify the "SymbolFileDWARFDebugMap" to subclass lldb_private::Module so that the virtual "GetObjectFile()" and "GetSymbolVendor()" functions can be intercepted when the .o file contenst are later lazilly needed. Prior to this fix, when we first instantiated the "SymbolFileDWARFDebugMap" class, we would also make modules, object files and symbol files for every .o file in the debug map because we needed to fix up the sections in the .o files with information that is in the executable debug map. Now we lazily do this in the DebugMapModule::GetObjectFile() Cleaned up header includes a bit as well. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162860 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
ypes/AbstractBase.py
|
43898d79d2a13db64095fcb81bcaf66e7f8de624 |
25-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
Added SBDebugger's log callbacks to Python-land - Tweaked a parameter name in SBDebugger.h so my typemap will catch it; - Added a SBDebugger.Create(bool, callback, baton) to the swig interface; - Added SBDebugger.SetLoggingCallback to the swig interface; - Added a callback utility function for log callbacks; - Guard against Py_None on both callback utility functions; - Added a FIXME to the SBDebugger API test; - Added a __del__() stub for SBDebugger. We need to be able to get both the log callback and baton from an SBDebugger if we want to protect against memory leaks (or make the user responsible for holding another reference to the callback). Additionally, it's impossible to revert from a callback-backed log mechanism to a file-backed log mechanism. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162633 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/debugger/TestDebuggerAPI.py
|
a47e44b447750f33bff81995f41c4051fc699409 |
24-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11811338 Add 'attach <pid>|<process-name>' command to lldb, as well as 'detach' which is an alias of 'process detach'. Add two completion test cases for "attach" and "detach". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162573 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
11595f576a62a3c65f26113dfa06c72f768ad291 |
24-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Take '--help' as well as '-h' as hint to emit the usage output. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162502 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
258db3ab3d02fc013f8674f3c20007c1e86b503d |
24-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Cope with the case where the user-supplied callbacks want the watchpoint itself to be disabled! Previously we put a WatchpointSentry object within StopInfo.cpp to disable-and-then-enable the watchpoint itself while we are performing the actions associated with the triggered watchpoint, which can cause the user-initiated watchpoint disabling action to be negated. Add a test case to verify that a watchpoint can be disabled during the callbacks. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162483 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
|
5787f42c1bc0ff106665942c69ed2359ddde6641 |
23-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Make the substring un-matching more robust. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162467 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
806cfa2d88182066be64797d6790c5a8c441484c |
23-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Make a test scenario stronger, since, by default, the setting interpreter.expand-regex-aliases is false. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162465 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
473481bea9ca860c37015943ac831bc341557e1f |
23-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix the test suite failures as a result of r162418 check-in. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162462 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/abbreviation/TestCommonShortSpellings.py
|
58edac307c3c3c60db52a491c101b6565b9b234f |
23-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/12022371 Make it so that "b 245" should set a breakpoint at line 245 of the current file. Also add a simple test file. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162419 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
|
8c130645ee61963440ce2113233e2b3bd78683e5 |
22-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong directory pathname. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162372 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
73844aa19a7360b662e2be710fc3c969d6c86606 |
22-Aug-2012 |
Greg Clayton <gclayton@apple.com> |
Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: - no setting auto completion - very manual and error prone way of getting/setting variables - tons of code duplication - useless instance names for processes, threads Now settings can easily be defined like option values. The new settings makes use of the "OptionValue" classes so we can re-use the option value code that we use to set settings in command options. No more instances, just "does the right thing". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162366 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/completion/TestCompletion.py
unctionalities/stop-hook/TestStopHookCmd.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
elp/TestHelp.py
ettings/TestSettings.py
|
ee188ee51195fb9868b7b4a4ee6c8b8e31c83f5e |
22-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
Added a test for the Python part of SBInputReader callbacks. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162357 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/input_reader/Makefile
ython_api/input_reader/TestInputReaderCallback.py
ython_api/input_reader/main.c
|
55ea73dd3d635d1ff374c809eac2f9581c1fb37b |
22-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
Added a typemap and wrappers for SBInputReader callbacks Now it's possible to use SBInputReader callbacks in Python. We leak the callback object, unfortunately. A __del__ method can be added to SBInputReader, but we have no way to check the callback function that is on the reader. So we can't call Py_DECREF on it when we have our PythonCallback function. One way to do it is to assume that reified SBInputReaders always have a Python callback (and always call Py_DECREF). Another one is to add methods or properties to SBInputReader (or make the m_callback_function property public). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162356 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_inputreader.py
|
9262cd52e254fb261334254a80a1b316d59b555c |
22-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11324515 'add-dsym' (aka 'target symbols add') should display error messages when dsym file is not found or the dsym uuid does not match any existing modules. Add TestAddDsymCommand.py test file. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162332 91177308-0d34-0410-b5e6-96231b3b80d8
arnings/uuid/TestAddDsymCommand.py
|
018f2e73fbada15e60930e683fb3b679eef88c7b |
21-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Comment change. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162308 91177308-0d34-0410-b5e6-96231b3b80d8
arnings/uuid/TestUUIDMismatchWanring.py
|
9c50f830d9ed3c4ba7aaacc9b695a5b176f7b885 |
21-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix the wrong comment in TestUUIDMismatchWarnings.py. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162239 91177308-0d34-0410-b5e6-96231b3b80d8
lugins/builder_base.py
arnings/uuid/TestUUIDMismatchWanring.py
|
16742a69d9f33a168d91d992a2844279366bcf90 |
20-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix a crash (_wrap_SBDebugger_SetInputFileHandle -> PyString_AsString) running the test suite. Also modify the boundary condition test case SBDebugger.DispatchInput(None) to be wrapped inside a try-except clause for now. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162228 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_debugger.py
|
f590be8aaa0aba484d828019111d61dff33b273e |
20-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
A baton isn't needed to dispatch input. I also added a typemap to make DispatchInput usable in Python. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162204 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_debugger.py
|
a73ad66a4ee96ccc8e6be4a645cd6b9180a72e4b |
16-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Catch timestamps for the beginning and end of the test suite run. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162040 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
6c061beb3f9b60380b9638a4eacb3bc46ad38fc5 |
16-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/12096295 Add an lldb command line option to specify a core file: --core/-c. For consistency, change the "target create" command to also use --core. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161993 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
0b09366e83f256920bb55ec7488cb58dfa85ab6b |
14-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
When trying to take snapshots of a watched variable, if the frame is unable to evaluate the variable expression, do not take the sanpshot and forget about the stop info. It is possible that the variable expression has gone out of scope, we'll revise the hit count due to the false alarms. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161892 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/variable_out_of_scope/Makefile
unctionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
unctionalities/watchpoint/variable_out_of_scope/main.c
|
2f7fd49190646e3e9bf603a142f64573b8666e0c |
14-Aug-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11589605> Making a 'type category enable *' command to match 'type category disable *' git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161882 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
|
c9c2a9b1c36e54220369c37cd8d859ed423d5b59 |
14-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the "Watchpoint ... hit" printout, make it more terse. Change the test case, too. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161806 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
|
9e98559420d8c7c248b0c75b48db65ffd878402b |
13-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/12007576 Record the snapshot of our watched value when the watchpoint is set or hit. And report the old/new values when watchpoint is triggered. Add some test scenarios. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161785 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
unctionalities/watchpoint/watchpoint_commands/command/main.cpp
|
124e690a2fb97b00c5e55b73b81e750eaef909f6 |
11-Aug-2012 |
Jim Ingham <jingham@apple.com> |
Add an option to "process continue" to ignore the next <N> crossings of the breakpoint under the currently selected thread. <rdar://problem/10458225> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161723 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
unctionalities/breakpoint/breakpoint_ignore_count/main.c
|
2836136b690421c75935e1d87c954331358b4e27 |
10-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add command completion test case for 'watchpoint command'. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161684 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
f3ec4617297810223deb545cb68214ca4dd8009c |
10-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11457143 [ER] need "watchpoint command ..." Add 'watchpoint command add/delete/list' to lldb, plus two .py test files. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161638 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/command/Makefile
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
unctionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
unctionalities/watchpoint/watchpoint_commands/command/main.cpp
|
879de484c7ef1d0971ac6c007b319b8285723e69 |
10-Aug-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11578397> Adding a new --summary-string option for the frame variable command which allows the user to provide a summary string with which he wants to display the variables without having to make a named summary first git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161623 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
|
229946672e1720586ffddbfdf17e45df353083a5 |
09-Aug-2012 |
Jim Ingham <jingham@apple.com> |
Turn on function args by default in thread & frame formats. <rdar://problem/11703715> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161611 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
535543d6104ee45b4503db6bb6c175e66d0e093b |
09-Aug-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/10449092> Adding a new uppercase hex format specifier. This commit also changes the short names for formats so that uppercase hex can be 'X', which was previously assigned to hex float. hex float now has no short name. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161606 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-10449092/Makefile
unctionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py
unctionalities/data-formatter/rdar-10449092/main.cpp
|
12213586035d4af8f200e5c8ab4642728f8c5f30 |
09-Aug-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11505459> Stripping off the object's type from the output of the 'po' command git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161592 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods2.py
ang/objc/print-obj/TestPrintObj.py
|
76d834e83ebcce8c27728431e69c50d772a9f2e9 |
09-Aug-2012 |
Sean Callanan <scallanan@apple.com> |
Now that the testcase is fixed, it is no longer an expected failure. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161556 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
|
9a56a71d5da638c79290e94f7ef510e38d6e48ef |
09-Aug-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/12061386> Fixing data-formatter-cpp test case - previous version had an unfortunate dependency on the value of uninitialized memory git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161555 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/main.cpp
|
b842a112ef8d793ce3cd8733534f6efae11a11a7 |
09-Aug-2012 |
Sean Callanan <scallanan@apple.com> |
The C++ data formatter tests are flaky. Marking them as expected failures until they are fixed. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161547 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
|
0e1d06d55f7e8d8be1fc5da8ec46ee64dda40f19 |
08-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
Indentation fix for dotest.py. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161493 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
c056664431d0126f3fb7a57844eee54455807781 |
08-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
Make dotest.py runnable from a directory other than lldb/test git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161492 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
c1ca9dcd0e8a1c7c5a882281afdd2a5145026fd0 |
08-Aug-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11975483> Removing user-visible references to 'dict' as a parameter name for Python summary-generating functions since it is a Python keyword. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161467 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
|
720687473e776449fc7cb1c444141ffbc2d4f565 |
07-Aug-2012 |
Filipe Cabecinhas <me@filcab.net> |
Start working on the test suite in FreeBSD git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161419 91177308-0d34-0410-b5e6-96231b3b80d8
lugins/builder_freebsd9.py
|
894eab4759a32d152a7a9d9d8e614e82e2452929 |
01-Aug-2012 |
Johnny Chen <johnny.chen@apple.com> |
Silence the "Command ... failed!" message when not running in trace mode. You run with trace mode by passing '-t' to the test driver. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161130 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
c1e15f869cb73559ae925c198efbd60db0b05c75 |
25-Jul-2012 |
Filipe Cabecinhas <me@filcab.net> |
Make git not delete some empty dirs. Otherwise a git checkout would be different from an svn checkout. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160717 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/hidden/.keep
unctionalities/single-quote-in-filename-to-lldb/path with '09/.keep
ource-manager/hidden/.keep
|
2806c76ea35959ea5c63615a115499c41139a56a |
19-Jul-2012 |
Filipe Cabecinhas <me@filcab.net> |
Make git not delete my_working_dir. Otherwise a git checkout would be different from an svn checkout. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160506 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/my_working_dir/.keep
|
4e725034c8381787804dc1858095e9b452edb55b |
18-Jul-2012 |
Sean Callanan <scallanan@apple.com> |
Removed a hack that gives zero-length arrays a single element. Also modified our struct test case to test this. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160449 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/struct_types/main.c
|
4ebd5cee6cad673b18e010f79aa8644dcf48e526 |
13-Jul-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11773899> Formatters for BOOL* and BOOL& git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160181 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-11773899/Makefile
unctionalities/data-formatter/rdar-11773899/TestFormattersBoolRefPtr.py
unctionalities/data-formatter/rdar-11773899/main.mm
|
5cee84b4b542c3a48abd8c2ea1aeab92b773ec86 |
13-Jul-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11628688> Making sure to use the ostype format for OSType values git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160180 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-11628688/Makefile
unctionalities/data-formatter/rdar-11628688/TestFormattersBoolRefPtr.py
unctionalities/data-formatter/rdar-11628688/main.mm
|
9aa80028ae8f7e570759617f7838bbf29fb26698 |
13-Jul-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11753405> Making sure we deal correctly with signed NSNumber values git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160179 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
a9dd2a05aa06f9f459ae71b4bde8d1029993d147 |
12-Jul-2012 |
Filipe Cabecinhas <me@filcab.net> |
Provide more information when process launch can't change directory to the path passed with -w Test this functionality. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160130 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/TestProcessLaunch.py
|
1ee6d9f49ca2e806197c2c6d7fa85e143b74da59 |
06-Jul-2012 |
Filipe Cabecinhas <me@filcab.net> |
Fix a wrong variable name. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@159832 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
126b344862371a40a492d11942bac8d3adcc6a25 |
29-Jun-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11755446> Making sure to provide summaries for one more NSString subclass git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@159389 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
dee13ce54bb21ba3cd113e22a3201c573ee54ba5 |
20-Jun-2012 |
Filipe Cabecinhas <me@filcab.net> |
Continue the cleanup started on r158737 Adds a utility class method to TestBase that checks and removes a temp file. Removed every use of system() to execute rm -f. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158809 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
ldbtest.py
ettings/TestSettings.py
erminal/TestSTTYBeforeAndAfter.py
arnings/uuid/TestUUIDMismatchWanring.py
|
a9e28873bb600d645b31c7d67c8b1a6448f276b7 |
19-Jun-2012 |
Johnny Chen <johnny.chen@apple.com> |
Test suite cleanup: use Python API to remove files as part of cleanup instead of running OS commands. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158737 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
unctionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
|
d1e0829de2ab90cb34d13b2776d3be3977355e5a |
19-Jun-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11649610 lldb confused by single quote in executable path Also add a test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158693 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/single-quote-in-filename-to-lldb/Makefile
unctionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
unctionalities/single-quote-in-filename-to-lldb/main.c
|
2ed5c75ae763897f215305b749ce37b1b8496bb2 |
08-Jun-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for r158222. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158232 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
3fcc91a73b0dc54c441ac1662728286a310bcb3e |
08-Jun-2012 |
Filipe Cabecinhas <me@filcab.net> |
Fixed TestCompletion, broken by r158173 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158207 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
e4b5ec026712d56f3cc259900f13158c47cb4d73 |
05-Jun-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11597911 Fix confusing error message about "expression did not evaluate to an address" when doing 'watchpoint set expression". Instead of using 0 as the fail_value when invoking ValueObject::GetValueAsUnsigned(), modify the API to take an addition bool pointer (defaults to NULL) to indicate success/failure of value conversion. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158016 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
unctionalities/watchpoint/watchpoint_set_command/main.cpp
|
3f883496e92fce5011f6bf585af3ac6d1cddb64f |
05-Jun-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11584012 Refactorings of watchpoint creation APIs so that SBTarget::WatchAddress(), SBValue::Watch(), and SBValue::WatchPointee() now take an additional 'SBError &error' parameter (at the end) to contain the reason if there is some failure in the operation. Update 'watchpoint set variable/expression' commands to take advantage of that. Update existing test cases to reflect the API change and add test cases to verify that the SBError mechanism works for SBTarget::WatchAddress() by passing an invalid watch_size. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157964 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
ython_api/default-constructor/sb_value.py
ython_api/default-constructor/sb_watchpoint.py
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/TestWatchpointIgnoreCount.py
ython_api/watchpoint/TestWatchpointIter.py
ython_api/watchpoint/condition/TestWatchpointConditionAPI.py
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
bf1209054c4ba709202e7f2fca31dfc97a0d8338 |
30-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Mark the test as failing on both architectures, since LLDB won't handle the function to clang. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157679 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
|
0f95dda5f0b6b22e0ea2661a58fbc4ae20f9441b |
30-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Make the test suite work again on Mac OS X without the LLDB_BUILD_TYPE env var git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157678 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/TestPublicAPIHeaders.py
|
61f17c050a5a432cdceb2ad2a3cea0fc5ad8c82c |
30-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Clean all files when executing 'make clean' git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157677 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/Makefile
|
57b74ddc0ae664cfaba2768bd221cc5e22f0633e |
30-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Clean renamed files on 'make clean' git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157669 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/formatters/Makefile
|
35f5dc76a37c7dca397566c34e4945f10ad163c1 |
29-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11541676 Do not show the derived registers like "eax", ... for the vanilla "register read" command. Also add a test scenario for that. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157647 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
dd26f366ea1c1a25d00fc31e5d926e7ae4f58c7e |
29-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Update the Makefile to expect the lldb package git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157620 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
e6adacf01c0ceaafeaaa4993821985a131821893 |
28-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Remove all written files git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157562 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
|
746323a3deff83edfc0cfd60aab136d43a78b7c8 |
26-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11535045 Make 'help arch' return the list of supported architectures. Add a convenience method StringList::Join(const char *separator) which is called from the help function for 'arch'. Also add a simple test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157507 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
e4f3cd7fb037f28484198787a465a5e94d12d2e9 |
25-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11533713 Allow setting conditions inline with breakpoints. Add test cases. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157497 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
|
7c09997f9a65bdfd9a0cbd7783d5a5f0a9f83646 |
24-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/11457634 Supports the use-case scenario of immediately continuing the process once attached. Add a simple completion test case from "process attach --con" to "process attach --continue ". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157361 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
191343e7213d3d717327319352d086f981fa8e58 |
24-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add SBProcess::GetNumSupportedHardwareWatchpoints() API and export it through the Python scripting bridge. Add/modify some test cases. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157353 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_process.py
ython_api/process/TestProcessAPI.py
|
7cbdcfb0cefcfd877b507ff2d83e51a1bde3fcc7 |
23-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add the capability to display the number of supported hardware watchpoints to the "watchpoint list" command. Add default Process::GetWatchpointSupportInfo() impl which returns an error of "not supported". Add "qWatchpointSupportInfo" packet to the gdb communication layer to support this, and modify TestWatchpointCommands.py to test it. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157345 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
|
fc34abb897227f88f098854167d9f96822b8daf8 |
23-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add more convenience registers to x86_64 and a simple test scenario: self.expect("expr -- $ax == (($ah << 8) | $al)", substrs = ['true']) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157302 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
6b6031dad5c9452ea95bba3f92caf522bbab01f3 |
22-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157278 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
96bdd736136c0de0912de32a4bdd688ba589982f |
22-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case to check that eax's content equals the lower half of rax. Plus fix the test class name as well as wrong directory path. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157277 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/TestRegisters.py
|
e72b338539befbbe94098a25a48fdd6ef581e68b |
22-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix a bug where if I just run: ./dotest.py No progress bar appears. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157226 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
57e0ff42f10d1245f9e8d5b3418d5066aea6ea05 |
22-May-2012 |
Sean Callanan <scallanan@apple.com> |
Added support for rvalue references in debug information (actually, mainly just hooked up support that was already there). Added a test case, although it's expected to fail right now unless you're using top-of-tree LLVM. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157220 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/rvalue-references/Makefile
ang/cpp/rvalue-references/TestRvalueReferences.py
ang/cpp/rvalue-references/main.cpp
|
267b9d9b55e6a0526277a1c4f6a6dd77def5bb36 |
22-May-2012 |
Sean Callanan <scallanan@apple.com> |
Fixed the new-syntax testcase to reflect how we print string literals. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157213 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
|
39d1af981f6a76603356fd84b2e9372a9172297c |
21-May-2012 |
Sean Callanan <scallanan@apple.com> |
Fixed a nasty bug where JIT expressions didn't work when stopped in a const method. Also updated our testsuite to ensure that JIT is forced in this case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157208 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/this/TestCPPThis.py
|
6b1763b5ab8f182029807293d74a66e1e1c6bafd |
21-May-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11355592> Fixing a bug where we would incorrectly try and determine a dynamic type for a variable of a pointer type that is not a valid generic type for dynamic pointers. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157190 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/rdar-11355592/Makefile
ang/objc/rdar-11355592/TestRdar11355592.py
ang/objc/rdar-11355592/main.m
|
3864f0484f642533233077ea43b1dacbbbe37508 |
19-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases where we start three worker threads, with a write watchpoint set. As soon as a watchpoint is hit in either of the worker thread, we delete the watchpoint. The test succeeds when no more watchpoint hit event fires after the deletion of the watchpoint. related to rdar://problem/11320188 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157084 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
|
dc5e87776b9b7cb15f55fac83cad8c0ecde25275 |
18-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Cleanup a custom thread-format so we don't fail TestLoadUnload when running the test suite for two architectures (the full path to d.c would appear). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157077 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
cd1b7fcea31ee9006a0c3c604617b975053834d8 |
18-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Fixed the test for the new process launch abbreviation. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157050 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
|
930f10a19c8142f2f082d06087052464f0c64a39 |
18-May-2012 |
Sean Callanan <scallanan@apple.com> |
I have updated Clang to include support for Objective-C boxed expressions returning numbers and strings. I also added boxed expressions to our testcases, and enabled boxed expressions when libarclite is linked into the inferior. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157026 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
|
4bc8d16c0aeb8645a5ac70908639ca1e55018aab |
17-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Warn the user when several commands match the input given. Added a testcase. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156961 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
e39170b0231ec3091423dcd5212815ec7600755d |
16-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Update the comments for lldbtest module. The test driver is the only way to run the test suite. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156943 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
47dcd1eddc452d919b9b3fee41b0e2543b801284 |
16-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Make the script more friendly when running under python debugger. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156939 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
8aa684d1a57fe01a3ed912599bd0473d7c1ee4b1 |
16-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
The redo.py script can take no argument where it uses heuristics to find the latest session directory. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156931 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
84923712ffb6fe83f41479491d71eb3f2d173ca4 |
16-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Cleanup after functionalities/alias/TestAliases.py This test is run after TestAbbreviations and was making runCmd("h") fail in that test, on the second tested architecture (two commands would be avilable for "h": "help" and "hello"). Later I'm sending a patch for review to add some information to the error message for that case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156918 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
|
7461e23e97036324cca37b1adace76e247dbfb80 |
16-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix Makefile to pass the correct -arch flag to the toolchains. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156882 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/Makefile
|
f3e5da20b61550f25c40191c777cab31d2496d72 |
15-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add i386-only expectedFailure decorators for current ToT. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156855 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods2.py
ang/objc/objc-class-method/TestObjCClassMethod.py
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
|
a695aa28bc34a0bc4d9b61e3752f7cff1454c39b |
15-May-2012 |
Enrico Granata <egranata@apple.com> |
Fixing a bug where the summary for certain NSStrings was being returned as empty in spite of the string actually having a content git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156793 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
d82bc6d623930e796d596d190399ec2450980e0f |
12-May-2012 |
Jim Ingham <jingham@apple.com> |
Found one more place where the OkayToDiscard needs to be consulted. Also changed the defaults for SBThread::Step* to not delete extant plans. Also added some test cases to test more complex stepping scenarios. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156667 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/stepping/TestStepAndBreakpoints.py
ang/c/stepping/main.c
|
22cf41b1ac6d408f8dd15e27445c0221dcd33439 |
11-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Make issue_11588/Test11588 work with a recent swig that converts ints to PyLongObjects git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156637 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/issue_11588/Test11588.py
|
038fa8e30621e0e55faed3479387d811986f28b7 |
10-May-2012 |
Jim Ingham <jingham@apple.com> |
If the ObjC Step Through Trampoline plan causes a target crash, properly propagate the error back to the controlling plans so that they don't lose control. Also change "ThreadPlanStepThrough" to take the return StackID for its backstop breakpoint as an argument to the constructor rather than having it try to figure it out itself, since it might get it wrong whereas the caller always knows where it is coming from. rdar://problem/11402287 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156529 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-stepping/TestObjCStepping.py
ang/objc/objc-stepping/stepping-tests.m
|
6884bddec6d4b290a6099f2d6f400bf78530e5e8 |
09-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Option processing fix: should match '-F' exactly, instead. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156509 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
1b8de0a34cb4632550cb5da83df658e27e46a13e |
09-May-2012 |
Filipe Cabecinhas <me@filcab.net> |
Make redo.py more error-proof Deal with being passed no parameters Remove the infinite loop when it's passed something like --help git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156504 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
07baf83fe7ae25ac87d38cd4fc19647b020adfad |
08-May-2012 |
Enrico Granata <egranata@apple.com> |
<rdar://problem/11338654> Fixing a bug where having a summary for a bitfield without a format specified would in certain cases crash LLDB - This has also led to refactoring the by-type accessors for the data formatter subsystem. These now belong in our internal layer, and are just invoked by the public API stratum git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156429 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-advanced/main.cpp
|
b170aee2daacc83e3d71c3e3acc9d56c89893a7b |
08-May-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/11358639> Switch over to the "*-apple-macosx" for desktop and "*-apple-ios" for iOS triples. Also make the selection process for auto selecting platforms based off of an arch much better. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156354 91177308-0d34-0410-b5e6-96231b3b80d8
rm_emulation/new-test-files/test-add-1-arm.dat
rm_emulation/new-test-files/test-add-1-thumb.dat
rm_emulation/new-test-files/test-add-10-thumb.dat
rm_emulation/new-test-files/test-add-11-thumb.dat
rm_emulation/new-test-files/test-add-12-thumb.dat
rm_emulation/new-test-files/test-add-2-arm.dat
rm_emulation/new-test-files/test-add-2-thumb.dat
rm_emulation/new-test-files/test-add-3-arm.dat
rm_emulation/new-test-files/test-add-3-thumb.dat
rm_emulation/new-test-files/test-add-4-arm.dat
rm_emulation/new-test-files/test-add-4-thumb.dat
rm_emulation/new-test-files/test-add-5-arm.dat
rm_emulation/new-test-files/test-add-5-thumb.dat
rm_emulation/new-test-files/test-add-6-arm.dat
rm_emulation/new-test-files/test-add-6-thumb.dat
rm_emulation/new-test-files/test-add-7-arm.dat
rm_emulation/new-test-files/test-add-7-thumb.dat
rm_emulation/new-test-files/test-add-8-arm.dat
rm_emulation/new-test-files/test-add-8-thumb.dat
rm_emulation/new-test-files/test-add-9-thumb.dat
rm_emulation/new-test-files/test-bic-1-arm.dat
rm_emulation/new-test-files/test-bic-1-thumb.dat
rm_emulation/new-test-files/test-ldmia-1-arm.dat
rm_emulation/new-test-files/test-ldmia-1-thumb.dat
rm_emulation/new-test-files/test-ldmia-2-arm.dat
rm_emulation/new-test-files/test-ldmia-2-thumb.dat
rm_emulation/new-test-files/test-ldmia-3-arm.dat
rm_emulation/new-test-files/test-ldmia-3-thumb.dat
rm_emulation/new-test-files/test-ldr-1-arm.dat
rm_emulation/new-test-files/test-ldr-1-thumb.dat
rm_emulation/new-test-files/test-ldr-10-thumb.dat
rm_emulation/new-test-files/test-ldr-11-thumb.dat
rm_emulation/new-test-files/test-ldr-12-thumb.dat
rm_emulation/new-test-files/test-ldr-2-arm.dat
rm_emulation/new-test-files/test-ldr-2-thumb.dat
rm_emulation/new-test-files/test-ldr-3-arm.dat
rm_emulation/new-test-files/test-ldr-3-thumb.dat
rm_emulation/new-test-files/test-ldr-4-arm.dat
rm_emulation/new-test-files/test-ldr-4-thumb.dat
rm_emulation/new-test-files/test-ldr-5-arm.dat
rm_emulation/new-test-files/test-ldr-5-thumb.dat
rm_emulation/new-test-files/test-ldr-6-arm.dat
rm_emulation/new-test-files/test-ldr-6-thumb.dat
rm_emulation/new-test-files/test-ldr-7-arm.dat
rm_emulation/new-test-files/test-ldr-7-thumb.dat
rm_emulation/new-test-files/test-ldr-8-arm.dat
rm_emulation/new-test-files/test-ldr-8-thumb.dat
rm_emulation/new-test-files/test-ldr-9-thumb.dat
rm_emulation/new-test-files/test-ldrd-1-arm.dat
rm_emulation/new-test-files/test-ldrd-1-thumb.dat
rm_emulation/new-test-files/test-ldrd-2-thumb.dat
rm_emulation/new-test-files/test-ldrh-1-thumb.dat
rm_emulation/new-test-files/test-ldrsh-1-arm.dat
rm_emulation/new-test-files/test-ldrsh-2-arm.dat
rm_emulation/new-test-files/test-mov-1-arm.dat
rm_emulation/new-test-files/test-mov-1-thumb.dat
rm_emulation/new-test-files/test-mov-10-thumb.dat
rm_emulation/new-test-files/test-mov-11-thumb.dat
rm_emulation/new-test-files/test-mov-12-thumb.dat
rm_emulation/new-test-files/test-mov-13-thumb.dat
rm_emulation/new-test-files/test-mov-14-thumb.dat
rm_emulation/new-test-files/test-mov-15-thumb.dat
rm_emulation/new-test-files/test-mov-16-thumb.dat
rm_emulation/new-test-files/test-mov-17-thumb.dat
rm_emulation/new-test-files/test-mov-18-thumb.dat
rm_emulation/new-test-files/test-mov-19-thumb.dat
rm_emulation/new-test-files/test-mov-2-arm.dat
rm_emulation/new-test-files/test-mov-2-thumb.dat
rm_emulation/new-test-files/test-mov-20-thumb.dat
rm_emulation/new-test-files/test-mov-21-thumb.dat
rm_emulation/new-test-files/test-mov-22-thumb.dat
rm_emulation/new-test-files/test-mov-23-thumb.dat
rm_emulation/new-test-files/test-mov-24-thumb.dat
rm_emulation/new-test-files/test-mov-25-thumb.dat
rm_emulation/new-test-files/test-mov-26-thumb.dat
rm_emulation/new-test-files/test-mov-27-thumb.dat
rm_emulation/new-test-files/test-mov-28-thumb.dat
rm_emulation/new-test-files/test-mov-29-thumb.dat
rm_emulation/new-test-files/test-mov-3-arm.dat
rm_emulation/new-test-files/test-mov-3-thumb.dat
rm_emulation/new-test-files/test-mov-30-thumb.dat
rm_emulation/new-test-files/test-mov-31-thumb.dat
rm_emulation/new-test-files/test-mov-4-arm.dat
rm_emulation/new-test-files/test-mov-4-thumb.dat
rm_emulation/new-test-files/test-mov-5-arm.dat
rm_emulation/new-test-files/test-mov-5-thumb.dat
rm_emulation/new-test-files/test-mov-6-arm.dat
rm_emulation/new-test-files/test-mov-6-thumb.dat
rm_emulation/new-test-files/test-mov-7-thumb.dat
rm_emulation/new-test-files/test-mov-8-thumb.dat
rm_emulation/new-test-files/test-mov-9-thumb.dat
rm_emulation/new-test-files/test-moveq-1-arm.dat
rm_emulation/new-test-files/test-movs-1-arm.dat
rm_emulation/new-test-files/test-mvn-1-arm.dat
rm_emulation/new-test-files/test-mvn-1-thumb.dat
rm_emulation/new-test-files/test-mvn-2-arm.dat
rm_emulation/new-test-files/test-mvn-2-thumb.dat
rm_emulation/new-test-files/test-mvn-3-arm.dat
rm_emulation/new-test-files/test-mvn-3-thumb.dat
rm_emulation/new-test-files/test-mvn-4-arm.dat
rm_emulation/new-test-files/test-mvn-4-thumb.dat
rm_emulation/new-test-files/test-pop-1-arm.dat
rm_emulation/new-test-files/test-pop-1-thumb.dat
rm_emulation/new-test-files/test-pop-2-arm.dat
rm_emulation/new-test-files/test-pop-2-thumb.dat
rm_emulation/new-test-files/test-pop-3-thumb.dat
rm_emulation/new-test-files/test-push-1-arm.dat
rm_emulation/new-test-files/test-push-1-thumb.dat
rm_emulation/new-test-files/test-push-2-arm.dat
rm_emulation/new-test-files/test-push-2-thumb.dat
rm_emulation/new-test-files/test-push-3-arm.dat
rm_emulation/new-test-files/test-push-3-thumb.dat
rm_emulation/new-test-files/test-str-1-arm.dat
rm_emulation/new-test-files/test-str-1-thumb.dat
rm_emulation/new-test-files/test-str-2-arm.dat
rm_emulation/new-test-files/test-str-2-thumb.dat
rm_emulation/new-test-files/test-str-3-arm.dat
rm_emulation/new-test-files/test-str-3-thumb.dat
rm_emulation/new-test-files/test-str-4-arm.dat
rm_emulation/new-test-files/test-str-4-thumb.dat
rm_emulation/new-test-files/test-str-5-arm.dat
rm_emulation/new-test-files/test-strb-1-arm.dat
rm_emulation/new-test-files/test-strb-2-arm.dat
rm_emulation/new-test-files/test-strbt-1-arm.dat
rm_emulation/new-test-files/test-strd-1-thumb.dat
rm_emulation/new-test-files/test-strt-1-arm.dat
rm_emulation/new-test-files/test-sub-1-arm.dat
rm_emulation/new-test-files/test-sub-1-thumb.dat
rm_emulation/new-test-files/test-sub-10-arm.dat
rm_emulation/new-test-files/test-sub-2-arm.dat
rm_emulation/new-test-files/test-sub-2-thumb.dat
rm_emulation/new-test-files/test-sub-3-arm.dat
rm_emulation/new-test-files/test-sub-3-thumb.dat
rm_emulation/new-test-files/test-sub-4-arm.dat
rm_emulation/new-test-files/test-sub-4-thumb.dat
rm_emulation/new-test-files/test-sub-5-arm.dat
rm_emulation/new-test-files/test-sub-5-thumb.dat
rm_emulation/new-test-files/test-sub-6-arm.dat
rm_emulation/new-test-files/test-sub-6-thumb.dat
rm_emulation/new-test-files/test-sub-8-arm.dat
rm_emulation/new-test-files/test-sub-9-arm.dat
rm_emulation/new-test-files/test-subs-1-arm.dat
rm_emulation/new-test-files/test-subs-1-thumb.dat
rm_emulation/new-test-files/test-subs-10-thumb.dat
rm_emulation/new-test-files/test-subs-2-thumb.dat
rm_emulation/new-test-files/test-subs-3-thumb.dat
rm_emulation/new-test-files/test-subs-4-thumb.dat
rm_emulation/new-test-files/test-subs-5-thumb.dat
rm_emulation/new-test-files/test-subs-6-thumb.dat
rm_emulation/new-test-files/test-subs-8-thumb.dat
rm_emulation/new-test-files/test-subs-9-thumb.dat
rm_emulation/new-test-files/test-vpop-1-thumb.dat
rm_emulation/new-test-files/test-vpop-2-thumb.dat
rm_emulation/new-test-files/test-vpop-3-thumb.dat
rm_emulation/new-test-files/test-vpush-1-thumb.dat
rm_emulation/new-test-files/test-vpush-2-thumb.dat
rm_emulation/new-test-files/test-vpush-3-thumb.dat
acosx/universal/TestUniversal.py
ython_api/disassemble-raw-data/TestDisassembleRawData.py
ython_api/disassemble-raw-data/TestDisassemble_VST1_64.py
|
609237174ea7894f36e0af1bdb333eade79aedb7 |
08-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix the problem that 'help breakpoint set' is printing a lot of redundant lines. Correctly specify the LLDB_OPT_SET's that the 'shlib' command option belongs to by using a newly added macro like this: #define LLDB_OPT_NOT_10 ( LLDB_OPT_SET_FROM(1, 10) & ~LLDB_OPT_SET_10 ) rdar://problem/11393864 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156337 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
cf0bc6d057a49fc6181a50dc32f4f0b339bbacd5 |
08-May-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add an -F option to the redo.py script to selectively re-run only those failed sessions whose filenames contain the component(s) specified. For example: ./redo.py -F x86_64 -n 2012-05-07-15_28_24 will redo the failed sessions under the 2012-05-07-15_28_24 directory, but only for session names which contain 'x86_64' in it. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156335 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
6a043531452d1611abbabc8de8c130ad2eadba8a |
03-May-2012 |
Enrico Granata <egranata@apple.com> |
Adding a new 'type category disable *' feature that disables all categories - This is intended as a quick kill switch for data formatters for cases where the user wants as little extra processing as possible to be done on their target, or to override major data formatters bug, should they occur git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156044 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-disabling/Makefile
unctionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
unctionalities/data-formatter/data-formatter-disabling/main.cpp
|
ce035a0ad0a6d6f07c1acdc38bdab02a327052c1 |
26-Apr-2012 |
Enrico Granata <egranata@apple.com> |
Automatically enabling the Cocoa formatter categories for command-line LLDB. Previously, the categories were filled in but disabled by default. Tweaking test cases appropriately to keep working and do the right thing git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155605 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py
unctionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py
ang/objc/rdar-10967107/TestRdar10967107.py
|
70fa461258ec908a1a0db71d22dee1024db3208e |
25-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Renaming to rid of the '++' in the test file name and simplify the Makefile. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155521 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc++/Makefile
ang/objc/objc++/TestObjC++.py
ang/objc/objc++/TestObjCXX.py
|
89f099b4e9e64165c89e37a7b5e26914b765dbf9 |
25-Apr-2012 |
Sean Callanan <scallanan@apple.com> |
Removed a binary that I accidentally committed. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155516 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc++/main
|
49749a79b8f5299bbe4b727ea6399001ddd9bb2d |
25-Apr-2012 |
Sean Callanan <scallanan@apple.com> |
Recognize Objective-C classes with runtime class ObjCPlusPlus as Objective-C classes. Really the compiler should say they have Objective-C runtime class, but we should be a little more resilient (we were refusing to find ivars in those classes before). Also added a test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155515 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc++/Makefile
ang/objc/objc++/TestObjC++.py
ang/objc/objc++/main
ang/objc/objc++/main.mm
|
4e651b1222992d3d93d11ca2f84c69477165e117 |
25-Apr-2012 |
Greg Clayton <gclayton@apple.com> |
Maked LLDB into a package so we can import things without poluting the global namespace. Enrico will follow this up with fixing the data formatter test cases that are failing. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155514 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
20c13076457503ab3bf32b9da9c24c6d051d4997 |
25-Apr-2012 |
Sean Callanan <scallanan@apple.com> |
Made it safe to re-import a Python module, allowing the same test to be run multiple times in the same session. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155511 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/issue_11588/Test11588.py
|
c315bdc8aa2ba51fca4d47bf61afa31c9118c0bd |
25-Apr-2012 |
Enrico Granata <egranata@apple.com> |
Fixing a bunch of i386 testsuite failures git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155510 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/TestCommandScript.py
unctionalities/command_script/import/TestImport.py
|
2a45d0e1d8ff6ac9c9e30b682c8dd8ed6d11a3c7 |
25-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Make the test case more robust in terms of remote testsuite execution. rdar://problem/11312971 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155505 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
|
800bd70d72909050dc6efe181e02f4565769ad96 |
25-Apr-2012 |
Sean Callanan <scallanan@apple.com> |
Forgo the selector test on i386, where we can't test whether an object responds to a selector from outside the process. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155504 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-checker/TestObjCCheckers.py
|
0eba719266ef5fafd81f33658e987ec2bfd83da3 |
25-Apr-2012 |
Sean Callanan <scallanan@apple.com> |
Create an NSAutoreleasePool correctly in a test case so that the Objective-C runtime doesn't complain about lack of one, causing the test case to fail. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155503 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-checker/main.m
|
1463b65006ce354d39cd23fddaeb24c498e2b38b |
25-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a suffix rule for compiling objc++ files and a sample directory under test/lang/objcxx. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155501 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objcxx/sample/Makefile
ang/objcxx/sample/main.mm
ake/Makefile.rules
|
3bc7e5e8960a8928b9811a10175627a397aa643d |
24-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a '-R' option, which is similar to '-r', except that the relocated directory, if exists, will be removed entirely before running the test suite. A usage example looks like this: test $ ./dotest.py -A x86_64 -R /tmp/x86_64 & test $ ./dotest.py -A i386 -R /tmp/i386 & where we would want to run the x86_64 and i386 archs concurrently but relocate the test suite to different directory hierarchies in order not to stump on each other's intermediate files. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155491 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
d67dc54a5ca70c26cf33fde8d1ae6b8c172985ce |
24-Apr-2012 |
Enrico Granata <egranata@apple.com> |
Fixing the test case so that it runs correctly on i386 as well as on x86_64 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155420 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/formatters/TestFormattersSBAPI.py
ython_api/formatters/main.cpp
|
79bdaddc38c5d20bf347fe98b4c129746bb66291 |
24-Apr-2012 |
Enrico Granata <egranata@apple.com> |
Removing the @expectedFailurei386 decorator from test cases that now work as a result of the latest changes to Value.cpp git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155419 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/formatters/TestFormatters.py
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
|
67898a0b30e9918df1709fe0c0b3e479a3fe7c8e |
23-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Test file renaming. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155369 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestFlintVsSlateGDBDisassembly.py
enchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py
|
1ced14236c78a2652b82ab74341c8258efc470ba |
21-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Remove the expectedFailure decorator as the bug has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155264 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/debug-info/apple_types/TestAppleTypesIsProduced.py
|
e787c7ea61b1d857b56a0c42a1cf7535115ecbfc |
20-Apr-2012 |
Jim Ingham <jingham@apple.com> |
Make sure the "synchronous breakpoint callbacks" get called before the thread plan logic gets invoked, and if they ask to continue that should short-circuit the thread plans for that thread. Also add a bit more explanation for how this machinery is supposed to work. Also pass eExecutionPolicyOnlyWhenNeeded, not eExecutionPolicyAlways when evaluating the expression for breakpoint conditions. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155236 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
|
80b4de8ae30ad7c044c0b5a78b8ba6a968115a8b |
20-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Tests decorated with @benchmarks_test do not participate in the remote-macosx test suite run. But, still, tearDown() should call super.tearDown(), not super.setUp(). :-) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155170 91177308-0d34-0410-b5e6-96231b3b80d8
ldbbench.py
|
be452279960af0a77434e212ce2f38e4821e00f9 |
19-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
LLDB test suite should also output the config info string along with the stack trace. rdar://problem/11283401 Example: Collected 1 test 1: test_with_dwarf (TestCallStdStringFunction.ExprCommandCallFunctionTestCase) Test calling std::String member function. ... FAIL ====================================================================== FAIL: test_with_dwarf (TestCallStdStringFunction.ExprCommandCallFunctionTestCase) Test calling std::String member function. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Volumes/data/lldb/svn/ToT/test/lldbtest.py", line 427, in wrapper return func(self, *args, **kwargs) File "/Volumes/data/lldb/svn/ToT/test/expression_command/call-function/TestCallStdStringFunction.py", line 34, in test_with_dwarf self.call_function() File "/Volumes/data/lldb/svn/ToT/test/expression_command/call-function/TestCallStdStringFunction.py", line 48, in call_function substrs = ['Hello world']) File "/Volumes/data/lldb/svn/ToT/test/lldbtest.py", line 1235, in expect msg if msg else EXP_MSG(str, exe)) AssertionError: False is not True : 'Hello world' returns expected result Config=i386-clang ---------------------------------------------------------------------- Ran 1 test in 1.148s FAILED (failures=1) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155157 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
e6d88a8188e354d415f55c18c9723ec3de2c6dee |
19-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the progress bar display when neither "-v" nor "-t" is passed to the test driver. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155152 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
fb3c775950754afc1a923b7f705d768cfb803c0b |
19-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
The session file name should be tagged with (architecture, compiler) in addition to the already existing (test result, test id) to avoid collision and to facilitate postmortem analysis. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155148 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
ac4583a82bfe39477450c7230f200dd5297e2f87 |
19-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Not a test failure for i386; instead, the test case should be modified to not over-expect type fields for the synthetic childs. rdar://problem/11277013 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155144 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/issue_11588/Test11588.py
|
67130e42592e68c3055e7ab5b7a368d89a06f05e |
19-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add expected failure decorators for test cases which are failing for i386 architecture. Plus fix some test cases to skip/succeed for i386. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155087 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/formatters/TestFormatters.py
xpression_command/issue_11588/Test11588.py
xpression_command/test/TestExprs2.py
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/load_unload/TestLoadUnload.py
|
ac97a6bc2910f3e0cbb9958102f0eda04e7894c4 |
16-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add the capability of supplying the pre/post-flight functions to the test suite such that the pre-flight code gets executed during setUp() after the debugger instance is available and the post-flight code gets executed during tearDown() after the debugger instance has done killing the inferior and deleting all the target programs. Example: [11:32:48] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpoint config: {'pre_flight': <function pre_flight at 0x1098541b8>, 'post_flight': <function post_flight at 0x109854230>} LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug LLDB-139 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: 154753 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 154730 Last Changed Date: 2012-04-13 18:42:46 -0700 (Fri, 13 Apr 2012) lldb.pre_flight: def pre_flight(test): __import__("lldb") __import__("lldbtest") print "\nRunning pre-flight function:" print "for test case:", test lldb.post_flight: def post_flight(test): __import__("lldb") __import__("lldbtest") print "\nRunning post-flight function:" print "for test case:", test Session logs for test failures/errors/unexpected successes will go into directory '2012-04-16-11_34_08' Command invoked: python ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpoint compilers=['clang'] Configuration: arch=x86_64 compiler=clang ---------------------------------------------------------------------- Collected 2 tests 1: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... Running pre-flight function: for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Running post-flight function: for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) ok 2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... Running pre-flight function: for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Running post-flight function: for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) ok ---------------------------------------------------------------------- Ran 2 tests in 1.584s OK git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154847 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
4fd809c5b7e71b481f679a52409f76c4a820488d |
13-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
First step to make the test suite runnable for remote platforms. For the types directory, we were running lldbtest.system() to execute the compiled program on the test host to collect golden output in order to compare with the output of various lldb debugger commands as performed later. This won't work for the remote platform scenario where the architecture of the target and host platforms are different. Modify the AbstractBase class to use lldb to launch the inferior while specifying the output file, from which the golden output is collected and grokked. How to bootstrap and to connect to the remote platform is still being worked at. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154699 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
2a29bd5312865d826c3481fe4e1c29a1512a1620 |
13-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Ditto 'requires modern objc runtime' for TestRealDefinition.py -- fix test suite errors for i386. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154638 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/real-definition/TestRealDefinition.py
|
f999a771f4f837263aa7bee10e03d545c88d022f |
13-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Ditto 'requires modern objc runtime' for TestObjCProperty.py -- fix test suite errors for i386. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154636 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-property/TestObjCProperty.py
|
77fa1b7af02cc539723f837f421f6f5a0d920d15 |
13-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix some test suite errors. TestForwardDecl.py errors were due to bad Makefile.rules, while TestHiddenIvars.py errors due to features only available in modern objc runtime. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154635 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/forward-decl/TestForwardDecl.py
ang/objc/hidden-ivars/TestHiddenIvars.py
ake/Makefile.rules
|
bb4800e3c9900ad7026b3a973b350184d3e2e773 |
12-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Make the default architectures to run as both 64 and 32-bit. rdar://problem/11031264 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154573 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
5aa97e054620a95bcf24b6fab1d43e9f210afc83 |
07-Apr-2012 |
Sean Callanan <scallanan@apple.com> |
Changed some tabs to spaces to make Python like this file. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154222 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods2.py
|
5b616ecca2f2c4f66c3f467d4ba17b0b5cb7d10a |
06-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
The final batch of adding @dsym_test/@dwarf_test decorators. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154211 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
21b1984e161b0cadee331d32bfd721eccfdf4b1f |
06-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases. Plus some minor cleanup of test method names. Third and final batch is coming. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154197 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
ang/c/anonymous/TestAnonymous.py
ang/c/array_types/TestArrayTypes.py
ang/c/bitfields/TestBitfields.py
ang/c/blocks/TestBlocks.py
ang/c/enum_types/TestEnumTypes.py
ang/c/forward/TestForwardDeclaration.py
ang/c/function_types/TestFunctionTypes.py
ang/c/global_variables/TestGlobalVariables.py
ang/c/set_values/TestSetValues.py
ang/c/shared_lib/TestSharedLib.py
ang/c/stepping/TestThreadStepping.py
ang/c/strings/TestCStrings.py
ang/c/struct_types/TestStructTypes.py
ang/cpp/breakpoints/TestCPPBreakpoints.py
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/class_types/TestClassTypes.py
ang/cpp/class_types/TestClassTypesDisassembly.py
ang/cpp/dynamic-value/TestCppValueCast.py
ang/cpp/dynamic-value/TestDynamicValue.py
ang/cpp/exceptions/TestCPPExceptionBreakpoints.py
ang/cpp/namespace/TestNamespace.py
ang/cpp/signed_types/TestSignedTypes.py
ang/cpp/static_methods/TestCPPStaticMethods.py
ang/cpp/stl/TestSTL.py
ang/cpp/this/TestCPPThis.py
ang/cpp/unique-types/TestUniqueTypes.py
ang/cpp/unsigned_types/TestUnsignedTypes.py
ang/objc/forward-decl/TestForwardDecl.py
ang/objc/foundation/TestConstStrings.py
ang/objc/foundation/TestFoundationDisassembly.py
ang/objc/foundation/TestObjCMethods.py
ang/objc/foundation/TestObjCMethods2.py
ang/objc/foundation/TestObjectDescriptionAPI.py
ang/objc/foundation/TestSymbolTable.py
ang/objc/hidden-ivars/TestHiddenIvars.py
ang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
ang/objc/objc-checker/TestObjCCheckers.py
ang/objc/objc-class-method/TestObjCClassMethod.py
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
ang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
ang/objc/objc-optimized/TestObjcOptimized.py
ang/objc/objc-property/TestObjCProperty.py
ang/objc/objc-static-method/TestObjCStaticMethod.py
ang/objc/objc-stepping/TestObjCStepping.py
ang/objc/print-obj/TestPrintObj.py
ang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
ang/objc/rdar-10967107/TestRdar10967107.py
ang/objc/real-definition/TestRealDefinition.py
ang/objc/self/TestObjCSelf.py
ogging/TestLogging.py
acosx/order/TestOrderFile.py
ython_api/event/TestEvents.py
ython_api/formatters/TestFormattersSBAPI.py
ython_api/frame/TestFrames.py
ython_api/frame/inlines/TestInlinedFrame.py
ython_api/function_symbol/TestDisasmAPI.py
ython_api/function_symbol/TestSymbolAPI.py
ython_api/hello_world/TestHelloWorld.py
ython_api/interpreter/TestCommandInterpreterAPI.py
ython_api/process/TestProcessAPI.py
ython_api/process/io/TestProcessIO.py
ython_api/sbdata/TestSBData.py
ython_api/symbol-context/TestSymbolContext.py
ython_api/target/TestTargetAPI.py
ython_api/thread/TestThreadAPI.py
ython_api/type/TestTypeList.py
ython_api/value/TestValueAPI.py
ython_api/value/change_values/TestChangeValueAPI.py
ython_api/value/linked_list/TestValueAPILinkedList.py
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/TestWatchpointIgnoreCount.py
ython_api/watchpoint/TestWatchpointIter.py
ython_api/watchpoint/condition/TestWatchpointConditionAPI.py
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
ettings/TestSettings.py
|
a3ed7d834b0e0c6924ac95629e740682bbcd15ba |
06-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a new option to the test driver, -N dsym or -N dwarf, in order to exclude tests decorated with either @dsym_test or @dwarf_test to be executed during the testsuite run. There are still lots of Test*.py files which have not been decorated with the new decorator. An example: # From TestMyFirstWatchpoint.py -> class HelloWatchpointTestCase(TestBase): mydir = os.path.join("functionalities", "watchpoint", "hello_watchpoint") @dsym_test def test_hello_watchpoint_with_dsym_using_watchpoint_set(self): """Test a simple sequence of watchpoint creation and watchpoint hit.""" self.buildDsym(dictionary=self.d) self.setTearDownCleanup(dictionary=self.d) self.hello_watchpoint() @dwarf_test def test_hello_watchpoint_with_dwarf_using_watchpoint_set(self): """Test a simple sequence of watchpoint creation and watchpoint hit.""" self.buildDwarf(dictionary=self.d) self.setTearDownCleanup(dictionary=self.d) self.hello_watchpoint() # Invocation -> [17:50:14] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug LLDB-137 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: 154133 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 154109 Last Changed Date: 2012-04-05 10:43:02 -0700 (Thu, 05 Apr 2012) Session logs for test failures/errors/unexpected successes will go into directory '2012-04-05-17_50_49' Command invoked: python ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py compilers=['clang'] Configuration: arch=x86_64 compiler=clang ---------------------------------------------------------------------- Collected 2 tests 1: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... skipped 'dsym tests' 2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... ok ---------------------------------------------------------------------- Ran 2 tests in 1.138s OK (skipped=1) Session logs for test failures/errors/unexpected successes can be found in directory '2012-04-05-17_50_49' [17:50:50] johnny:/Volumes/data/lldb/svn/ToT/test $ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154154 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/formatters/TestFormatters.py
xpression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/abbreviation/TestCommonShortSpellings.py
unctionalities/alias/TestAliases.py
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
unctionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
unctionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
unctionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
unctionalities/command_script/TestCommandScript.py
unctionalities/conditional_break/TestConditionalBreak.py
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
unctionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py
unctionalities/data-formatter/rdar-10887661/TestRdar10887661.py
unctionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
unctionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py
unctionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
unctionalities/dead-strip/TestDeadStrip.py
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
unctionalities/memory/read/TestMemoryRead.py
unctionalities/process_launch/TestProcessLaunch.py
unctionalities/return-value/TestReturnValue.py
unctionalities/signal/TestSendSignal.py
unctionalities/stop-hook/TestStopHookCmd.py
unctionalities/stop-hook/TestStopHookMechanism.py
unctionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
unctionalities/target_command/TestTargetCommand.py
unctionalities/type_completion/TestTypeCompletion.py
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
ldbtest.py
|
a894fe78bc15344a0025c1154e414c554ab31dd9 |
05-Apr-2012 |
Greg Clayton <gclayton@apple.com> |
Added a new Host class: ReadWriteLock This abstracts read/write locks on the current host system. It is currently backed by pthread_rwlock_t objects so it should work on all unix systems. We also need a way to control multi-threaded access to the process through the public API when it is running. For example it isn't a good idea to try and get stack frames while the process is running. To implement this, the lldb_private::Process class now contains a ReadWriteLock member variable named m_run_lock which is used to control the public process state. The public process state represents the state of the process as the client knows it. The private is used to control the actual current process state. So the public state of the process can be stopped, yet the private state can be running when evaluating an expression for example. Adding the read/write lock where readers are clients that want the process to stay stopped, and writers are clients that run the process, allows us to accurately control multi-threaded access to the process. Switched the SBThread and SBFrame over to us shared pointers to the ExecutionContextRef class instead of making their own class to track this. This fixed an issue with assigning on SBFrame to another and will also centralize the code that tracks weak references to execution context objects into one location. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154099 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/TestFrames.py
ython_api/lldbutil/frame/TestFrameUtils.py
|
8ad21a888d8185b929c68fec52b571d823377b34 |
04-Apr-2012 |
Enrico Granata <egranata@apple.com> |
Adding a new --python-function (-F) option to breakpoint command add. The option allows the user to specify a Python function name instead of a Python oneliner or interactive script input as a breakpoint command git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154026 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/breakpoint/breakpoint_command/bktptcmd.py
|
0cef6bad66d4cbbe4a01617b27be5b85a3134592 |
03-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a Test case to make sure that __apple_types section does get produced by dsymutil. This is supposed to succeed even with rdar://problem/11166975. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153919 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/debug-info/apple_types/TestAppleTypesIsProduced.py
|
4eb1453a5273e432a706ca69d9e91fb678170aff |
03-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add some more debug prints and retrieve the debug subsections from the DWARF section. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153915 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/debug-info/apple_types/TestAppleTypesIsProduced.py
|
a96b7890217c988c69f0f64cf608feb33f17db56 |
02-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add testcase that verifies that __apple_types is a valid section in a .o file generated by clang. rdar://problem/11167268 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153891 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/debug-info/apple_types/Makefile
acosx/debug-info/apple_types/TestAppleTypesIsProduced.py
acosx/debug-info/apple_types/main.c
|
3418bfeeafef91b67a62f536d0ff4bbdb4d0d440 |
30-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Disabling blocks support because of rdar://problem/11024417 - This is hopefully just a temporary countermeasure git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153758 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/blocks/TestBlocks.py
|
80731ec9368b8e1cbfe093fb9ec257457ef29133 |
29-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Fixing an issue where Unicode characters in an NSString were printed as escape sequences by the summary provider shipping with LLDB - Added relevant test case code. Bonus points for identifying the source of the quotes :-) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153624 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
bd5871561db60b84c38466534694ca246b60d108 |
29-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Fixing an issue where saying 'po foo' made both the summary and the description for foo come out. If one is po'ing something they most probably only care about the description - We will not omit the summary git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153608 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
67812172eecc4426c17b25354af072f6a4a9aad9 |
27-Mar-2012 |
Enrico Granata <egranata@apple.com> |
adding a summary for Objective-C type 'Class' git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153541 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
dba1de8d585f27601162f674d30ab71d9c83ccde |
27-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Synthetic values are now automatically enabled and active by default. SBValue is set up to always wrap a synthetic value when one is available. A new setting enable-synthetic-value is provided on the target to disable this behavior. There also is a new GetNonSyntheticValue() API call on SBValue to go back from synthetic to non-synthetic. There is no call to go from non-synthetic to synthetic. The test suite has been changed accordingly. Fallout from changes to type searching: an hack has to be played to make it possible to use maps that contain std::string due to the special name replacement operated by clang Fixing a test case that was using libstdcpp instead of libc++ - caught as a consequence of said changes to type searching git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153495 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
ython_api/formatters/TestFormattersSBAPI.py
ython_api/formatters/jas_synth.py
ython_api/formatters/main.cpp
|
dc0a38c5a727cae5362b218a3180d0f4265a619d |
27-Mar-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/11113279> Fixed type lookups to "do the right thing". Prior to this fix, looking up a type using "foo::bar" would result in a type list that contains all types that had "bar" as a basename unless the symbol file was able to match fully qualified names (which our DWARF parser does not). This fix will allow type matches to be made based on the basename and then have the types that don't match filtered out. Types by name can be fully qualified, or partially qualified with the new "bool exact_match" parameter to the Module::FindTypes() method. This fixes some issue that we discovered with dynamic type resolution as well as improves the overall type lookups in LLDB. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153482 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
ang/c/set_values/TestSetValues.py
ang/cpp/signed_types/TestSignedTypes.py
ang/cpp/unsigned_types/TestUnsignedTypes.py
|
60c1006dc2f18925df191f0664b19f467d891076 |
25-Mar-2012 |
Eric Christopher <echristo@apple.com> |
Fix method name for output. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153416 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
|
d44c9d31d23d0b44ce40325ad69226889a9638bc |
24-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Adding a new API call IsTypeComplete() to SBType. This call is meant to check if the type has been previously completed or not (which is mostly interesting from a performance point of view) Adding a test case that checks that we do not complete types before due time. This should help us track cases similar to the cascading data formatters. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153363 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/type_completion/Makefile
unctionalities/type_completion/TestTypeCompletion.py
unctionalities/type_completion/main.cpp
|
f2cb7f275a8669eaef30a53c282db6ce9c03b332 |
22-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Removing cascading through inheritance chains for data formatters This is the feature that allowed the user to have things like: class Base { ... }; class Derived : public Base { ... }; and have formatters defined for Base work automatically for Derived. This feature turned out to be too expensive since it requires completing types. This patch takes care of removing cascading (other than typedefs chain cascading), updating the test suite accordingly, and adding required Cocoa class names to keep the AppKit formatters working git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153272 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-categories/main.cpp
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
c811f9f60058121e53f2d6b30cb8fc112b13ba26 |
22-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Check in main.c modified for testing hardware watchpoints on arm architectures. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153268 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/main.c
|
1abe4c00bbce29b53e3bd2a5f35de431cb59081b |
20-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a '-E' option to the test driver for the purpose of specifying some extra CFLAGS to pass to the toolchain in order to build the inferior programs to be run/debugged duirng the test suite. The architecture might dictate some special CFLAGS which are more easily specified in a central place (like the command line) instead of inside make rules. For Example, ./dotest.py -v -r /shared/phone -A armv7 -E "-isysroot your_sdk_root" functionalities/watchpoint/hello_watchpoint will relocate the particular test directory ('functionalities/watchpoint/hello_watchpoint' in this case) to a new directory named '/shared/phone'. The particular incarnation of the architecture-compiler combination of the test support files are therefore to be found under: /shared/phone.arch=armv7-compiler=clang/functionalities/watchpoint/hello_watchpoint The building of the inferior programs under testing is now working. The actual launching/debugging of the inferior programs are not yet working, neither is the setting of a watchpoint on the phone. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153070 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
cf09f885c201becf51acc4a5cfac00b3df53f2a8 |
19-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Massive enumeration name changes: a number of enums in ValueObject were not following the naming pattern Changes to synthetic children: - the update(self): function can now (optionally) return a value - if it returns boolean value True, ValueObjectSyntheticFilter will not clear its caches across stop-points this should allow better performance for Python-based synthetic children when one can be sure that the child ValueObjects have not changed - making a difference between a synthetic VO and a VO with a synthetic value: now a ValueObjectSyntheticFilter will not return itself as its own synthetic value, but will (correctly) claim to itself be synthetic - cleared up the internal synthetic children architecture to make a more consistent use of pointers and references instead of shared pointers when possible - major cleanup of unnecessary #include, data and functions in ValueObjectSyntheticFilter itself - removed the SyntheticValueType enum and replaced it with a plain boolean (to which it was equivalent in the first place) Some clean ups to the summary generation code Centralized the code that clears out user-visible strings and data in ValueObject More efficient summaries for libc++ containers git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153061 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/ftsp.py
unctionalities/data-formatter/data-formatter-python-synth/main.cpp
unctionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/main.cpp
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
|
1dbf2a82654bebe365eb882b2cad9af413418222 |
16-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Export the APIs submitted by Dawn to the Python bindings. Add a simple test case for the SBModule.compile_unit_iter() API. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152952 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/module_section/Makefile
ython_api/module_section/TestModuleAndSection.py
ython_api/module_section/b.cpp
ython_api/module_section/c.cpp
|
e1219bf98d8525a17abf9af506a4c75923ae6037 |
16-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix a bug in getRunOptions() where there was no space between the arch spec and the compiler spec. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152941 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
dbe2c827dfc16cbbaa1b33cc2d806368b9a0bea2 |
15-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case to go with <rdar://problem/11052829> and svn check-in r152809. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152825 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
ldbtest.py
|
c8dc8db600e285209410003356029cb43ac69737 |
15-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add test case associated with: rdar://problem/11034702 For the time being, skip the relevant disassemble action which resulted in a crash. Minor modification (print out format) to the existing TestDisassembleRawBytes.py test file. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152822 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/disassemble-raw-data/TestDisassembleRawData.py
ython_api/disassemble-raw-data/TestDisassemble_VST1_64.py
|
76fa7cfdbfaec5b23b66602f3584dfef54981cf3 |
14-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Remove a debug statement. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152732 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
|
7b9aacf4a454465af905e505f74245173714b23b |
13-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Changed several of the Cocoa formatters to match the output style that Xcode uses internally to provide summaries This has been done for those summaries where the difference is only cosmetic (e.g. naming things as items instead of values, ...) The LLDB output style has been preserved when it provides more information (e.g. telling the type as well as the value of an NSNumber) Test cases have been updated to reflect the updated output style where necessary git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152592 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py
|
66205ce5381ab6db1f9bff83c483a4dc5854afc7 |
12-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Added formatters for libc++ (http://libcxx.llvm.org): std::string has a summary provider std::vector std::list and std::map have both a summary and a synthetic children provider Given the usage of a custom namespace (std::__1::classname) for the implementation of libc++, we keep both libstdcpp and libc++ formatters enabled at the same time since that raises no conflicts and enabled for seamless transition between the two The formatters for libc++ reside in a libcxx category, and are loaded from libcxx.py (to be found in examples/synthetic) The formatters-stl test cases have been divided to be separate for libcxx and libstdcpp. This separation is necessary because (a) we need different compiler flags for libc++ than for libstdcpp (b) libc++ inlines a lot more than libstdcpp and some code changes were required to accommodate this difference git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152570 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
unctionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp
unctionalities/data-formatter/data-formatter-stl/libcxx/map/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
unctionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/Makefile
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
unctionalities/data-formatter/data-formatter-stl/libcxx/vector/main.cpp
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
unctionalities/data-formatter/data-formatter-stl/libstdcpp/vector/main.cpp
unctionalities/data-formatter/data-formatter-stl/list/Makefile
unctionalities/data-formatter/data-formatter-stl/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/list/main.cpp
unctionalities/data-formatter/data-formatter-stl/map/Makefile
unctionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/map/main.cpp
unctionalities/data-formatter/data-formatter-stl/vector/Makefile
unctionalities/data-formatter/data-formatter-stl/vector/TestDataFormatterStdVector.py
unctionalities/data-formatter/data-formatter-stl/vector/main.cpp
|
ab338087c1204caddacfa70e44d88c239bf72dcf |
12-Mar-2012 |
Sean Callanan <scallanan@apple.com> |
Disabled the i386 tests pending fixes in the JIT. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152568 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
92693b50c3526f9666bf23e408c53d0456a2f9f0 |
09-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add the capability on OS X to utilize 'xcrun' to locate the compilers used for building the inferior programs to be debugged while running the test suite. By default, compilers is set to ['clang'] and can be overridden using the "-C compilerA^compilerB" option. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152367 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
7798d7865c34c6621905c19a84b92b1c397520b0 |
09-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
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 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152357 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
6e12c7a5a851f661677b16c544aac2f93fb6e86d |
08-Mar-2012 |
Sean Callanan <scallanan@apple.com> |
Updated the revision of LLVM/Clang used by LLDB. 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++. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152286 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/blocks/TestBlocks.py
ang/objc/objc-new-syntax/Makefile
ang/objc/objc-new-syntax/TestObjCNewSyntax.py
ang/objc/objc-new-syntax/main.m
|
1bc1caddf53e812ba87411f76fc15b7971930c22 |
07-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10611315 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". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152190 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/register/Makefile
unctionalities/register/TestRegisters.py
unctionalities/register/main.cpp
|
323cec97d94bd1836e8c158e7065fdb5ad71ad48 |
07-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Fixing some of the new Python formatters to report '1 object' instead of '1 objects' git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152186 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-3534688/Makefile
unctionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py
unctionalities/data-formatter/rdar-3534688/main.m
|
80e7b0f178413d7bbb5affd532feee2106b7000f |
07-Mar-2012 |
Enrico Granata <egranata@apple.com> |
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 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152161 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-stepping/TestObjCStepping.py
|
69716a233f3240978bdbd7a8b682b31e7e07e498 |
06-Mar-2012 |
Sean Callanan <scallanan@apple.com> |
Added support for calling blocks from expressions, but gated by an #ifdef until we roll LLVM/Clang to bring in the necessary parser support. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152149 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/blocks/Makefile
ang/c/blocks/TestBlocks.py
ang/c/blocks/main.c
|
fc9867d9470eae860b9fa7e221eb40fa9df43664 |
06-Mar-2012 |
Jim Ingham <jingham@apple.com> |
Add a test case and fix the C++ exception symbols. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152101 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/exceptions/Makefile
ang/cpp/exceptions/TestCPPExceptionBreakpoints.py
ang/cpp/exceptions/exceptions.cpp
|
0164b750df7e431716abfd3b26f124dfeefeae76 |
05-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10976649 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. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152050 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/TestFrames.py
|
c94765e60759ece7681561f91ca70bc41ab6cbdc |
05-Mar-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add two expectedFailure decorators with radar number. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152049 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-stepping/TestObjCStepping.py
|
b129ac0c509ade6e7a192dfdc1dc0d7fa0ee220b |
03-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Correct wrong values in the test case git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151982 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-10887661/TestRdar10887661.py
|
0467495c2c84a8f088993d04c96233aa0d98c914 |
03-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Currently TestDataFormatterPythonSynth is failing because of an issue with children capping. Splitting the test case in two so we better isolate the issue and also for better logical separation git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151966 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/rdar-10887661/Makefile
unctionalities/data-formatter/rdar-10887661/TestRdar10887661.py
unctionalities/data-formatter/rdar-10887661/fooSynthProvider.py
unctionalities/data-formatter/rdar-10887661/main.cpp
|
de3b25b645e4b4d97a87ebf059056a6c696d4e9c |
03-Mar-2012 |
Enrico Granata <egranata@apple.com> |
added a new formatter for CF(Mutable)BitVector fixed a few potential NULL-pointer derefs in ValueObject we have a way to provide docstrings for properties we add to the SWIG layer - a few of these properties have a docstring already, more will come in future commits added a new bunch of properties to SBData to make it more natural and Python-like to access the data they contain git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151962 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
ython_api/sbdata/TestSBData.py
|
741c684a9fb8bb9115172e2b971c9313dff0467d |
02-Mar-2012 |
Enrico Granata <egranata@apple.com> |
Adding a test case for a bug where types CFGregorianDate and CFRange were improperly uniqued by LLDB such that both where shown as having the same structure contents - The bug itself is fixed in TOT but we want to catch regressions ASAP git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151929 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/rdar-10967107/Makefile
ang/objc/rdar-10967107/TestRdar10967107.py
ang/objc/rdar-10967107/main.m
|
23255c329d1177eae34bf159b0bd2e96d0043bde |
02-Mar-2012 |
Enrico Granata <egranata@apple.com> |
having std::vector still show children even if it now has a builtin summary - having the std::vector test case deal with the fact that we now have said builtin summary git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151870 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/vector/TestDataFormatterStdVector.py
|
3552ed0afbb58f377a4677ae5253e59b3ed80954 |
02-Mar-2012 |
Sean Callanan <scallanan@apple.com> |
Improved the type's handling of anonymous structs, so that the expression parser can look up members of anonymous structs correctly. This meant creating all the proper IndirectFieldDecls in each Record after it has been completely populated with members. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151868 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/anonymous/Makefile
ang/c/anonymous/TestAnonymous.py
ang/c/anonymous/main.c
|
86fcb16c848b7503b2d082158886359ef76f1a84 |
02-Mar-2012 |
Enrico Granata <egranata@apple.com> |
(a) adding formatters for: NSTimeZone and CFTimeZonRef SEL and related types CFGregorianDate git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151866 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
83410e5e9e040ea5c6691f933aa9a6c4dcea4d8b |
01-Mar-2012 |
Enrico Granata <egranata@apple.com> |
(a) adding an introspection formatter for NS(Mutable)IndexSet (b) fixes and improvements to the formatters for NSDate and NSString (c) adding an introspection formatter for NSCountedSet (d) making the Objective-C formatters test cases pass on both 64 and 32 bit one of the test cases is marked as expected failure on i386 - support needs to be added to the LLDB core for it to pass git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151826 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
3069c62fc7d3c0b857cd1e9269ff22011ed418fb |
01-Mar-2012 |
Enrico Granata <egranata@apple.com> |
1) solving a bug where, after Jim's fixes to stack frames, synthetic children were not recalculated when necessary, causing them to get out of sync with live data 2) providing an updated list of tagged pointers values for the objc_runtime module - hopefully this one is final 3) changing ValueObject::DumpValueObject to use an Options class instead of providing a bulky list of parameters to pass around this change had been laid out previously, but some clients of DumpValueObject() were still using the old prototype and some arguments were treated in a special way and passed in directly instead of through the Options class 4) providing new GetSummaryAsCString() and GetValueAsCString() calls in ValueObject that are passed a formatter object and a destination string and fill the string by formatting themselves using the formatter argument instead of the default for the current ValueObject 5) removing the option to have formats and summaries stick to a variable for the current stoppoint after some debate, we are going with non-sticky: if you say frame variable --format hex foo, the hex format will only be applied to the current command execution and not stick when redisplaying foo the other option would be full stickiness, which means that foo would be formatted as hex for its whole lifetime we are open to suggestions on what feels "natural" in this regard git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151801 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
|
368642381152fa240812e6a318bd0466357f6bf4 |
01-Mar-2012 |
Sean Callanan <scallanan@apple.com> |
Added a testcase verifying that forward declarations of Objective-C classes in header files are correctly resolved in the final type. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151790 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/forward-decl/Container.h
ang/objc/forward-decl/Container.m
ang/objc/forward-decl/Makefile
ang/objc/forward-decl/TestForwardDecl.py
ang/objc/forward-decl/main.m
|
1328b1410eb0f5e03c3b3ee302e9adca3e1b0361 |
29-Feb-2012 |
Enrico Granata <egranata@apple.com> |
This commit: a) adds a Python summary provider for NSDate b) changes the initialization for ScriptInterpreter so that we are not passing a bulk of Python-specific function pointers around c) provides a new ScriptInterpreterObject class that allows for ref-count safe wrapping of scripting objects on the C++ side d) contains much needed performance improvements: 1) the pointer to the Python function generating a scripted summary is now cached instead of looked up every time 2) redundant memory reads in the Python ObjC runtime wrapper are eliminated 3) summaries now use the m_summary_str in ValueObject to store their data instead of passing around ( == copying) an std::string object e) contains other minor fixes, such as adding descriptive error messages for some cases of summary generation failure git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151703 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
7ff467bd124f51817f1e277163bfd13ca844c60e |
28-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Forgot to check in this file with r151593. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151640 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/memory/read/main.cpp
|
50b1833fa71a73478f7b1cb8e29f8cadafdebb8d |
28-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add more test scenarios for 'memory read': one for a successful command execution and one for another error message. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151593 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/memory/read/TestMemoryRead.py
|
ab57878f7ba07a6bab5abec197c33b34777a514d |
28-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Modify the expected error message accordingly after the recent change to DataExtractor.cpp. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151587 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/memory/read/TestMemoryRead.py
|
f0ff42a169e90f4ca45b1c1d0ad99b93a092e128 |
28-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
During the test case tearDown(), give it one final blow to make sure the child process spawned by pexpect is terminated. Fix the issue of many '(lldb)' zombie processes observed by Jim. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151583 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
ee2acc41df35096f0f2501a82b6120f328593e81 |
27-Feb-2012 |
Sean Callanan <scallanan@apple.com> |
Fixed an overly-specific testcase that depended on libm being loaded. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151565 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
eccc8c4237eda09b2d6fa45d4a6017a586ec2209 |
25-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Create an additional watchpoint during the test run and verify that the watchpoint fired has the expected watchpoint id. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151404 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
|
b389c02c7c3c8ad639354736891bcb385e3d8fb9 |
24-Feb-2012 |
Enrico Granata <egranata@apple.com> |
Reworking the ObjC formatters test case not to test everything in one huge code block - better for maintenance and debugging git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151390 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
96da3f3571a22f0fbd298f1090f8d447455648f7 |
24-Feb-2012 |
Enrico Granata <egranata@apple.com> |
commenting parts of std::map test case which would make the test case fail when using TOT clang, but succeed on older compiler releases git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151309 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py
|
c510fa1323a56161d16d5a07d39765d3686fa322 |
24-Feb-2012 |
Enrico Granata <egranata@apple.com> |
This patch provides a set of formatters for most of the commonly used Cocoa classes. The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation. A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit. The formatters are contained in a category named "AppKit", which is not enabled at startup. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151301 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
|
8f84cfb6f46256ae98a40fd217b206f48b7345c8 |
24-Feb-2012 |
Enrico Granata <egranata@apple.com> |
This patch provides a set of formatters for most of the commonly used Cocoa classes. The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation. A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit. The formatters are contained in a category named "AppKit", which is not enabled at startup. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151299 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
unctionalities/data-formatter/data-formatter-objc/Makefile
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
78fa6c9532efbfa344093320f5c85b17d46d0327 |
23-Feb-2012 |
Sean Callanan <scallanan@apple.com> |
Made the hidden-ivar test a little more rigorous. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151221 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/hidden-ivars/TestHiddenIvars.py
ang/objc/hidden-ivars/main.m
|
931acecd4e3af534028936431dc0f75a9fd6eb02 |
23-Feb-2012 |
Sean Callanan <scallanan@apple.com> |
Added support for looking up the complete type for Objective-C classes. This allows LLDB to find ivars declared in class extensions in modules other than where the debugger is currently stopped (we already supported this when the debugger was stopped in the same module as the definition). This involved the following main changes: - The ObjCLanguageRuntime now knows how to hunt for the authoritative version of an Objective-C type. It looks for the symbol indicating a definition, and then gets the type from the module containing that symbol. - ValueObjects now report their type with a potential override, and the override is set if the type of the ValueObject is an Objective-C class or pointer type that is defined somewhere other than the original reported type. This means that "frame variable" will always use the complete type if one is available. - The ClangASTSource now looks for the complete type when looking for ivars. This means that "expr" will always use the complete type if one is available. - I added a testcase that verifies that both "frame variable" and "expr" work. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151214 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/hidden-ivars/InternalDefiner.h
ang/objc/hidden-ivars/InternalDefiner.m
ang/objc/hidden-ivars/Makefile
ang/objc/hidden-ivars/TestHiddenIvars.py
ang/objc/hidden-ivars/main.m
ake/Makefile.rules
|
9a7e4c39cb9b94cf14f3abd1eeed264cee9ba333 |
23-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add @expectedFailure decorator with radar number. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151212 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
|
891d8ba1bf5e3a59bd359e391419ebe57002095f |
18-Feb-2012 |
Enrico Granata <granata.enrico@gmail.com> |
making it so that the std::map test case does a better job at checking for interference between expression parser and synthetic children; plus being more verbose in the comments git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150854 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/map/main.cpp
|
d760907c1d42726fa0c8c48efa28385ed339bb94 |
17-Feb-2012 |
Enrico Granata <granata.enrico@gmail.com> |
Adding formatters for several useful Objective-C/Cocoa data types. The new categories are not enabled at startup, but can be manually activated if desired. Adding new API calls to SBValue to be able to retrieve the associated formatters Some refactoring to FormatNavigator::Get() in order to shrink its size down to more manageable terms (a future, massive, refactoring effort will still be needed) Test cases added for the above git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150784 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
unctionalities/data-formatter/rdar-10642615/Makefile
unctionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py
unctionalities/data-formatter/rdar-10642615/main.cpp
ython_api/formatters/TestFormattersSBAPI.py
|
758835b8486bddf191169dcd92224e6d9e0f57c3 |
17-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
memory read -f X doesn't print anything (lldb should warn when encountering an unsupported byte size) Also add a test sequence for it. rdar://problem/10876841 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150766 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/memory/read/TestMemoryRead.py
|
5564d80c3e2ac3fa14b60fd875c0dc960020040c |
16-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
memory read prints out duplicate entries when using vector formats DataExtractor::Dump() needs to supply the correct cursor when delegating to the child DataExtractor::Dump() calls. Add a regression test file. rdar://problem/10872908 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150729 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/memory/read/Makefile
unctionalities/memory/read/TestMemoryRead.py
unctionalities/memory/read/main.cpp
|
046ef69b3190d9839f992981d8b0263715f24f58 |
15-Feb-2012 |
Enrico Granata <granata.enrico@gmail.com> |
adding a new test case for the SB formatters API git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150559 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/formatters/Makefile
ython_api/formatters/TestFormattersSBAPI.py
ython_api/formatters/jas_synth.py
ython_api/formatters/main.cpp
|
2b05e2937e4ff82951a0e3b288acd15d2e278ff3 |
14-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Remove the functionality of using 'frame variable -w' to set a watchpoint now that 'watchpoint set variable/expression' is working. Also update the relevant test cases. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150514 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
|
9658054db1a0c04d0939c6951976ad5a4e2745ae |
14-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Remove @expectedFailure decorators as the bug has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150501 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjectDescriptionAPI.py
|
7abba2abbf83470d9105baeb38a86fa94ae2b98f |
14-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases exercising SBValue.GetObjectDescription() with the SBValue from SBTarget.FindGlobalVariables() as well as from SBFrame.GetVariables(). Both scenarios are expected to work. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150450 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjectDescriptionAPI.py
ang/objc/foundation/main.m
|
e7e2099785da989e1b348e4f159a1e9c9269185a |
14-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for completion from 'settings set target.exec' to 'settings set target.exec-search-paths '. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150427 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
fbe7783a2a7412714916900213b2bc0b62adf25b |
10-Feb-2012 |
Enrico Granata <granata.enrico@gmail.com> |
fixing a macro name mismatch that was making our test case succeed for the wrong reason; plus a minor code change to the CPP side of the test which eases debugging efforts git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150213 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestCppValueCast.py
ang/cpp/dynamic-value/sbvalue-cast.cpp
|
45eabea18666e21756cb76fca7418d64a1a5e3ac |
09-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix compile time warnings for the inferior program. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150205 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestCppValueCast.py
ang/cpp/dynamic-value/sbvalue-cast.cpp
|
c8fb5e8ef25c0e490c308b3865caabd792644e7a |
09-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Setting terminal type to 'xterm' on Darwin; otherwise, to 'vt100'. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150198 91177308-0d34-0410-b5e6-96231b3b80d8
erminal/TestSTTYBeforeAndAfter.py
|
8c1af79e3d88f26e7569e895c5bd70a0de87d3bc |
09-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add error handling for missing option terminator "--" and a test scenario for it. Also fix a logic error for a missing return stmt. Oops. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150195 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
|
7be5d353622a652956822978d861d1353b903697 |
09-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add safe guard for when the 'expect' program cannot be located and skip the test. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150133 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
erminal/TestSTTYBeforeAndAfter.py
|
f9fa91b776f52762e0b150096a8f6786cc0e30bc |
09-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Set the terminal type to 'xterm' before doing 'stty -a'. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150127 91177308-0d34-0410-b5e6-96231b3b80d8
erminal/TestSTTYBeforeAndAfter.py
|
b82faf793667e58496dde2649a8a85d57f339ce5 |
09-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Make the expect_prompt more strict. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150124 91177308-0d34-0410-b5e6-96231b3b80d8
erminal/TestSTTYBeforeAndAfter.py
|
8f82f82ececde2d6381919d334f751554701eb9b |
09-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a case to test that 'stty -a' displays the same output before and after running the lldb command. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150119 91177308-0d34-0410-b5e6-96231b3b80d8
erminal/TestSTTYBeforeAndAfter.py
|
42404d284b22750851b26ae9a4ab42101f673089 |
08-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
After discussions with Jim and Greg, modify the 'watchpoint set' command to become a mutiword command with subcommand 'expression' and 'variable'. The first subcommand is for supplying an expression to be evaluated into an address to watch for, while the second is for watching a variable. 'watchpoint set expression' is a raw command, which means that you need to use the "--" option terminator to end the '-w' or '-x' option processing and to start typing your expression. Also update several test cases to comply and add a couple of test cases into TestCompletion.py, in particular, test that 'watchpoint set ex' completes to 'watchpoint set expression ' and that 'watchpoint set var' completes to 'watchpoint set variable '. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150109 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
elp/TestHelp.py
|
6183fccd61b67e814d9e7e85b25516a28edfe864 |
08-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Refine the 'watchpoint set' command to now require either the '-v' option (for watching of a variable) or the '-e' option (for watching of an address) to be present. Update some existing test cases with the required option and add some more test cases. Since the '-v' option takes <variable-name> and the '-e' option takes <expr> as the command arg, the existing infrastructure for generating the option usage can produce confusing help message, like: watchpoint set -e [-w <watch-type>] [-x <byte-size>] <variable-name | expr> watchpoint set -v [-w <watch-type>] [-x <byte-size>] <variable-name | expr> The solution adopted is to provide an extra member field to the struct CommandArgumentData called (uint32_t)arg_opt_set_association, whose purpose is to link this particular argument data with some option set(s). Also modify the signature of CommandObject::GetFormattedCommandArguments() to: GetFormattedCommandArguments (Stream &str, uint32_t opt_set_mask = LLDB_OPT_SET_ALL) it now takes an additional opt_set_mask which can be used to generate a filtered formatted command args for help message. Options::GenerateOptionUsage() impl is modified to call the GetFormattedCommandArguments() appropriately. So that the help message now looks like: watchpoint set -e [-w <watch-type>] [-x <byte-size>] <expr> watchpoint set -v [-w <watch-type>] [-x <byte-size>] <variable-name> rdar://problem/10703256 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150032 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
elp/TestHelp.py
|
5e3e8c1a65ee0e8a3cd2d637a95dd2b43dbaf2df |
06-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Special build dictionary needs the same dictionary when specifying the after-the-test cleanup. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149900 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestCppValueCast.py
|
d4d4e09b0dddc7cbfc95bd77c251c092e9ae1f1a |
06-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix a typo in specifying the error path when launching the inferior. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149899 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/TestProcessLaunch.py
|
8adc2dda0802e81e6cc87bda625d843006845bb1 |
06-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Print out the frame only if self.TraceOn() is True. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149893 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/sbdata/TestSBData.py
|
e745f4db0cff7214674cd421dd690f05bd2a28e1 |
06-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add regular C++ inheritance in addition to the virtual inheritance to TestCppValueCast.py. Plus mark the virtual inheritance test cases as expected failures. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149891 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestCppValueCast.py
ang/cpp/dynamic-value/sbvalue-cast.cpp
|
7dd5c51fbab8384b18f20ecc125f9a1bb3c9bcb2 |
06-Feb-2012 |
Greg Clayton <gclayton@apple.com> |
Removed all of the "#ifndef SWIG" from the SB header files since we are using interface (.i) files for each class. Changed the FindFunction class from: uint32_t SBTarget::FindFunctions (const char *name, uint32_t name_type_mask, bool append, lldb::SBSymbolContextList& sc_list) uint32_t SBModule::FindFunctions (const char *name, uint32_t name_type_mask, bool append, lldb::SBSymbolContextList& sc_list) To: lldb::SBSymbolContextList SBTarget::FindFunctions (const char *name, uint32_t name_type_mask = lldb::eFunctionNameTypeAny); lldb::SBSymbolContextList SBModule::FindFunctions (const char *name, uint32_t name_type_mask = lldb::eFunctionNameTypeAny); This makes the API easier to use from python. Also added the ability to append a SBSymbolContext or a SBSymbolContextList to a SBSymbolContextList. Exposed properties for lldb.SBSymbolContextList in python: lldb.SBSymbolContextList.modules => list() or all lldb.SBModule objects in the list lldb.SBSymbolContextList.compile_units => list() or all lldb.SBCompileUnits objects in the list lldb.SBSymbolContextList.functions => list() or all lldb.SBFunction objects in the list lldb.SBSymbolContextList.blocks => list() or all lldb.SBBlock objects in the list lldb.SBSymbolContextList.line_entries => list() or all lldb.SBLineEntry objects in the list lldb.SBSymbolContextList.symbols => list() or all lldb.SBSymbol objects in the list This allows a call to the SBTarget::FindFunctions(...) and SBModule::FindFunctions(...) and then the result can be used to extract the desired information: sc_list = lldb.target.FindFunctions("erase") for function in sc_list.functions: print function for symbol in sc_list.symbols: print symbol Exposed properties for the lldb.SBSymbolContext objects in python: lldb.SBSymbolContext.module => lldb.SBModule lldb.SBSymbolContext.compile_unit => lldb.SBCompileUnit lldb.SBSymbolContext.function => lldb.SBFunction lldb.SBSymbolContext.block => lldb.SBBlock lldb.SBSymbolContext.line_entry => lldb.SBLineEntry lldb.SBSymbolContext.symbol => lldb.SBSymbol Exposed properties for the lldb.SBBlock objects in python: lldb.SBBlock.parent => lldb.SBBlock for the parent block that contains lldb.SBBlock.sibling => lldb.SBBlock for the sibling block to the current block lldb.SBBlock.first_child => lldb.SBBlock for the first child block to the current block lldb.SBBlock.call_site => for inline functions, return a lldb.declaration object that gives the call site file, line and column lldb.SBBlock.name => for inline functions this is the name of the inline function that this block represents lldb.SBBlock.inlined_block => returns the inlined function block that contains this block (might return itself if the current block is an inlined block) lldb.SBBlock.range[int] => access the address ranges for a block by index, a list() with start and end address is returned lldb.SBBlock.ranges => an array or all address ranges for this block lldb.SBBlock.num_ranges => the number of address ranges for this blcok SBFunction objects can now get the SBType and the SBBlock that represents the top scope of the function. SBBlock objects can now get the variable list from the current block. The value list returned allows varaibles to be viewed prior with no process if code wants to check the variables in a function. There are two ways to get a variable list from a SBBlock: lldb::SBValueList SBBlock::GetVariables (lldb::SBFrame& frame, bool arguments, bool locals, bool statics, lldb::DynamicValueType use_dynamic); lldb::SBValueList SBBlock::GetVariables (lldb::SBTarget& target, bool arguments, bool locals, bool statics); When a SBFrame is used, the values returned will be locked down to the frame and the values will be evaluated in the context of that frame. When a SBTarget is used, global an static variables can be viewed without a running process. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149853 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_module.py
ython_api/default-constructor/sb_target.py
ython_api/module_section/TestModuleAndSection.py
ython_api/target/TestTargetAPI.py
|
8f2e392e8937aaf66f91201dc5f4190d61902c67 |
04-Feb-2012 |
Sean Callanan <scallanan@apple.com> |
I have brought LLDB up-to-date with top of tree LLVM/Clang. This brings in several fixes, including: - Improvements in the Just-In-Time compiler's allocation of memory: the JIT now allocates memory in chunks of sections, improving its ability to generate relocations. I have revamped the RecordingMemoryManager to reflect these changes, as well as to get the memory allocation and data copying out fo the ClangExpressionParser code. Jim Grosbach wrote the updates to the JIT on the LLVM side. - A new ExternalASTSource interface to allow LLDB to report accurate structure layout information to Clang. Previously we could only report the sizes of fields, not their offsets. This meant that if data structures included field alignment directives, we could not communicate the necessary alignment to Clang and accesses to the data would fail. Now we can (and I have update the relevant test case). Thanks to Doug Gregor for implementing the Clang side of this fix. - The way Objective-C interfaces are completed by Clang has been made consistent with RecordDecls; with help from Doug Gregor and Greg Clayton I have ensured that this still works. - I have eliminated all local LLVM and Clang patches, committing the ones that are still relevant to LLVM and Clang as needed. I have tested the changes extensively locally, but please let me know if they cause any trouble for you. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149775 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/bitfields/TestBitfields.py
ang/c/bitfields/main.c
|
0a19a1b9c25117854f226256805239d95153ed2d |
04-Feb-2012 |
Greg Clayton <gclayton@apple.com> |
Convert all python objects in our API to use overload the __str__ method instead of the __repr__. __repr__ is a function that should return an expression that can be used to recreate an python object and we were using it to just return a human readable string. Fixed a crasher when using the new implementation of SBValue::Cast(SBType). Thread hardened lldb::SBValue and lldb::SBWatchpoint and did other general improvements to the API. Fixed a crasher in lldb::SBValue::GetChildMemberWithName() where we didn't correctly handle not having a target. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149743 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
ang/c/array_types/TestArrayTypes.py
ang/cpp/class_types/TestClassTypes.py
ang/cpp/stl/TestStdCXXDisassembly.py
ldbutil.py
ython_api/module_section/TestModuleAndSection.py
ython_api/sbdata/TestSBData.py
ython_api/symbol-context/TestSymbolContext.py
|
71d249d932b3bb7a47d133f4a2227f62c84aefbd |
04-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for SBValue.Cast(SBType). The test logic needs more polishing. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149741 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestCppValueCast.py
ang/cpp/dynamic-value/sbvalue-cast.cpp
|
9013829b87f613cd5ff91f1c4cffa2d81690b7a9 |
03-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix typos. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149710 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/TestSTL.py
|
2ef5eae17206b691a259975cfeacdecff7e054c3 |
03-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for APIs to get template arguments from an SBType. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149707 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/TestSTL.py
ldbtest.py
|
6bbfa6c421db7b1aec5d6c04a572d6ec6381a343 |
03-Feb-2012 |
Enrico Granata <granata.enrico@gmail.com> |
Fixing issues where synthetic children providers for STL containers std::list and std::map where not doing their job properly git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149700 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py
|
4ab0c035dd71dcd549869884417ed7c757ad1dfb |
03-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a couple of simple completion test cases for 'target ' and 'target va'. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149656 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
2f2c277dd88f3e252394f70516b63f757d1a09a3 |
03-Feb-2012 |
Enrico Granata <granata.enrico@gmail.com> |
Added a new --omit-names (-O, uppercase letter o) option to "type summary add". When used in conjunction with --inline-children, this option will cause the names of the values to be omitted from the output. This can be beneficial in cases such as vFloat, where it will compact the representation from ([0]=1,[1]=2,[2]=3,[3]=4) to (1, 2, 3, 4). Added a test case to check that the new option works correctly. Also took some time to revisit SummaryFormat and related classes and tweak them for added readability and maintainability. Finally, added a new class name to which the std::string summary should be applied. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149644 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-10642615/Makefile
unctionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py
unctionalities/data-formatter/rdar-10642615/main.cpp
|
6c49bf469d8b43eaab76a43f7a17ac6137a0380c |
02-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
For processes which are not in one of the "launched and stopped" state, 'target variable' command should use Target::ReadMemory() call to read from the file section offset address. Also remove the @expectedFailure decorator.. 'target variable' command fails if the target program has been run rdar://problem/9763907 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149629 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/target_command/TestTargetCommand.py
|
02b6bef8009d2410ed8f3255ce545d42ac5b9b5e |
01-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix indentation. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149529 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/target_command/TestTargetCommand.py
|
cfbfcd2121002ada92ac24dece48a28559651949 |
01-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add @expectedFailure decorators. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149519 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py
|
cbf1591dd5b3d9d364d401bd857241bde198b645 |
01-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
lldb should warn when dSYM does not match the binary. o Symbols.cpp: Emit a warning message when dSYM does not match the binary. o warnings/uuid: Added regression test case. o lldbtest.py: Modified to allow test case writer to demand that the build command does not begin with a clean first; required to make TestUUIDMismatchWanring.py work. rdar://problem/10515708 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149465 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/builder_base.py
lugins/builder_darwin.py
lugins/builder_linux2.py
arnings/uuid/Makefile
arnings/uuid/TestUUIDMismatchWanring.py
arnings/uuid/main.cpp.template
|
e20090b92739c6a142bf97e69159cccc869c394d |
01-Feb-2012 |
Enrico Granata <granata.enrico@gmail.com> |
remove spurious leftover code from std::list testcase git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149461 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/list/TestDataFormatterStdList.py
|
86ad476885a1fc5a14692534fb841be4eee7722a |
01-Feb-2012 |
Greg Clayton <gclayton@apple.com> |
Added fuzz testing for when we call API calls with an invalid object. We previously weren't catching that SBValue::Cast(...) would crash if we had an invalid (empty) SBValue object. Cleaned up the SBType API a bit. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149447 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_module.py
ython_api/default-constructor/sb_target.py
ython_api/default-constructor/sb_value.py
|
f4a39228f1b7d4cf68e04902af97e74946f4f880 |
31-Jan-2012 |
Enrico Granata <granata.enrico@gmail.com> |
Test case for std::map synthetic children provider (currently an expected failure) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149421 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/map/Makefile
unctionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py
unctionalities/data-formatter/data-formatter-stl/map/main.cpp
|
7541b1b40662fa80d0d5f3988c1fdbf2d7454f74 |
31-Jan-2012 |
Enrico Granata <granata.enrico@gmail.com> |
Test case for std::list synthetic children provider (currently an expected failure) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149420 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/list/Makefile
unctionalities/data-formatter/data-formatter-stl/list/TestDataFormatterStdList.py
unctionalities/data-formatter/data-formatter-stl/list/main.cpp
|
168e115a7d867b8afb60e8451583caaf5d824c9f |
31-Jan-2012 |
Enrico Granata <granata.enrico@gmail.com> |
Test case for std::vector synthetic children provider git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149419 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-stl/vector/Makefile
unctionalities/data-formatter/data-formatter-stl/vector/TestDataFormatterStdVector.py
unctionalities/data-formatter/data-formatter-stl/vector/main.cpp
|
e1df07f9a3817f7ea45164c28751de09a965b8d4 |
31-Jan-2012 |
Enrico Granata <granata.enrico@gmail.com> |
Splitting test case for Python synthetic children: part 1 test is only testing the synthetic children feature itself. More test cases will be commited for individual STL containers git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149393 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/StdListSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdMapSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdVectorSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-python-synth/main.cpp
|
28f3771c0b1ee1348647e7b9c9aa2c66ce040a5d |
31-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add some more test cases for the "watchpoint set" command. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149324 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
unctionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
|
6346a2917959270e99827b7c744fbfc6026ced13 |
31-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a period. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149305 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
0f907b887b07b8c33c77c0e058a0a6974e0c2aff |
31-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a '-u ENV_VAR_NAME' option to the test driver, whose purpose is to unset the said environment variable before starting the test runner which executes the test cases and may spawn child processes. An example: ./dotest.py -u MY_ENV1 -u MY_ENV2 -v -p TestWatchLocationWithWatchSet.py git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149304 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
bda984ab7719f3af66ae70defd42b6dfbd3e510b |
31-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a typo in the test case. Updated comment. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149295 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
|
55a2d5a49d82fcfc0fe72825293f6c04d1970e21 |
30-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add "watch set" command as a more general interface in conjunction with "frame var -w". Also add test cases for watching a variable as well as a location expressed as an expression. o TestMyFirstWatchpoint.py: Modified to test "watchpoint set -w write global". o TestWatchLocationWithWatchSet.py: Added to test "watchpoint set -w write -x 1 g_char_ptr + 7" where a contrived example program with several threads is supposed to only access the array index within the range [0..6], but there's some misbehaving thread writing past the range. rdar://problem/10701761 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149280 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/watchpoint_set_command/Makefile
unctionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
unctionalities/watchpoint/watchpoint_set_command/main.cpp
|
758442a4a4a031871f977d671724f0eb541c7eb7 |
25-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Move argument checking/manipulation into the front of the function. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148974 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
61d44fa90e287791d0fc405fd3ddde46848344eb |
25-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Clearify some comment. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148972 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
39fb5c20b0cccf28b1fcc875ca7de340059a46e0 |
25-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Cleanup docstring and remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148971 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
42b7ff92105e1b9e96c870ebea2ce6ab601d8809 |
25-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add some more test cases for command completion: o complete an unambiguous option o complete/list the available option values o complete/list the candidate command names git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148899 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
4fda4674ee771a26dc04ba090539475d679791d5 |
24-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Modify redo.py script so that if sessin_dir is left unspecified, it uses the heuristic to find the possible session directories with names starting with %Y-%m-%d- (for example, 2012-01-23-) and employs the one with the latest timestamp. For example: johnny:/Volumes/data/lldb/svn/latest/test $ ./redo.py Using session dir path: /Volumes/data/lldb/svn/latest/test/2012-01-23-11_28_30 adding filterspec: DisassembleRawDataTestCase.test_disassemble_raw_data Running ./dotest.py -C clang -v -t -f DisassembleRawDataTestCase.test_disassemble_raw_data LLDB build dir: /Volumes/data/lldb/svn/latest/build/Debug LLDB-108 Path: /Volumes/data/lldb/svn/latest 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: 148710 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 148650 Last Changed Date: 2012-01-21 18:55:08 -0800 (Sat, 21 Jan 2012) Session logs for test failures/errors/unexpected successes will go into directory '2012-01-23-17_04_48' Command invoked: python ./dotest.py -C clang -v -t -f DisassembleRawDataTestCase.test_disassemble_raw_data Configuration: compiler=clang ---------------------------------------------------------------------- Collected 1 test Change dir to: /Volumes/data/lldb/svn/latest/test/python_api/disassemble-raw-data 1: test_disassemble_raw_data (TestDisassembleRawData.DisassembleRawDataTestCase) Test disassembling raw bytes with the API. ... Raw bytes: ['0x48', '0x89', '0xe5'] Disassembled: movq %rsp, %rbp ok Restore dir to: /Volumes/data/lldb/svn/latest/test ---------------------------------------------------------------------- Ran 1 test in 0.233s OK git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148766 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
f8727758f0bd0dc6c51e3850feead3079b527c27 |
23-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Followup check in for http://llvm.org/viewvc/llvm-project?rev=148491&view=rev, where we changed the CommandObjectSettingsSet object impl to require raw command string. Do the same for CommandObjectSettingsAppend/InsertBefore/InsertAfter classes and add test cases for basic functionalities as well as for variable name completion. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148719 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
ettings/TestSettings.py
|
ad635c825252a52296a6b2c05f71fc27c77dd92e |
23-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Dump the raw bytes and the disassembled instruction before calling self.assertTrue() instead of after, in case the assert fails for any reason. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148717 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/disassemble-raw-data/TestDisassembleRawData.py
|
c8bba4594ddbde127a8c935422ddfa7c30868946 |
21-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Followup check in for http://llvm.org/viewvc/llvm-project?rev=148491&view=rev, where we changed the CommandObjectSettingsSet object impl to require raw command string. Do the same for CommandObjectSettingsReplace class and add two test cases; one for the "settings replace" command and the other to ensure that completion for variable name still works. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148615 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
ettings/TestSettings.py
|
47397c75da59795d2219da7d6dbf5719e811ffa9 |
21-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add comment. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148602 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
5b6e565fe6f5e46a002b80c113c9748610a84840 |
21-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
A little bit of cleanup to make the code more understandable. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148600 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
|
fbcad6858fbc4b1401bd2ac10471e32f1fa8494d |
21-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
o CommandObjectSettingsSet.cpp: Fix a bug where "settings set -r th" wouldn't complete. o UserSettingsController.cpp: Fix a bug where "settings set target.process." wouldn't complete. o test/functionalities/completion: Add various completion test cases related to 'settings set' command. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148596 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/completion/TestCompletion.py
ldbtest.py
|
a1b0ce1323ad4f3448c3c947fca9934a8a0ee41b |
19-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10712130 Fixed an issue where backtick char is not properly honored when setting the frame-format variable, like the following: (lldb) settings set frame-format frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{`${function.name-with-args}${function.pc-offset}}}{ at ${line.file.basename}:${line.number}}\n (lldb) settings show frame-format frame-format (string) = "frame #${frame.index}: ${frame.pc}{ `${module.file.basename}{${function.name-with-args}${function.pc-offset}}}{` at ${line.file.basename}:${line.number}}\n" (lldb) o CommandObjectSettings.h/.cpp: Modify the command object impl to require raw command string instead of parsed command string, which also fixes an outstanding issue that customizing the prompt with trailing spaces doesn't work. o Args.cpp: During CommandInterpreter::HandleCommand(), there is a PreprocessCommand phase which already strips/processes pairs of backticks as an expression eval step. There's no need to treat a backtick as starting a quote. o TestAbbreviations.py and change_prompt.lldb: Fixed incorrect test case/logic. o TestSettings.py: Remove expectedFailure decorator. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148491 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/abbreviation/change_prompt.lldb
ettings/TestSettings.py
|
b46346b51cb33ed05ef603d3999e6b24c414e705 |
18-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add comment regarding TestHelloWorld.py's use of a dictionary to specify/overwrite the EXE name. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148418 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/hello_world/Makefile
|
5034a14b9ad56cc248f463989f663094cb4d443b |
18-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Modify the test cases so that each uses a unique executable name for the debugger to attach/launch. I've see cases where there are lingering processes ("hello_world") staying around and the test_with_dsym_and_attach_to_process_with_name_api() test case just hangs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148417 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/hello_world/TestHelloWorld.py
|
781452a170a3ab6f02e57391ba2616de544b55bb |
18-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case where 'settings set frame-format' supplies a format string containing, among other things, a single backtick character. rdar://problem/10712130 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148403 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
e9eae8142a492bb17af559eed5ad1a5e382c3905 |
18-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a '-X excluded-dir' option to the test driver to exclude a directory from consideration during test discovery. For example: ./dotest.py -X types -v from the test dir will ignore test cases under test/types. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148379 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
3cab941865c8ad491db34bfffd7123e55db3e8be |
17-Jan-2012 |
Jim Ingham <jingham@apple.com> |
Fix the test properly now that SBValue::GetValueAsUnsigned works for bitfields. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148280 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
|
ce9cf4ecada93b4795f675cbb6b8ca31e1af783e |
17-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add usage example of specifying the full path to the compiler used while building the debuggees for running the test suite. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148273 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
a2a9f793aacfb8413ca2e64e58e32de89d3c0c42 |
17-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add usage example from test/functionalities/archives/Makefile. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148269 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
5d235d54908b6db4825bc8de9116003d0a7cd0e3 |
13-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add some description for this test directory. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148075 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/archives/README
|
111e18b9cf43779c865dde7e43d90880f3af7f13 |
13-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Modify a couple of Makefiles to use clang instead of gcc, since gcc is being deprecated. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148071 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/Makefile
acosx/universal/Makefile
|
62f0b37967f3bbc699e2357683f745e65c290cec |
13-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10680957 Need a test case that tests DWARF with .o in .a files test/functionalities/archives: Produces libfoo.a from a.o and b.o. Test breaking inside functions defined inside the libfoo.a BSD Archive. test/make/makefile.rules: Some additional rules to sepcify archive building. For example: ARCHIVE_NAME := libfoo.a ARCHIVE_C_SOURCES := a.c b.c git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148066 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/archives/Makefile
unctionalities/archives/TestBSDArchives.py
unctionalities/archives/a.c
unctionalities/archives/b.c
unctionalities/archives/main.c
ake/Makefile.rules
|
7c20b0a45fb6fddb4882bc390ec6bd5019e12cab |
12-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10492827 SBProcess.GetSTDERR() not getting stderr of the launched process Since we are launch the inferior with: process = target.LaunchSimple(None, None, os.getcwd()) i.e., without specifying stdin/out/err. A pseudo terminal is used for handling the process I/O, and we are satisfied once the expected output appears in process.GetSTDOUT(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147983 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/io/TestProcessIO.py
ython_api/process/io/main.c
|
26697b8eb4a5b7338e274d60e3a3ef6570cb49a3 |
11-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add more usage examples. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147909 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
157fd95760d8693b442104d995e0f4d422c1cd45 |
11-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add usage examples of recently added functionality. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147907 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
c21e523a1a7eb74d74d07990c5c12c16982ad1d9 |
11-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add comment for build_and_run_with_source_atoms_expr() and remove redundant #include from basic_type.cpp. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147895 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/basic_type.cpp
|
649383a85f4e685e455f0be5997fdd3c508c2627 |
11-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add documentation for the generic functions build_and_run() and build_and_run_expr() called from the Test*Types*.py test cases. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147893 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
8563081f48492def461f065b22d8fc502ea6807c |
10-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Refactor the test/types directory to reduce some stupid reduant code. Also add test cases to the test suite to exercise displaying of variables captured inside a block (Darwin-only). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147828 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
ypes/basic_type.cpp
|
159c7cc7ef0788aad9d1062d76a2412a0e2ef844 |
10-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a CFLAGS_EXTRAS make variable to be able to pass things (like '-DTEST_BLOCK_CAPTURED_VARS') to the compile phase. Plus add a DYLIB_ONLY make variable that can be used to turn off compilation/building of a.out. Example: [16:39:21] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make clean rm -rf "a.out" "a.out.dSYM" main.o main.d a.o a.d liba.dylib liba.dylib.dSYM [16:39:24] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make DYLIB_ONLY=YES clang -gdwarf-2 -O0 -arch x86_64 -c -o a.o a.c clang -gdwarf-2 -O0 -arch x86_64 a.o -install_name "@executable_path/liba.dylib" -dynamiclib -o "liba.dylib" [16:39:30] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147821 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
fcf74f11eb2b3cdb528d17ce9430f9f990f59a1a |
10-Jan-2012 |
Greg Clayton <gclayton@apple.com> |
Update makefile rules to support C++ files in shared libraries and fix how the linker driver is found. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147814 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
99323d8797f5a75dcbf64937422fbc685cf132b6 |
09-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147789 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
a6b7e323caa2bbd1b2835dcce775340b27c13bf3 |
07-Jan-2012 |
Greg Clayton <gclayton@apple.com> |
Patch from Enrico Granata that moves SBData related functions into the SBData class instead of requiring a live process in order to be able to create useful SBData objects. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147702 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/sbdata/TestSBData.py
|
9f074f0e030a74a3efd716a476b436f2d32bdf74 |
06-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
http://llvm.org/bugs/show_bug.cgi?id=11619 Allow creating SBData values from arrays or primitives in Python Patch submitted by Enrico Granata. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147639 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/sbdata/TestSBData.py
|
c61349681fa2923bd30ad16afce450a0da6108cf |
06-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
http://llvm.org/bugs/show_bug.cgi?id=11618 lldb::SBValue::AddressOf does not work on dereferenced registers in synthetic children provider Patch submitted by Enrico Granata. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147637 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/issue_11588/Test11588.py
|
aa9d2673f267807a392e0f5db8666a785230e197 |
05-Jan-2012 |
Sean Callanan <scallanan@apple.com> |
Fixed a problem in our local Clang's method for performing Objective-C instance variable lookup. Previously, it only completed the derived class that was the beginning of the search. Now, as it walks up the superclass chain looking for the ivar, it completes each superclass in turn. Also added a testcase covering this issue. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147621 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods.py
|
1716ad73618aab3cff4d82c3adc11a88ef76273d |
29-Dec-2011 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/10546739> Fixed SBValue::GetValueAsUnsigned() and SBValue::GetValueAsSigned() calls to work for bitfields. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147332 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
|
a4b43ab3cb7580667f9d7b5534dbc0c426964000 |
23-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10216227 LLDB (python bindings) Crashing in lldb::SBDebugger::DeleteTarget(lldb::SBTarget&) Need to check the validity of (SBTarget&)target passed to SBDebugger::DeleteTarget() before calling target->Destroy(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147213 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/debugger/TestDebuggerAPI.py
|
43504ce5a38fff1361bc190f718be1ec348dd4af |
23-Dec-2011 |
Jim Ingham <jingham@apple.com> |
Added a bunch more structure return tests. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147212 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/return-value/TestReturnValue.py
unctionalities/return-value/call-func.c
|
869e296d2eed659103d7ddecaee06356b83b9433 |
22-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Decorate the two test cases in TestReturnValue.py as i386 only expectedFailure, aka @expectedFailurei386. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147177 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/return-value/TestReturnValue.py
ldbtest.py
|
ec95492f93f5610d23344adf10ea4224795a4d46 |
22-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Indentation. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147172 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
68687f50e278727ee89202eeb2b159034e55e202 |
22-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Patches for running some of the Linux tests from Dawn, thanks! With some minor modification from me. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147160 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/Makefile
pi/check_public_api_headers/TestPublicAPIHeaders.py
acosx/order/TestOrderFile.py
|
016ef8886cd429f8a53bff967e601f831e409eaa |
22-Dec-2011 |
Jim Ingham <jingham@apple.com> |
Improve the x86_64 return value decoder to handle most structure returns. Switch from GetReturnValue, which was hardly ever used, to GetReturnValueObject which is much more convenient. Return the "return value object" as a persistent variable if requested. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147157 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/return-value/Makefile
unctionalities/return-value/TestReturnValue.py
unctionalities/return-value/call-func.c
|
daa6efe771f5f068e29328a774fa5bf2358ce14a |
21-Dec-2011 |
Sean Callanan <scallanan@apple.com> |
The "desired result type" code in the expression parser has hitherto been an implementation waiting for a use. I have now tied the '-o' option for the expression command -- which indicates that the result is an Objective-C object and needs to be printed -- to the ExpressionParser, which communicates the desired type to Clang. Now, if the result of an expression is determined by an Objective-C method call for which there is no type information, that result is implicitly cast to id if and only if the -o option is passed to the expression command. (Otherwise if there is no explicit cast Clang will issue an error. This behavior is identical to what happened before r146756.) Also added a testcase for -o enabled and disabled. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147099 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods2.py
|
15bb3cf9a0ba3778623e010d9f1fe9d1d67386c4 |
21-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong test method name. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147072 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
46052eb1ab6cb4399b96cc0343dd6f4cf17d7468 |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Properly name the test class as well as the test methods. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146957 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-property/TestObjCProperty.py
|
04bb5837ad7148a378ac0205c73e2da97caf56ab |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Properly name the test class as well as the test methods. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146956 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-checker/TestObjCCheckers.py
|
9fd2e38a1fa7f5cbbf70de0e2de35f72d77aced5 |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add a NULL check for SBValue.CreateValueFromExpression(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146954 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/change_values/TestChangeValueAPI.py
|
5a4bbceda5ba940b0a0cafa657a214c8e69e3512 |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add a NULL check for SBTarget.AttachToProcessWithName() so it will not hang. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146948 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/hello_world/TestHelloWorld.py
|
8eb4f1e660de74837c7d05b1ee9076a58a551093 |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz call to SBStringList.AppendString(None). LLDB should not crash. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146935 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_stringlist.py
|
4278bbed87590201f699769cdfbafcc5d6224c33 |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBStream APIs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146934 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
3424871a1f1ba05ecbeb2b493136f6e38c93ea4f |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test_frame_api_boundary_condition() test case to exercise a bunch of boundary condition inputs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146924 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/TestFrames.py
|
287e28b6dfc4f71113fe753223f165128acd4ff5 |
20-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test sequence which passes None to lldb.SBFileSpec(). LLDB should not crash. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146922 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
5feb64286d1cd579579ebc95c4d0e3ae6cefa86d |
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Tes passing None to SetErrorString() and SetErrorStringWithFormat(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146919 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_error.py
|
b6ca2e10eff8ea4eed52319b39440d79ff09d9fa |
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBDebugger APIs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146917 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/debugger/TestDebuggerAPI.py
|
c8918e5ee06c3f7ec84124ebfccddb738dca2bfb |
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a fuzz call for SBCommunication: obj.connect(None). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146912 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_communication.py
|
c82670a8876d9b78a3f967a2eef054c8c0bce237 |
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBCommandReturnObject.AppendMessage(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146911 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/interpreter/TestCommandInterpreterAPI.py
|
bab8cc9b05a2559759ec3252c6c519ca77479675 |
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBCommandInterpreter APIs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146909 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/interpreter/TestCommandInterpreterAPI.py
|
87b8c4c4ab028a1810667e117545156d40e64ff3 |
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Work in progress for: rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBModule and SBSection APIs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146899 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/module_section/TestModuleAndSection.py
|
0f71d1902c501e2ccd67257e2288cad57d127882 |
19-Dec-2011 |
Sean Callanan <scallanan@apple.com> |
Added some strength to the checks that prevent "id" from being found by the parser as an externally-defined type. Before, "id" would sometimes make it through if it was defined in a namespace, but this sometimes caused confusion, for example when it conflicted with std::locale::id. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146891 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-builtin-types/Makefile
ang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
ang/objc/objc-builtin-types/main.cpp
|
65f4fb01ed41075a3efe9d2b5a337e5a8fe7f006 |
19-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix Python docstring for SBThread.GetStopDescription(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146890 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
4bdca6f711ae9dd0aca7dd3962200d4d92cf68e7 |
17-Dec-2011 |
Jim Ingham <jingham@apple.com> |
Make the objc-dynamic-value test a little trickier (still passes) and test the GetDynamicValue API. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146777 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
ang/objc/objc-dynamic-value/dynamic-value.m
|
dfafa141aa9d0dd0596bf08b3f941be8c308316d |
17-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
http://llvm.org/bugs/show_bug.cgi?id=11588 valobj.AddressOf() returns None when an address is expected in a SyntheticChildrenProvider Patch from Enrico Granata: The problem was that the frozen object created by the expression parser was a copy of the contents of the StgClosure, rather than a pointer to it. Thus, the expression parser was correctly computing the result of the arithmetic&cast operation along with its address, but only saving it in the live object. This meant that the frozen copy acted as an address-less variable, hence the problem. The fix attached to this email lets the expression parser store the "live address" in the frozen copy of the address when the object is built without a valid address of its own. Doing so, along with delegating ValueObjectConstResult to calculate its own address when necessary, solves the issue. I have also added a new test case to check for regressions in this area, and checked that existing test cases pass correctly. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146768 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/issue_11588/Makefile
xpression_command/issue_11588/Test11588.py
xpression_command/issue_11588/main.cpp
xpression_command/issue_11588/s11588.py
|
0539a80ae9cdb243d1db3cfd34b504b391658703 |
16-Dec-2011 |
Sean Callanan <scallanan@apple.com> |
Updated Clang to take an enhancement to the way we handle Objective-C method calls. Currently, LLDB treats the result of an Objective-C method as unknown if the type information doesn't have the method's signature. Now Clang can cast the result to id if it isn't explicitly cast. I also added a test case for this, as well as a fix for a type import problem that this feature exposed. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146756 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods2.py
|
9633cc63723f92fe2caa6ba74eb4131c2387a966 |
16-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the setup leading to the testing of ReadMemory(), ReadCStringFromMemory(), and ReadUnsignedFromMemory(). Instead of getting the location of the variable and converting the hex string to an int, just use val.AddressOf().GetValueAsUnsigned() to compute the address of the memory region to read from. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146719 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
|
126fcc31c792c186f617c38b15219b1d181a640a |
16-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test sequence of SBProcess.ReadCStringFromMemory() with (char *)my_char_ptr as the address to read from. char *my_char_ptr = (char *)"Does it work?"; git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146716 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
ython_api/process/main.cpp
|
6f6dd0acd6199dcb27855572ac1bfd739f862b90 |
16-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario for newly added SBProcess APIs: ReadCStringFromMemory() and ReadUnsignedFromMemory(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146704 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
ython_api/process/main.cpp
|
607d2ed275cfa5821eba70bea2022b71a130311c |
15-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz call for newly added method SBTarget.GetInstructions(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146696 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
|
0841386790a968a7ab9dd3ef774910bd4a7421cf |
15-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for newly added SBProcess methods. Fix a typo in the audodoc of SBProcess.ReadCStringFromMemory(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146695 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_process.py
|
c2e97f3cfbd2c7d808ca4e832a08615812f2073e |
15-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move disassemble-raw-data dir to reside under test/python_api where they belong. Add debug statements for the raw bytes and the disassembled instruction. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146676 91177308-0d34-0410-b5e6-96231b3b80d8
pi/disassemble-raw-data/TestDisassembleRawData.py
ython_api/disassemble-raw-data/TestDisassembleRawData.py
|
943485c90bdee0cf29304418b6dd16ee9927633a |
15-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
http://llvm.org/bugs/show_bug.cgi?id=11579 lldb::SBValue::CreateValueFromAddress does not verify SBType::GetPointerType succeeds SBValue::CreateValueFromAddress() should check the validity of type and its derived pointer type before using it. Add a test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146629 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/sbdata/TestSBData.py
|
ef1f690aa23e81a14654d4a6fe9df7810f4eda06 |
15-Dec-2011 |
Sean Callanan <scallanan@apple.com> |
I have added a function to SBTarget that allows clients to disassemble a series of raw bytes as demonstrated by a new testcase. In the future, this API will also allow clients to provide a callback that adds comments for addresses in the disassembly. I also modified the SWIG harness to ensure that Python ByteArrays work as well as strings as sources of raw data. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146611 91177308-0d34-0410-b5e6-96231b3b80d8
pi/disassemble-raw-data/TestDisassembleRawData.py
|
2fcf412d77ef17500c8d0dde82f0ac775f1261e7 |
14-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
http://llvm.org/bugs/show_bug.cgi?id=11569 LLDBSwigPythonCallCommand crashes when a command script returns an object Add more robustness to LLDBSwigPythonCallCommand. It should check whether the returned Python object is a string, and only assign it as the error msg when the check holds. Also add a regression test. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146584 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/TestCommandScript.py
unctionalities/command_script/bug11569.py
unctionalities/command_script/py_import
|
cd186e5ef6dacca7bd4914e99ef6b7551b5e79e4 |
14-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
http://llvm.org/bugs/show_bug.cgi?id=11560 lldb::SBTarget::FindFirstType crashes when passed None Add null checks to several functions. Plus add test scenario for passing None to SBTarget.FindFirstType(None) and friends. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146540 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
ython_api/type/TestTypeList.py
|
b91423bd5a01e0ee297162ac36a2c65e9d844c1a |
14-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Print out the breakpoint description only if self.TraceOn() is True. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146539 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
|
33bc865655e98aa15832c3fa27da762f082f5d51 |
13-Dec-2011 |
Jim Ingham <jingham@apple.com> |
Add a pthreads testcase to make sure the two-step of running and expression, having the block, then timing out & letting all threads run actually works. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146471 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/expr-doesnt-deadlock/Makefile
unctionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
unctionalities/expr-doesnt-deadlock/locking.c
|
d0f67e2a87ac492fa8b765482f133438bf470dd6 |
12-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rename some test methods, with no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146429 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/real-definition/TestRealDefinition.py
|
d538f13369b1662d67fb7ac55abbf94738547203 |
12-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Commenting out the two @expectedFailureClang decorators as the tests have been passing for a while with the recent clang compilers. The latest I tried is: Apple clang version 3.1 (tags/Apple/clang-318.0.9) (based on LLVM 3.1svn) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146427 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/this/TestCPPThis.py
|
931449ee91b1a3acf0cd8ab2e1dd1285d7c42ad4 |
12-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10227672 There were two problems associated with this radar: 1. "settings show target.source-map" failed to show the source-map after, for example, "settings set target.source-map /Volumes/data/lldb/svn/trunk/test/source-manager /Volumes/data/lldb/svn/trunk/test/source-manager/hidden" has been executed to set the source-map. 2. "list -n main" failed to display the source of the main() function after we properly set the source-map. The first was fixed by adding the missing functionality to TargetInstanceSettings::GetInstanceSettingsValue (Target.cpp) and updating the support files PathMappingList.h/.cpp; the second by modifying SourceManager.cpp to fix several places with incorrect logic. Also added a test case test_move_and_then_display_source() to TestSourceManager.py, which moves main.c to hidden/main.c, sets target.source-map to perform the directory mapping, and then verifies that "list -n main" can still show the main() function. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146422 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
c6e328a322123a276524857242f99e019e56a5de |
10-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move some print stmts to the test method, where they get printed only if the test is qualified to run under the current test driver run configuration. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146320 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestDisassembly.py
|
d7fc5b8d107b3df44acfcc694f26875e06c1b4e0 |
10-Dec-2011 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/10559329> An assertion was firing when parsing types due to trying to complete parent class decl contenxt types too often. Also, relax where "dsymutil" binary can come from in the Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146310 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
9a530a652e519c5f99f7f13ab5512e2a040339a6 |
09-Dec-2011 |
Greg Clayton <gclayton@apple.com> |
We now have a test case for stopping within a module in a place where the translation unit has a interface for a class "Bar" that contains hidden ivars in the implementation and we make sure we can see these hidden ivars. We also test the case where we stop in translation unit that contains the implementation first. So the test runs two tests: 1 - run and stop where we have an interface, run to main and print and make sure we find the hidden ivar 2 - run and stop where we have an implementation, run to main and print and make sure we find the hidden ivar git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146216 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/real-definition/Bar.m
ang/objc/real-definition/Foo.m
ang/objc/real-definition/TestRealDefinition.py
ang/objc/real-definition/main.m
|
b2027ec7cc8c15dfdc7c945dc6aed4b5d684321e |
09-Dec-2011 |
Sean Callanan <scallanan@apple.com> |
If the expression parser is unable to complete a TagDecl in the context in which it was originally found, the expression parser now goes hunting for it in all modules (in the appropriate namespace, if applicable). This means that forward-declared types that exist in another shared library will now be resolved correctly. Added a test case to cover this. The test case also tests "frame variable," which does not have this functionality yet. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146204 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/shared_lib/Makefile
ang/c/shared_lib/TestSharedLib.py
ang/c/shared_lib/foo.c
ang/c/shared_lib/foo.h
ang/c/shared_lib/main.c
|
1b42575189379cb0c1441f74a48127e9ab7335e3 |
08-Dec-2011 |
Jim Ingham <jingham@apple.com> |
Add SBValue::GetDynamicValue and SBValue::GetStaticValue API's. <rdar://problem/10545069> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146173 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestDynamicValue.py
|
4fdf795b4e9ea643fcafc7fe117a76ad48e021e4 |
08-Dec-2011 |
Sean Callanan <scallanan@apple.com> |
Added the ability to dereference an Objective-C object pointer to make the result of an expression. LLDB now dumps the ivars of the Objective-C object and all of its parents. This just required fixing a bug where we didn't distinguish between Objective-C object pointers and regular C-style pointers. Also added a testcase to verify that this continues to work. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146164 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/foundation/TestObjCMethods2.py
|
514970a1bafdd36ce128a70ec8839b74b3aa77ba |
08-Dec-2011 |
Jim Ingham <jingham@apple.com> |
Get the bit-field offset & size for ObjC ivars that are bitfields. <rdar://problem/10535460> lldb expression evaluation doesn't handle bit fields in ObjC classes properly git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146134 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
ang/objc/objc-ivar-offsets/main.m
ang/objc/objc-ivar-offsets/objc-ivar-offsets.h
|
64b4f192a8e40b2a1e3573227522ee1de508c5b9 |
07-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modified the script to have the flexibility of specifying the gdb executable path for use in the benchmark against lldb's disassembly speed. Note that the lldb executable path can already be specified using the LLDB_EXEC env variable. rdar://problem/7511194 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146050 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestDisassembly.py
|
de32b455d42f36098f8cbf619e09690f26716d96 |
03-Dec-2011 |
Greg Clayton <gclayton@apple.com> |
Added a code for a test to find the real Objective C class definition. I still need to write the test case file. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145756 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/real-definition/Bar.h
ang/objc/real-definition/Bar.m
ang/objc/real-definition/Foo.h
ang/objc/real-definition/Foo.m
ang/objc/real-definition/Makefile
ang/objc/real-definition/main.m
|
dfa0cdb9655a1c6b5b4880dcbd9a63a81fdff40c |
03-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
Let's also record the compiler version used for compiling the inferior into the session info git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145732 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
fa21ffd0c50efce27bfa084c6fb33dff255288b0 |
01-Dec-2011 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10501020 ClangASTSource::~ClangASTSource() was calling ClangASTContext *scratch_clang_ast_context = m_target->GetScratchClangASTContext(); which had the side effect of deleting this very ClangASTSource instance. Not good. Change it to // We are in the process of destruction, don't create clang ast context on demand // by passing false to Target::GetScratchClangASTContext(create_on_demand). ClangASTContext *scratch_clang_ast_context = m_target->GetScratchClangASTContext(false); The Target::GetScratchClangASTContext(bool create_on_demand=true) has a new signature. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145537 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
|
673f3dbea64b116166dfa668006cdc84224a27c0 |
30-Nov-2011 |
Sean Callanan <scallanan@apple.com> |
Added support to the Objective-C language runtime to find Objective-C class types by looking in the symbol tables for the individual object files. I did this as follows: - I added code to SymbolFileSymtab that vends Clang types for symbols matching the pattern "_OBJC_CLASS_$_NSMyClassName," making them appear as Objective-C classes. This only occurs in modules that do not have debug information, since otherwise SymbolFileDWARF would be in charge of looking up types. - I made a new SymbolVendor subclass for the Apple Objective-C runtime that is in charge of making global lookups of Objective-C types. It currently just sends out type lookup requests to the appropriate SymbolFiles, but in the future we will probably extend it to query the runtime more completely. I also modified a testcase whose behavior is changed by the fact that we now actually return an Objective-C type for __NSCFString. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145526 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
02dfe4abd7cb580dd2039dd0a395c4024f9da69d |
30-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add processing of '-help' option. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145516 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
dd549796720f67a739815bbf507ac933dd5ca12f |
30-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/9211445 Fix wrong test logic in test_modules_search_paths(). Add additional exercising of 'target modules search-paths list/query". There is a reproducible crash if 'target modules search-paths clear' is exercised during test teardown. So we currently comment out the stmt as follows: # Add teardown hook to clear image-search-paths after the test. # rdar://problem/10501020 # Uncomment the following to reproduce 10501020. #self.addTearDownHook(lambda: self.runCmd("target modules search-paths clear")) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145466 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
|
da44411d58a98f4f0ef4a5aa69a0741d8904fe28 |
29-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench entries. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145417 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
23038b6170dbe3aa25e2aab5719fa418fab17043 |
28-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
SBProcess.PutSTDIN() needs to be properly typemapped when swigging, so that we can do Python scripting like this: target = self.dbg.CreateTarget(self.exe) self.dbg.SetAsync(True) process = target.LaunchSimple(None, None, os.getcwd()) process.PutSTDIN("Line 1 Entered.\n") process.PutSTDIN("Line 2 Entered.\n") process.PutSTDIN("Line 3 Entered.\n") Add TestProcessIO.py to exercise the process IO API: PutSTDIN()/GetSTDOUT()/GetSTDERR(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145282 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_process.py
ython_api/process/io/Makefile
ython_api/process/io/TestProcessIO.py
ython_api/process/io/main.c
|
0e6df3675a32593e3f78bab174619f7e110257f4 |
28-Nov-2011 |
Greg Clayton <gclayton@apple.com> |
Fixed an issue where we might cause our test suite to exit if we end up concatenating a string with "None" in python. Using a python format string gets us around this by handling it gracefully. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145225 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
|
4c6a752b2c729e624c2f2b53d786c48432f4cfa7 |
18-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Redirect the stderr output into a file so as to not pollute the terminal. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144958 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/TestProcessLaunch.py
|
1941fdacadbeae053d3aa2a205922f3880310038 |
18-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Do not print debug messages if self.TraceON() is False. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144945 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/conditional_break/TestConditionalBreak.py
|
08967199e95ad3ad0d5a65fd6877d85386e533f7 |
18-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple progress bar when neither '-v' nor '-t' is specified. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144940 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
028d8ebd7e97d46e3de13fd977f8a17d6bf246f5 |
17-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an option '-S' to skip the build and cleanup while running the test. Use this option with care as you would need to build the inferior(s) by hand and build the executable(s) with the correct name(s). This option can be used with '-# n' to stress test certain test cases for n number of times. An example: [11:55:11] johnny:/Volumes/data/lldb/svn/trunk/test/python_api/value $ ls Makefile TestValueAPI.pyc linked_list TestValueAPI.py change_values main.c [11:55:14] johnny:/Volumes/data/lldb/svn/trunk/test/python_api/value $ make EXE=test_with_dsym clang -gdwarf-2 -O0 -arch x86_64 -c -o main.o main.c clang -gdwarf-2 -O0 -arch x86_64 main.o -o "test_with_dsym" /usr/bin/dsymutil -o "test_with_dsym.dSYM" "test_with_dsym" [11:55:20] johnny:/Volumes/data/lldb/svn/trunk/test/python_api/value $ cd ../.. [11:55:24] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v -# 10 -S -f ValueAPITestCase.test_with_dsym LLDB build dir: /Volumes/data/lldb/svn/trunk/build/Debug LLDB-89 Path: /Volumes/data/lldb/svn/trunk 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: 144914 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 144911 Last Changed Date: 2011-11-17 09:22:31 -0800 (Thu, 17 Nov 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-11-17-11_55_29' Command invoked: python ./dotest.py -v -# 10 -S -f ValueAPITestCase.test_with_dsym ---------------------------------------------------------------------- Collected 1 test 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.163s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.200s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.198s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.199s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.239s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.215s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.105s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.098s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.195s OK 1: test_with_dsym (TestValueAPI.ValueAPITestCase) Exercise some SBValue APIs. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.197s OK [11:55:34] johnny:/Volumes/data/lldb/svn/trunk/test $ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144919 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
6cfd26721bb7a0aea8fba13896ba949daa188f78 |
17-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rename test class appropriately. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144915 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-class-method/TestObjCClassMethod.py
|
22ca65d81453600c57b4c9befa4e310835f469b5 |
16-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Docstring clarification. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144848 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
30b30cbbec73a8b6d5ee08eec565df892ca70b2f |
16-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Also dump the pid of the process launching through the lldbtest.system(*popenargs, **kwargs) API. This helps track down possible zombie processes. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144846 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
1da1f2e5ca93a91ee62c8397d910cb3f3cc2ab7c |
16-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove invalid docstring (due to cut-and-paste error). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144807 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
ab881d86a527f17df84c200322b2e5c9bf64b0de |
16-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
While we are at it, verify that 'my_int_ptr' points to 'g_my_int', using the SBTarget.ResolveLoadAddress() to get its SBAddress, and SBAddress.GetSymbol() to get the corresponding symbol. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144728 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/TestValueAPI.py
|
e15cf29be30f7222c7f9ef1184d750128a9acce7 |
15-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix objc runtime warnings from the inferior program. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144717 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/two-files/Makefile
xpression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
xpression_command/two-files/main.c
xpression_command/two-files/main.m
|
f24f1cd1584fd2af8f3dfa6919fe493b86b17729 |
15-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario for value.GetChildAtIndex(0) where value is a pointer to a simple type. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144697 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/TestValueAPI.py
ython_api/value/main.c
|
a54e4394a8ceb68bc537ad5bcd76a012b6f3ee23 |
15-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
File renaming. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144693 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/change_values/TestChangeValueAPI.py
ython_api/value/change_values/TestValueAPI.py
|
e6ea5fe8e76b028a0565bc01543bc15f8c120e8a |
15-Nov-2011 |
Sean Callanan <scallanan@apple.com> |
Pulled in a new version of LLVM/Clang to solve a variety of problems with Objective-C object completion. To go along with the LLVM/Clang-side fixes, we have a variety of Objective-C improvements. Fixes include: - It is now possible to run expressions when stopped in an Objective-C class method and have "self" act just like "self" would act in the class method itself (i.e., [self classMethod] works without casting the return type if debug info is present). To accomplish this, the expression masquerades as a class method added by a category. - Objective-C objects can now provide methods and properties and methods to Clang on demand (i.e., the ASTImporter sets hasExternalVisibleDecls on Objective-C interface objects). - Objective-C built-in types, which had long been a bone of contention (should we be using "id"? "id*"?), are now fetched correctly using accessor functions on ClangASTContext. We inhibit searches for them in the debug information. There are also a variety of logging fixes, and I made two changes to the test suite: - Enabled a test case for Objective-C properties in the current translation unit. - Added a test case for calling Objective-C class methods when stopped in a class method. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144607 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-property/TestObjCProperty.py
ang/objc/objc-static-method/TestObjCStaticMethod.py
ang/objc/objc-static-method/static.m
|
f48acd49060c0a1194a75edae70312485eb1d219 |
15-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench entries. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144584 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
44747290a593ae5d7c88d1c6a89d70814a883d39 |
14-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Dependency file for dylib source was not being cleaned up. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144546 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
dba0f7f19fe719acb407a9421e6d402609454d04 |
14-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add more info on the failure. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144545 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/TestSTL.py
|
c536ba7d42474ff610c0b81127e735e3cd3df987 |
14-Nov-2011 |
Greg Clayton <gclayton@apple.com> |
Don't build optimized unless we are trying to test inlining. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144539 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/Makefile
|
a1b9a90b7aef446302de9b845dc4f3b0e1473aa7 |
13-Nov-2011 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/10338439> This is the actual fix for the above radar where global variables that weren't initialized were not being shown correctly when leaving the DWARF in the .o files. Global variables that aren't intialized have symbols in the .o files that specify they are undefined and external to the .o file, yet document the size of the variable. This allows the compiler to emit a single copy, but makes it harder for our DWARF in .o files with the executable having a debug map because the symbol for the global in the .o file doesn't exist in a section that we can assign a fixed up linked address to, and also the DWARF contains an invalid address in the "DW_OP_addr" location (always zero). This means that the DWARF is incorrect and actually maps all such global varaibles to the first file address in the .o file which is usually the first function. So we can fix this in either of two ways: make a new fake section in the .o file so that we have a file address in the .o file that we can relink, or fix the the variable as it is created in the .o file DWARF parser and actually give it the file address from the executable. Each variable contains a SymbolContextScope, or a single pointer that helps us to recreate where the variables came from (which module, file, function, etc). This context helps us to resolve any file addresses that might be in the location description of the variable by pointing us to which file the file address comes from, so we can just replace the SymbolContextScope and also fix up the location, which we would have had to do for the other case as well, and update the file address. Now globals display correctly. The above changes made it possible to determine if a variable is a global or static variable when parsing DWARF. The DWARF emits a DW_TAG_variable tag for each variable (local, global, or static), yet DWARF provides no way for us to classify these variables into these categories. We can now detect when a variable has a simple address expressions as its location and this will help us classify these correctly. While making the above changes I also noticed that we had two symbol types: eSymbolTypeExtern and eSymbolTypeUndefined which mean essentially the same thing: the symbol is not defined in the current object file. Symbol objects also have a bit that specifies if a symbol is externally visible, so I got rid of the eSymbolTypeExtern symbol type and moved all code locations that used it to use the eSymbolTypeUndefined type. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144489 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/TestGlobalVariables.py
ang/c/global_variables/main.c
ldbutil.py
|
d14d5185b97d32c70e9b5c7ebd4b1e2077afc98b |
12-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make the test case more robust by using line number to break, instead. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144450 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_types/TestClassTypes.py
|
2546fd2a7adb2081e77ce6779e25646c0e3498a9 |
12-Nov-2011 |
Jim Ingham <jingham@apple.com> |
Add code that reads the APPLE_property debug info, and makes up properties from them. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144440 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-property/Makefile
ang/objc/objc-property/TestObjCProperty.py
ang/objc/objc-property/main.m
|
0296fe73a7cb1482226b1303a795ede00e12d677 |
08-Nov-2011 |
Jim Ingham <jingham@apple.com> |
Do a better job of detecting when a breakpoint command has set the target running again (except you have to ignore cases where the breakpoint runs expressions, those don't count as really "running again"). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144064 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/conditional_break/TestConditionalBreak.py
unctionalities/conditional_break/conditional_break.py
|
abb3302051246273eb92cca203c9a1b9d9736e05 |
08-Nov-2011 |
Greg Clayton <gclayton@apple.com> |
Moved many of the "settings" that used to be in "target.process.*" to just be in the target. All of the environment, args, stdin/out/err files, etc have all been moved. Also re-enabled the ability to launch a process in a separate terminal on MacOSX. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144061 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/TestPublicAPIHeaders.py
unctionalities/load_unload/TestLoadUnload.py
ettings/TestSettings.py
|
9badf141a4a5aae9bcaea141d5b813f38b170a05 |
08-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix the test suite failure. The particular line in the test case was there since the initial version dated 2010-21-15. The test started failure recently probably due to work done on the command parsing. Anyway, the specific test sequence is invalid and is fixed now. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144039 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
|
6010acef0cee54e044d4e7e472ef3d99e13c5045 |
07-Nov-2011 |
Enrico Granata <granata.enrico@gmail.com> |
this patch addresses several issues with "command script" subcommands: a) adds a new --synchronicity (-s) setting for "command script add" that allows the user to decide if scripted commands should run synchronously or asynchronously (which can make a difference in how events are handled) b) clears up several error messages c) adds a new --allow-reload (-r) setting for "command script import" that allows the user to reload a module even if it has already been imported before d) allows filename completion for "command script import" (much like what happens for "target create") e) prevents "command script add" from replacing built-in commands with scripted commands f) changes AddUserCommand() to take an std::string instead of a const char* (for performance reasons) plus, it fixes an issue in "type summary add" command handling which caused several test suite errors git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144035 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/TestCommandScript.py
unctionalities/command_script/import/TestImport.py
unctionalities/command_script/main.cpp
unctionalities/command_script/mysto.py
unctionalities/command_script/py_import
unctionalities/command_script/welcome.py
|
9911d2fa3380028c9b798110bd1dcdeb44920421 |
02-Nov-2011 |
Sean Callanan <scallanan@apple.com> |
Added functionality to call Objective-C class methods correctly, and added a testcase to check that it works. The main problem here is that Objective-C class method selectors are external references stored in a special data structure in the LLVM IR module for an expression. I just had to extract them and ensure that the real class object locations were properly resolved. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143520 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-class-method/Makefile
ang/objc/objc-class-method/TestObjCClassMethod.py
ang/objc/objc-class-method/class.m
|
99e6e6caf8422b986e2e895c31f5839b60fe14b8 |
01-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench entries. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143476 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
ad670e414e9d173f89ee1aba00195b2855cf1b7d |
01-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Change the expected substrings for 'frame variable' output to: '::my_uint_t', 'anon_uint = 0' from: '(my_uint_t) anon_uint = 0' to make the test suite clean with ToT. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143474 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/namespace/TestNamespace.py
|
ba560cc7d03c9f7d9df81e60201c5ec75cff5232 |
01-Nov-2011 |
Jim Ingham <jingham@apple.com> |
Enhanced the ObjC DynamicCheckerFunction to test for "object responds to selector" as well as "object borked"... Also made the error when the checker fails reflect this fact rather than report a crash at 0x0. Also a little cleanup: - StopInfoMachException had a redundant copy of the description string. - ThreadPlanCallFunction had a redundant copy of the thread, and had a copy of the process that it didn't really need. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143419 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-checker/Makefile
ang/objc/objc-checker/TestObjCCheckers.py
ang/objc/objc-checker/main.m
|
869ccb0d24645e19ee653bac2c1d35d90bcc19e4 |
01-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add expectedFailure decorators. rdar://problem/10373783 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143396 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/TestSTL.py
|
c6b20fc216d89ef4bf366ccf2fd2b6068f8f11ed |
01-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add some expr evaluations for simple STL data types. Radar to be filed soon. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143395 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/stl/TestSTL.py
ang/cpp/stl/main.cpp
|
2bd310c2c7aa131982d897a82b077ac33b35038d |
01-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
tests: Improve Makefile/dotest to properly set LLDB_HERE variable used in some tests. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143394 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
otest.py
|
8ca450b8718d326a93a53a8a3808f8bba0a2aa7e |
31-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Revert 143359 and modify the test case to not include non-valid c identifier character. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143372 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_regex/TestCommandRegex.py
|
437e3ffdbb44102bdc6c45049700f6048cf064ee |
31-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench entries. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143361 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
f35a112038c12fa3ea1168f1a25c1699d4e443b0 |
31-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a Python script to invoke each test file under the test root using a separate process. Example: [11:33:09] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dosep.ty -o "-v -n" dotest.py options: -v -n Running /Volumes/data/lldb/svn/trunk/test/dotest.py -v -n -p TestPublicAPIHeaders.py /Volumes/data/lldb/svn/trunk/test/api/check_public_api_headers 1: test_sb_api_directory (TestPublicAPIHeaders.SBDirCheckerCase) Test the SB API directory and make sure there's no unwanted stuff. ... ok ---------------------------------------------------------------------- Ran 1 test in 4.404s OK Running /Volumes/data/lldb/svn/trunk/test/dotest.py -v -n -p TestEmulations.py /Volumes/data/lldb/svn/trunk/test/arm_emulation 1: test_arm_emulations (TestEmulations.ARMEmulationTestCase) ... ok 2: test_thumb_emulations (TestEmulations.ARMEmulationTestCase) ... ok ---------------------------------------------------------------------- Ran 2 tests in 1.399s OK ... git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143355 91177308-0d34-0410-b5e6-96231b3b80d8
osep.ty
|
2f8d35b00c380700424144f2206358210f2bfa08 |
31-Oct-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
When running tests, prepend our LibDir to the user's SHLIBPATH_VAR instead of replacing it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143323 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
cf78037980a9345c12b1e2562bc4eda63cea95b3 |
29-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple regression test to go with r143260. CommandInterpreter::PreprocessCommand() should not infinite loop when a target has not been specified yet. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143274 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/backticks/TestBackticksWithoutATarget.py
|
cb442da0d6b1ba764b365837983d4f193c53a404 |
29-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench entries. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143261 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
47fb2dfc0b1927a2f05e90c3f71ad8d7f0d9e23c |
28-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench entries. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143210 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
91da005bf6f5d7549a45a8aeb01a93deefe9b55f |
28-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143207 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
8904eb0c783751cbba9bbda19c30156789b9f6eb |
28-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Print out the version of the locally built 'lldb' binary, not the one found in your PATH env variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143170 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
88309fd542fd924ffeea8cc0dd4f4ea09bdd17bd |
28-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
This benchmark is meant to run the locally built 'lldb' binary, not the binary on the PATH env variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143169 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/expression/TestExpressionCmd.py
|
5e94f620e2455ce0d56413441df8abe1d779f4b0 |
27-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench history entries. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143121 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
9351b4ff5bd824856dd9894d2005b29a020dfdd8 |
27-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Undo r142549 and r142543 which temporarily relax the expected substrings for watchpoint creation output due to wrong debug info from clang. It has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143118 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
|
24a6bd9835ed1655984397b0cdf35127e47681e9 |
27-Oct-2011 |
Greg Clayton <gclayton@apple.com> |
Added support for the new ".apple_objc" accelerator tables. These tables are in the same hashed format as the ".apple_names", but they map objective C class names to all of the methods and class functions. We need to do this because in the DWARF the methods for Objective C are never contained in the class definition, they are scattered about at the translation unit level and they don't even have attributes that say the are contained within the class itself. Added 3 new formats which can be used to display data: eFormatAddressInfo eFormatHexFloat eFormatInstruction eFormatAddressInfo describes an address such as function+offset and file+line, or symbol + offset, or constant data (c string, 2, 4, 8, or 16 byte constants). The format character for this is "A", the long format is "address". eFormatHexFloat will print out the hex float format that compilers tend to use. The format character for this is "X", the long format is "hex float". eFormatInstruction will print out disassembly with bytes and it will use the current target's architecture. The format character for this is "i" (which used to be being used for the integer format, but the integer format also has "d", so we gave the "i" format to disassembly), the long format is "instruction". Mate the lldb::FormatterChoiceCriterion enumeration private as it should have been from the start. It is very specialized and doesn't belong in the public API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143114 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
|
0d80e07d6d29b53ed59474e58307de716d81e45e |
27-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add display of min and max samples to Stopwatch's string representation. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143087 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
ldbbench.py
|
ebbec4c6294ebfa5195ff5bc95b997dfb8ed655b |
27-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Establish a baseline for bench.py score by using a fixed lldb executable as the inferior program for the lldb debugger to operate on. The fixed lldb executable corresponds to r142902. Plus some minor modifications to the test benchmark to conform to way bench.py is meant to be invoked. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143075 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
ench.py
enchmarks/disassembly/TestDoAttachThenDisassembly.py
enchmarks/startup/TestStartupDelays.py
enchmarks/stepping/TestSteppingSpeed.py
|
2bb0549dd0dd19a99a4ff7bb2e734874b62a11e9 |
26-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add another metric for startup delay -- run to breakpoint, which measures the time from issuing the run command till the first breakpoint hit. Example: $ ./dotest.py -v +b -n -x '-F Driver::MainLoop()' -p TestStartupDelays.py 1: test_startup_delay (TestStartupDelays.StartupDelaysBench) Test start up delays creating a target and setting a breakpoint. ... lldb startup delay (create fresh target) benchmark: Avg: 0.124496 (Laps: 30, Total Elapsed Time: 3.734883) lldb startup delay (set first breakpoint) benchmark: Avg: 0.220828 (Laps: 30, Total Elapsed Time: 6.624847) lldb startup delay (run to breakpoint) benchmark: Avg: 0.478159 (Laps: 30, Total Elapsed Time: 14.344774) ok git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142993 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/startup/TestStartupDelays.py
|
0409d995d366a12b16ea5bf1ddd9cfdec9783924 |
25-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Benchmark the turnaround time starting a debugger and run to the breakpoint with lldb vs. gdb. An example (with /Developer/usr/bin/lldb vs. /usr/bin/gdb): [13:05:04] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -n -p TestCompileRunToBreakpointTurnaround.py 1: test_run_lldb_then_gdb (TestCompileRunToBreakpointTurnaround.CompileRunToBreakpointBench) Benchmark turnaround time with lldb vs. gdb. ... lldb turnaround benchmark: Avg: 4.574600 (Laps: 3, Total Elapsed Time: 13.723799) gdb turnaround benchmark: Avg: 7.966713 (Laps: 3, Total Elapsed Time: 23.900139) lldb_avg/gdb_avg: 0.574214 ok ---------------------------------------------------------------------- Ran 1 test in 55.462s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142949 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
otest.py
|
64df1aa73c3c73c340d63e49e1b94236ff2077de |
25-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a bench-history file to keep track of simple bench results. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142874 91177308-0d34-0410-b5e6-96231b3b80d8
ench-history
|
4d96a749c55056fb98276c2b85442ed26018345a |
25-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add more context information to the stop-hook mechanism by displaying the stop-hook command in the '- Hook id' header. This should improve readbility of the 'display' command if, for example, we have issued 'display a' and 'display b' which turn into "target stop-hook add -o 'expr -- a'" and "target stop-hook add -o 'expr -- b'". Plus some minor change in TestAbbreviations.py to conditionalize the platform-specific checkings of the "image list" output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142868 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
911f519bc573bef6aa05fc337e8aa33d847a2d29 |
25-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142858 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestCommonShortSpellings.py
|
33d0129be8c82b9d3a114591a6055d972a342a7a |
25-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Test some lldb command abbreviations to make sure the common short spellings of many commands remain available even after we add/delte commands in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142857 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestCommonShortSpellings.py
|
d1ede6858cbccdb35a7f63101440aa2a7449dfe1 |
24-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add two new @expectedFailure decorators. rdar://problem/10334911 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142839 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
|
9d1acc179e28cf2625e66c411fb164303b6e4e4e |
24-Oct-2011 |
Jim Ingham <jingham@apple.com> |
Add "di" and "dis" aliases to "disassemble" so they will win over "display". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142834 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
114b64082f90689c1cf769e9fcf1972b71464d40 |
24-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix test regressions due to the addition of 'display' alias to the top level commands, which conflicts with the original 'dis' -> 'disassemble' unique expansion. Change it to 'disass' now. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142825 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
|
613790a6d332585ddf0be5fd8d940980c0026297 |
24-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Removed the @expectedFailure decorators from test cases. They have been fixed with the r142717 check-in. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142823 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
|
eef9057cf02471eeb9a60df3486658fd9e13a7eb |
22-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add bench.py as a driver script to run some benchmarks on lldb. Add benchmarks for expression evaluations (TestExpressionCmd.py) and disassembly (TestDoAttachThenDisassembly.py). An example: [17:45:55] johnny:/Volumes/data/lldb/svn/trunk/test $ ./bench.py 2>&1 | grep -P '^lldb.*benchmark:' lldb startup delay (create fresh target) benchmark: Avg: 0.104274 (Laps: 30, Total Elapsed Time: 3.128214) lldb startup delay (set first breakpoint) benchmark: Avg: 0.102216 (Laps: 30, Total Elapsed Time: 3.066470) lldb frame variable benchmark: Avg: 1.649162 (Laps: 20, Total Elapsed Time: 32.983245) lldb stepping benchmark: Avg: 0.104409 (Laps: 50, Total Elapsed Time: 5.220461) lldb expr cmd benchmark: Avg: 0.206774 (Laps: 25, Total Elapsed Time: 5.169350) lldb disassembly benchmark: Avg: 0.089086 (Laps: 10, Total Elapsed Time: 0.890859) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142708 91177308-0d34-0410-b5e6-96231b3b80d8
ench.py
enchmarks/disassembly/TestDoAttachThenDisassembly.py
enchmarks/expression/TestExpressionCmd.py
enchmarks/startup/TestStartupDelays.py
otest.py
|
d91085396ec4b61e678c32f90dc3f40f44bad121 |
21-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a benchmark for measuring the response time of the 'frame variable' command. Example (start the lldb inferior, break at the Driver::MainLoop() function, and issue 'frame variable'): $ ./dotest.py -v +b -x '-F Driver::MainLoop()' -n -p TestFrameVariableResponse.py ---------------------------------------------------------------------- Collected 1 test 1: test_startup_delay (TestFrameVariableResponse.FrameVariableResponseBench) Test response time for the 'frame variable' command. ... lldb frame variable benchmark: Avg: 1.636897 (Laps: 20, Total Elapsed Time: 32.737944) ok ---------------------------------------------------------------------- Ran 1 test in 65.105s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142678 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/frame_variable/TestFrameVariableResponse.py
|
a85b571adf3759e4a711953809da2adfa382fe9f |
21-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rephrase benchmark output display. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142676 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/startup/TestStartupDelays.py
|
fe5f1ed2d4ca6cc0039c1069980c998330c4027c |
21-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a '-n' option to turn off printings of build dir, lldb version, svn info, and other headers which happen before the listingings of test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142668 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
7b0e08c3153b9f9c437365604b5e7f4f7e107148 |
21-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix the compilation warning while running the test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142663 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/main.cpp.template
|
3a9c0967d3987d50e5f0a30fbbcdfce2e9c7dcca |
21-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong directory name. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142629 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestDisassembly.py
enchmarks/disassembly/TestFlintVsSlateGDBDisassembly.py
|
703de44925dd4fe2d06aa4dcda51b56bad77af2f |
21-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a benchmark for measuring start up delays of lldb, including: o create a fresh target; and o set the first breakpoint Example (using lldb to set a breakpoint on lldb's Driver::MainLoop function): ./dotest.py -v +b -x '-F Driver::MainLoop()' -p TestStartupDelays.py ... 1: test_startup_delay (TestStartupDelays.StartupDelaysBench) Test start up delays creating a target and setting a breakpoint. ... lldb startup delays benchmark: create fresh target: Avg: 0.106732 (Laps: 15, Total Elapsed Time: 1.600985) set first breakpoint: Avg: 0.102589 (Laps: 15, Total Elapsed Time: 1.538832) ok git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142628 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/startup/TestStartupDelays.py
|
8a1b122b493336ad05df2357c3d6db49f9162a59 |
21-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Breakpoint specification can have the form '-n main', so it's not a good idea to check that the option arg in '-x opt_arg' does not start with a '-' char. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142625 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
ac56c171e65480eef97c89f92e74e42159526de4 |
20-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Directory renaming: example -> expression. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142602 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/expression/Makefile
enchmarks/expression/TestRepeatedExprs.py
enchmarks/expression/main.cpp
|
de3d67dff21f0af05ea3f6b42c041032f0f4c080 |
20-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Directory renaming: example -> expression. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142601 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/Makefile
enchmarks/example/TestRepeatedExprs.py
enchmarks/example/main.cpp
|
5f2ed17114c1711a23011c160832b318d77db888 |
20-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Parameterize the iteration count used when running benchmarks, instead of hard-coded inside the test case. Add a '-y count' option to the test driver for this purpose. An example: $ ./dotest.py -v -y 25 +b -p TestDisassembly.py ... ---------------------------------------------------------------------- Collected 2 tests 1: test_run_gdb_then_lldb (TestDisassembly.DisassembleDriverMainLoop) Test disassembly on a large function with lldb vs. gdb. ... gdb benchmark: Avg: 0.226305 (Laps: 25, Total Elapsed Time: 5.657614) lldb benchmark: Avg: 0.113864 (Laps: 25, Total Elapsed Time: 2.846606) lldb_avg/gdb_avg: 0.503146 ok 2: test_run_lldb_then_gdb (TestDisassembly.DisassembleDriverMainLoop) Test disassembly on a large function with lldb vs. gdb. ... lldb benchmark: Avg: 0.113008 (Laps: 25, Total Elapsed Time: 2.825201) gdb benchmark: Avg: 0.225240 (Laps: 25, Total Elapsed Time: 5.631001) lldb_avg/gdb_avg: 0.501723 ok ---------------------------------------------------------------------- Ran 2 tests in 41.346s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142598 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestDisassembly.py
enchmarks/disassembly/TestFlintVsSlateGDBDisassembly.py
enchmarks/example/TestRepeatedExprs.py
enchmarks/stepping/TestRunHooksThenSteppings.py
enchmarks/stepping/TestSteppingSpeed.py
otest.py
|
8f8345fe26363c21ab9c04ddc25884a342ca15dd |
20-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove stale code. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142595 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/stepping/TestRunHooksThenSteppings.py
|
a38fddb902a7a6dca2358429b21f6bcb5da3376b |
20-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove stale code. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142594 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/stepping/TestSteppingSpeed.py
|
289fd0e4af36f2b1242516cfe2aaab87aaf47e79 |
20-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Up until now, we have been using pexpect to spawn an lldb process and use lldb commands to bring the debugger to the desired state. This patch makes BenchBase inherit from TestBase, instead of Base (which is a parent class of TestBase). This is so that we can also enjoy the Pythonic way of bringing the lldb debugger to a desired state before running the benchmark and collect statistics. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142562 91177308-0d34-0410-b5e6-96231b3b80d8
ldbbench.py
|
f133254bc81f8f0077edb6063fe1774f0a745383 |
20-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Missed this file when doing r142543 to temporarily relax the expected substrings for watchpoint creation output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142549 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
|
076f0e086abebc232ed2e5a0846e136265196659 |
19-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Temporarily relax the expected substrings for watchpoint creation output due a bug in the decl file info of a global variable emitted by clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142543 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
|
644ad087128da16a5533b3ce6cf0fb0cbaebb722 |
19-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify lldbtest.Base.runHooks() to now take the following keyword arguments: child=None, child_prompt=None, use_cmd_api=False By default, expect a pexpect spawned child and child prompt to be supplied (use_cmd_api=False). If use_cmd_api is true, ignore the child and child prompt and use self.runCmd() to run the hooks one by one. Modify existing client to reflect the change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142532 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/stepping/TestRunHooksThenSteppings.py
ldbtest.py
|
5f3c567ea3bcd789ee4cd1f01fd38b816c5be46f |
19-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Extract the run hooks functionality into the base class lldbtest.Base. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142469 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/stepping/TestRunHooksThenSteppings.py
ldbtest.py
|
2189eefb1f1264541b81de9c1ccba9f76403dfc1 |
18-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for setting condition on a watchpoint for both command and API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142291 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/condition/Makefile
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointCmdCondition.py
unctionalities/watchpoint/watchpoint_commands/condition/main.cpp
ython_api/default-constructor/sb_watchpoint.py
ython_api/watchpoint/condition/Makefile
ython_api/watchpoint/condition/TestWatchpointConditionAPI.py
ython_api/watchpoint/condition/main.cpp
|
59df36f99b76e33852e6848a162f5c2851074ea2 |
17-Oct-2011 |
Enrico Granata <granata.enrico@gmail.com> |
this patch introduces a new command script import command which takes as input a filename for a Python script and imports the module contained in that file. the containing directory is added to the Python path such that dependencies are honored. also, the module may contain an __lldb_init_module(debugger,dict) function, which gets called after importing, and which can somehow initialize the module's interaction with lldb git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142283 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_script/import/Makefile
unctionalities/command_script/import/TestImport.py
unctionalities/command_script/import/bar/bar.py
unctionalities/command_script/import/bar/barutil.py
unctionalities/command_script/import/dummymodule.py
unctionalities/command_script/import/foo/bar/foobar.py
unctionalities/command_script/import/foo/foo.py
unctionalities/command_script/import/foo/foo2.py
unctionalities/command_script/import/main.c
|
1e8a14af674e2761f257440c46c8aca34f53b951 |
17-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rename test file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142242 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
|
87ce64724b90924eb9f4a8a0b391cd13c07188cd |
17-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142241 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/condition/TestWatchpointCmdCondition.py
|
712a628dde2f4f786389feecf7e06e59f0853c75 |
17-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a commnad to set a condition for a watchpoint. Example: watchpoint modify -c 'global==5' modifies the last created watchpoint so that the condition expression is evaluated at the stop point to decide whether we should proceed with the stopping. Also add SBWatchpont::SetCondition(const char *condition) to set condition programmatically. Test cases to come later. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142227 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/multiple_threads/main.cpp
|
41a55efdfd779b910fb3515c47357c97e695ec22 |
14-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add SBWatchpoint::GetError() API, which is not currently populated as yet. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141979 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_watchpoint.py
|
d6522686b4792d5cc56b41f55616651a68dd795b |
14-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove debug 'print watchpoint' statement. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141965 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
1e90cce7a92bf74510f2ca01ba2ae06eebffb983 |
14-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rename directory command_python to command_script, and the test file, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141963 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_python/Makefile
unctionalities/command_python/TestCommandPython.py
unctionalities/command_python/main.cpp
unctionalities/command_python/py_import
unctionalities/command_python/welcome.py
unctionalities/command_script/Makefile
unctionalities/command_script/TestCommandScript.py
unctionalities/command_script/main.cpp
unctionalities/command_script/py_import
unctionalities/command_script/welcome.py
|
50e0534f2edd82964a997cde7a79c540e38e76ba |
14-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case to exercise the newly added SB API: lldb::SBWatchpoint SBTarget::WatchAddress (lldb::addr_t addr, size_t size, bool read, bool write) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141931 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
ython_api/watchpoint/watchlocation/TestTargetWatchAddress.py
|
6442acfd02c2cf47600d4b571c0b84e6f80501dd |
14-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong docstring with respect to API usage. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141928 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
|
ecd4feb5111432d2878e95461220c720cb2d24c8 |
14-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
SBValue::Watch() and SBValue::WatchPointee() are now the official API for creating a watchpoint for either the variable encapsulated by SBValue (Watch) or the pointee encapsulated by SBValue (WatchPointee). Removed SBFrame::WatchValue() and SBFrame::WatchLocation() API as a result of that. Modified the watchpoint related test suite to reflect the change. Plus replacing WatchpointLocation with Watchpoint throughout the code base. There are still cleanups to be dome. This patch passes the whole test suite. Check it in so that we aggressively catch regressions. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141925 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_frame.py
ython_api/default-constructor/sb_target.py
ython_api/default-constructor/sb_value.py
ython_api/default-constructor/sb_watchpoint.py
ython_api/default-constructor/sb_watchpointlocation.py
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/TestWatchpointIgnoreCount.py
ython_api/watchpoint/TestWatchpointIter.py
ython_api/watchpoint/TestWatchpointLocationIter.py
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
|
30640cce87a2a8ea138334ac55225983a585d77e |
12-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add cleanups for 'command script add' to TestCommandPython.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141790 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_python/TestCommandPython.py
|
192871bcf6fe0881a0b0aface4306cb6ec93710e |
12-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a more generic stepping benchmark, which uses the '-k' option of the test driver to be able to specify the runhook(s) to bring the debug session to a certain state before running the benchmarking logic. An example, ./dotest.py -v -t +b -k 'process attach -n Mail' -k 'thread backtrace all' -p TestRunHooksThenSteppings.py spawns lldb, attaches to the 'Mail' application, does a backtrace for all threads, and then runs the benchmark to step the inferior multiple times. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141740 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/stepping/TestRunHooksThenSteppings.py
|
d11e14b04e683f6e4b6b2b5139dc11cc0f920f93 |
11-Oct-2011 |
Jim Ingham <jingham@apple.com> |
Added some simple testcases for figuring out breakpoints by name in classes & namespaces. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141629 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/breakpoints/Makefile
ang/cpp/breakpoints/TestCPPBreakpoints.py
ang/cpp/breakpoints/nested.cpp
|
38f823c14468f8dec5a0568828ab22989240179d |
11-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add '-k' option to the test driver to be able to specify a runhook, which is an lldb command for the debugger to execute for certain kind of tests (for example, a benchmark). A list of runhooks can be used to steer the debugger into the desired state before more actions can be performed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141626 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
7c0787379a7399d559240e4d69f4fc5655da838d |
11-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove test logic to check for clang and skip the rest due to insufficient debug info. Recent changes in lldb inlining robustness seem to have fixed it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141595 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/inlines/TestInlinedFrame.py
|
e00c9303c148e3ad4d1e511a27f3104cdd404e07 |
11-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add '-e' and '-x' options to the test driver to be able to specify an executable (full path) and the breakpoint specification for the benchmark purpose. This is used by TestSteppingSpeed.py to benchmark the lldb stepping speed. Without '-e' and 'x' specified, the test defaults to run the built lldb against itself and stopped on Driver::MainLoop, then stepping for 50 times. rdar://problem/7511193 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141584 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/stepping/TestSteppingSpeed.py
otest.py
|
8a2a4f8dd31f3228ce323cd2e3c788cbf9f2e7c1 |
08-Oct-2011 |
Jim Ingham <jingham@apple.com> |
Fix the last testsuite regression from the apple-names stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141468 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
|
e0510ea02ad1998973a9e0733f2342b06ddcf182 |
08-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz call for SBBreakpointLocation.GetAddress(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141443 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_breakpointlocation.py
|
8b7b2276132c7353cabd22000287b42badc26613 |
08-Oct-2011 |
Jim Ingham <jingham@apple.com> |
Move the responsibility for translating the various eFunctionNameType lookups to the SymbolFIle (it was done mostly in the BreakpointResolverName resolver before.) Then tailor our searches to the way the indexed maps are laid out. This removes a bunch of test case failures using indexed dSYM's. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141428 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
7d7f447af7fba3eae442ab99c18f5ae532886099 |
07-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
If we spawn an lldb process for test (via pexpect), do not load the init file unless told otherwise. Set up self.lldbOption to be "--no-lldbibit" unless env variable NO_LLDBIBIT is defined and equals "NO". Also add "-nx" to gdb spawned. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141384 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestDisassembly.py
enchmarks/disassembly/TestFlintVsSlateGDBDisassembly.py
enchmarks/example/TestRepeatedExprs.py
unctionalities/command_regex/TestCommandRegex.py
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/stop-hook/TestStopHookMechanism.py
unctionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
ldbtest.py
|
c409821767d7951ac479fb3a9a7e3e54186c4ccc |
07-Oct-2011 |
Jim Ingham <jingham@apple.com> |
Turn the EvaluateExpression (..., True) tests back on. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141375 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/dynamic-value/TestDynamicValue.py
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
|
8b3ed5c804322310abdb317cddf5423cb800d934 |
06-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test sequence for 'target variable' command when no arguments are given. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141264 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/target_command/TestTargetCommand.py
|
e14cf4e7dc9d561224f744807b70a8ab91a8b36d |
05-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add capability to set ignore count for watchpoint on the command line: watchpoint ignore -i <count> [<watchpt-id | watchpt-id-list>] Add tests of watchpoint ignore_count for command line as well as API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141217 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/main.c
ython_api/watchpoint/TestWatchpointIgnoreCount.py
|
8bdf57cfc246358ab65b2d36ec2b8462e8d36e54 |
05-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a problem where the stop-hook command 'frame variable g_val' produces nothing when newly created threads were subsequently stopped due to breakpoint hit. The stop-hook mechanism delegates to CommandInterpreter::HandleCommands() to execuet the commands. Make sure the execution context is switched only once at the beginning of HandleCommands() only and don't update the context while looping on each individual command to be executed. rdar://problem/10228156 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141144 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/stop-hook/multiple_threads/Makefile
unctionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
unctionalities/stop-hook/multiple_threads/main.cpp
|
d94f973fe1718c0a886d4808732da148e240658d |
04-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz call for sub-section iteration for SBSection. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141041 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_section.py
|
7e98e09fc07cf55899d07c130530a77ecc58c5c8 |
04-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add SBSection API to the fuzz testing. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141039 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_section.py
|
61369695d149f07aeb3a06dfc93789b773b206f8 |
04-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz call for watchpoint location iterator, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141036 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
|
a70c157b98bc6e9c8d1853e54473c3bd5a349a77 |
04-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for various iterators, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141035 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_breakpoint.py
ython_api/default-constructor/sb_compileunit.py
ython_api/default-constructor/sb_debugger.py
ython_api/default-constructor/sb_instructionlist.py
ython_api/default-constructor/sb_module.py
ython_api/default-constructor/sb_process.py
ython_api/default-constructor/sb_stringlist.py
ython_api/default-constructor/sb_target.py
ython_api/default-constructor/sb_thread.py
ython_api/default-constructor/sb_type.py
ython_api/default-constructor/sb_value.py
ython_api/default-constructor/sb_valuelist.py
|
5cac6a54b36dd4f9b0db570720b8d47a487343f9 |
01-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add SBFrame.WatchLocation() to find and watch the location pointed to by a variable usng the frame as the scope. Add TestSetWatchpoint.py to exercise this API. Also fix some SWIG Python docstrings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140914 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/watchlocation/Makefile
ython_api/watchpoint/watchlocation/TestSetWatchlocation.py
ython_api/watchpoint/watchlocation/main.cpp
|
90c56e6324c7099f6c98c6c28427214824677d4b |
30-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
o lldbtest.py: Add a keyword argument 'endstr' to TestBase.expect() method to assert that the output will end with 'endstr'. Add TestBase.switch_to_thread_with_stop_reason(stop_reason) to select the thread with the stop reason = 'stop_reason' as the current thread. o TestWatchLocation.py: Modified to switch to the stopped thread with stop reason = watchpoint and to evaluate an expression with expected output for stronger assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140890 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/hello_watchlocation/main.cpp
ldbtest.py
|
1b4525213621b2179f0841edd54842eebecd28cd |
30-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an accompanying option to the 'frame variable -w' command to, instead of watching the variable, watch the location pointed to by the variable. An example, (lldb) frame variable -w write -x 1 -g g_char_ptr (char *) g_char_ptr = 0x0000000100100860 ""... Watchpoint created: WatchpointLocation 1: addr = 0x100100860 size = 1 state = enabled type = w declare @ '/Volumes/data/lldb/svn/trunk/test/functionalities/watchpoint/hello_watchlocation/main.cpp:21' ... (lldb) c Process 3936 resuming ... rocess 3936 stopped * thread #2: tid = 0x3403, 0x00000001000009b7 a.out`do_bad_thing_with_location(char*, char) + 23 at main.cpp:27, stop reason = watchpoint 1 frame #0: 0x00000001000009b7 a.out`do_bad_thing_with_location(char*, char) + 23 at main.cpp:27 24 do_bad_thing_with_location(char *char_ptr, char new_val) 25 { 26 *char_ptr = new_val; -> 27 } 28 29 uint32_t access_pool (uint32_t flag = 0); 30 (lldb) Also add TestWatchLocation.py test to exercise this functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140836 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchlocation/Makefile
unctionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
unctionalities/watchpoint/hello_watchlocation/main.cpp
|
6acf30a8cd90c176515b7af8056102bf3c596034 |
30-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix extraneous import as a result of the last change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140832 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/module_section/TestModuleAndSection.py
|
bf338e678907e3592e84a9fd3986f40dc356b4af |
30-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Migrate the in_range(symbol, section) and symbol_iter(module, section) utility functions from lldbutil.py to the lldb.py proper. The in_range() function becomes a function in the lldb module. And the symbol_iter() function becomes a method within the SBModule called symbol_in_section_iter(). Example: # Iterates the text section and prints each symbols within each sub-section. for subsec in text_sec: print INDENT + repr(subsec) for sym in exe_module.symbol_in_section_iter(subsec): print INDENT2 + repr(sym) print INDENT2 + 'symbol type: %s' % symbol_type_to_str(sym.GetType()) might produce this following output: [0x0000000100001780-0x0000000100001d5c) a.out.__TEXT.__text id = {0x00000004}, name = 'mask_access(MaskAction, unsigned int)', range = [0x00000001000017c0-0x0000000100001870) symbol type: code id = {0x00000008}, name = 'thread_func(void*)', range = [0x0000000100001870-0x00000001000019b0) symbol type: code id = {0x0000000c}, name = 'main', range = [0x00000001000019b0-0x0000000100001d5c) symbol type: code id = {0x00000023}, name = 'start', address = 0x0000000100001780 symbol type: code [0x0000000100001d5c-0x0000000100001da4) a.out.__TEXT.__stubs id = {0x00000024}, name = '__stack_chk_fail', range = [0x0000000100001d5c-0x0000000100001d62) symbol type: trampoline id = {0x00000028}, name = 'exit', range = [0x0000000100001d62-0x0000000100001d68) symbol type: trampoline id = {0x00000029}, name = 'fflush', range = [0x0000000100001d68-0x0000000100001d6e) symbol type: trampoline id = {0x0000002a}, name = 'fgets', range = [0x0000000100001d6e-0x0000000100001d74) symbol type: trampoline id = {0x0000002b}, name = 'printf', range = [0x0000000100001d74-0x0000000100001d7a) symbol type: trampoline id = {0x0000002c}, name = 'pthread_create', range = [0x0000000100001d7a-0x0000000100001d80) symbol type: trampoline id = {0x0000002d}, name = 'pthread_join', range = [0x0000000100001d80-0x0000000100001d86) symbol type: trampoline id = {0x0000002e}, name = 'pthread_mutex_lock', range = [0x0000000100001d86-0x0000000100001d8c) symbol type: trampoline id = {0x0000002f}, name = 'pthread_mutex_unlock', range = [0x0000000100001d8c-0x0000000100001d92) symbol type: trampoline id = {0x00000030}, name = 'rand', range = [0x0000000100001d92-0x0000000100001d98) symbol type: trampoline id = {0x00000031}, name = 'strtoul', range = [0x0000000100001d98-0x0000000100001d9e) symbol type: trampoline id = {0x00000032}, name = 'usleep', range = [0x0000000100001d9e-0x0000000100001da4) symbol type: trampoline [0x0000000100001da4-0x0000000100001e2c) a.out.__TEXT.__stub_helper [0x0000000100001e2c-0x0000000100001f10) a.out.__TEXT.__cstring [0x0000000100001f10-0x0000000100001f68) a.out.__TEXT.__unwind_info [0x0000000100001f68-0x0000000100001ff8) a.out.__TEXT.__eh_frame git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140830 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/module_section/TestModuleAndSection.py
|
3dd956eb7ee3e93df6b68a9c7c528e92359b6026 |
29-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the delegation chain from MachThreadList -> MachThread -> DNBArchProtocol so that when the watchpoint state is changed, not only does the change propagate to all the thread instances, it also updates a global debug state, if chosen by the DNBArchProtocol derivative. Once implemented, the DNBArchProtocol derivative, also makes sure that when new thread comes along, it tries to inherit from the global debug state, if it is valid. Modify TestWatchpointMultipleThreads.py to test this functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140811 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
unctionalities/watchpoint/multiple_threads/main.cpp
|
48c7756be4ae81d9e524ba23ef89a401bdf9fa31 |
29-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a bug in the current MacOSX MachThreadList::EnableHardwareWatchpoint() impl so that it enables the hardware watchpoint for all existing threads. Add a test file for that. Also fix MachThreadList::DisableHardwareWatchpoint(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140757 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/multiple_threads/Makefile
unctionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
unctionalities/watchpoint/multiple_threads/main.cpp
|
ff2ec040bb58acb7f861696d2b3dfb574dd1a8f3 |
28-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify lldbutil.in_range(symbol, section) to deal with the symbol whose end address is an LLDB_INVALID_ADDRESS. Modify the test case to dump all the symbols in all the sections. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140710 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/module_section/TestModuleAndSection.py
|
e70826104d551d48c5af91f56f9ed3937af14870 |
28-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test sequence of iterating through a module's symbols belonging to a section. Add the relevant utility functions to the lldbutil.py file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140669 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/module_section/TestModuleAndSection.py
|
fd4fe88d46055b2b66d840312d1f95ec8e2f4714 |
28-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple test TestModuleAndSection.py to exercise some module/section-related APIs. In particular, it iterates through the executable module's SBSections, looking for the '__TEXT' section and further iterates on its subsections (of SBSection type, too). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140654 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/module_section/Makefile
ython_api/module_section/TestModuleAndSection.py
ython_api/module_section/main.cpp
|
a9f92b15f939ae4c4d17c2a61e03477a73955b42 |
27-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make the assignment of TestBase.mydir more portable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140640 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/frame/TestFrameUtils.py
ython_api/lldbutil/iter/TestLLDBIterator.py
ython_api/lldbutil/iter/TestRegistersIterator.py
|
8a0d8971ba98e562091d3281620a5254048050a1 |
27-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
SBWatchpointLocation.GetDescription() takes an additional description level arg. Modify get_description() utility function in lldbutil.py to handle that. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140638 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/watchpoint/TestWatchpointLocationIter.py
|
5eb54bb63835eb01b200223503b5fd89a7557dd5 |
27-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add SBTarget::GetLastCreatedWatchpointLocation() API and export to the Python interface. Also add rich comparison methods (__eq__ and __ne__) for SBWatchpointLocation. Modify TestWatchpointLocationIter.py to exercise the new APIs. Add fuzz testings for the recently added SBTarget APIs related to watchpoint manipulations. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140633 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
ython_api/watchpoint/TestWatchpointLocationIter.py
|
b59194fb66c078765887a3156e4c2bc32a95543f |
27-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz testing for newly added SBWatchpointLocation API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140632 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_watchpointlocation.py
|
092bd1575675778c6ebe901a7760af7427db617e |
27-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Export the watchpoint related API (SBWatchpointLocation class and added SBTarget methods) to the Python interface. Implement yet another (threre're 3 now) iterator protocol for SBTarget: watchpoint_location_iter(), to iterate on the available watchpoint locations. And add a print representation for SBWatchpointLocation. Exercise some of these Python API with TestWatchpointLocationIter.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140595 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/TestWatchpointLocationIter.py
|
88b6ac22884d6e9b2fb0d7ae91901beb9ca369cb |
26-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailureClang custom decorator for indicating clang-specific test failures. It has been fixed on the lldb side to compensate for bad debug info (line table information). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140550 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
ad0134d454ddeaed6b9d2ba9b46995bdac336ab3 |
24-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140450 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/main.c
|
27a944d5fc74972a90e8dd69879ebc27c4412b99 |
24-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add FindValue() and WatchValue() fuzz calls to the mix. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140439 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_frame.py
|
3e8c25f62f92145b6fb699b379cbfe72b1245d4a |
24-Sep-2011 |
Greg Clayton <gclayton@apple.com> |
Added to the public API to allow symbolication: - New SBSection objects that are object file sections which can be accessed through the SBModule classes. You can get the number of sections, get a section at index, and find a section by name. - SBSections can contain subsections (first find "__TEXT" on darwin, then us the resulting SBSection to find "__text" sub section). - Set load addresses for a SBSection in the SBTarget interface - Set the load addresses of all SBSection in a SBModule in the SBTarget interface - Add a new module the an existing target in the SBTarget interface - Get a SBSection from a SBAddress object This should get us a lot closer to being able to symbolicate using LLDB through the public API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140437 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_address.py
ython_api/default-constructor/sb_module.py
ython_api/function_symbol/TestSymbolAPI.py
|
4c24b0a9f72c09d2e442ab9dbbf270b6e930f1e8 |
24-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an SB API SBFrame::WatchValue() and exported to the Python interface to set a watchpoint Pythonically. If the find-and-watch-a-variable operation fails, an invalid SBValue is returned, instead. Example Python usage: value = frame0.WatchValue('global', lldb.eValueTypeVariableGlobal, lldb.LLDB_WATCH_TYPE_READ|lldb.LLDB_WATCH_TYPE_WRITE) Add TestSetWatchpoint.py to exercise this API. We have 400 test cases now. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140436 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/watchpoint/Makefile
ython_api/watchpoint/TestSetWatchpoint.py
ython_api/watchpoint/main.c
|
bfb419963dada3342389a93d80051e4a2c3d202b |
23-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple regression test for 'target stop-hook list' with no target specified. It should not crash lldb. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140421 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/stop-hook/TestStopHookCmd.py
|
e031d3e62c38d7d0a31b61cf7cb3498824f30581 |
23-Sep-2011 |
Jim Ingham <jingham@apple.com> |
Added a test for problems caused when Clang errantly makes the line range for one line too long, so that the jump from the line above the bad line to the line after ends up in the middle of the bad line instead. Added a workaround to lldb to just continue to the end if we find ourselves stopped in the middle of some other line. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140419 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/stop-hook/TestStopHookMechanism.py
unctionalities/stop-hook/main.cpp
|
3856985b517b75d10368768d12f754afeb34a137 |
23-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for watchpoint list, enable, disable, and delete commands. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140398 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/watchpoint_commands/Makefile
unctionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
unctionalities/watchpoint/watchpoint_commands/main.c
|
0f223043ff051fd6e52188f03d9e311ec8dcd0a0 |
23-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
A second try to make the TestStopHookMechanism.py more robust after recent changes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140396 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/stop-hook/TestStopHookMechanism.py
|
3f391702be6d4d814d488ee8fe5eec862ad3d439 |
23-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple test case for 'help watchpoint', 'help watchpt-id', and 'help watchpt-id-list'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140393 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
d430b91d678a709d7319ca3a67ae96602e8adf53 |
23-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
The "Stop Hooks" anchors have been removed from the stop-hook output. Update the test case to fix test suite failure. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140392 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/stop-hook/TestStopHookMechanism.py
|
d6d47976b71187907c1cdeea86fabf7d5534314f |
23-Sep-2011 |
Jim Ingham <jingham@apple.com> |
Added the ability to restrict breakpoints by function name, function regexp, selector etc to specific source files. Added SB API's to specify these source files & also more than one module. Added an "exact" option to CompileUnit's FindLineEntry API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140362 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/Makefile
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/breakpoint/breakpoint_command/a.c
unctionalities/breakpoint/breakpoint_command/b.c
|
01acfa76010b8db2e77016c144963c4dd70f1392 |
22-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add initial implementation of watchpoint commands for list, enable, disable, and delete. Test cases to be added later. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140322 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
a8428a458e779a64c8642fef5d29c7f6cc1b95f9 |
22-Sep-2011 |
Sean Callanan <scallanan@apple.com> |
Fixed a problem with the IR interpreter that caused it to generate result variables that were not bound to their underlying data. This allowed the SBValue class to use the interpreter (if possible). Also made sure that any result variables that point to stack allocations in the stack frame of the interpreted expressions do not get live data. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140285 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
03c8ee5aeafcd6c43f10002a4f8096af01780f86 |
21-Sep-2011 |
Jim Ingham <jingham@apple.com> |
Add a new breakpoint type "break by source regular expression". Fix the RegularExpression class so it has a real copy constructor. Fix the breakpoint setting with multiple shared libraries so it makes one breakpoint not one per shared library. Add SBFileSpecList, to be used to expose the above to the SB interface (not done yet.) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140225 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-stepping/TestObjCStepping.py
|
0ae31648a69b60b68b4a45e2778cc2dde133f945 |
20-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add four new expectedFailre decorators to new failures most likely due to r139772 check-in. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140150 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/TestFormatters.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
10b12b3aa8542721fa9485c1d520433de0e0e720 |
16-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a declaraion info member field to the WatchpointLocation class. Modify CommandObjectFrame.cpp to populate this field when creating a watchpoint location. Update the test case to verify that the declaration info matches the file and line number. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139946 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/hello_watchpoint/main.c
|
6a451485d71f890635a32930d09c7296e665bcbd |
16-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor change for output message (less is better). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139924 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
178c8d99c2fe0fc4b10368329a83b0da44c8a725 |
16-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
To be more paranoid, check cmd_output before searching in it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139920 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
6a4e087699713b51ef94a2c6322842f30474a526 |
16-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rephrase the checkDsymForUUIDIsNotOn() a bit so that in the normal case where automatic lookup and cacheing of dSYMs is not enabled, the 'defaults read com.apple.DebugSymbols' output is not shown. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139914 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
2891bb03e1ceafe4f894d7edb01f15b8ba890d27 |
16-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a check for the test driver to make sure that, on Mac OS X, the automatic lookup and caching of dSYMs is not turned on before running the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139896 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
cbecb9a959ce55d452f121b91923f9f44d248922 |
16-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong test method name. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139863 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/sbdata/TestSBData.py
|
2e1f447716076bedcaa44b2d34e769fe4074d2e8 |
15-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for added API methods: FindFirstType(), FindTypes(), and GetSourceManager(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139857 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
|
12a8ecd6c9b2651e0913930047a0e5791e8fd334 |
15-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls to newly added methods: GetAsync() and SetSelectedTarget(SBTarget). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139855 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_debugger.py
|
58c66e2c4273c101a82ce02e17cc10d338b825bb |
15-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple watchpoint test to exercise watchpoint creation followed by watchpoint hit events. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139847 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/watchpoint/hello_watchpoint/Makefile
unctionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
unctionalities/watchpoint/hello_watchpoint/main.c
ldbtest.py
|
3823c841e3639d68505887f5b12914183cf3cc86 |
15-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fixed indentation. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139802 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/main.c
|
1ac6d1f9200a875cc4f761e278d29658599431c0 |
09-Sep-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Adding two new options to the 'help' command: --show-aliases (-a) shows aliases for commands, as well as built-in commands --hide-user-defined (-u) hides user defined commands by default 'help' without arguments does not show aliases anymore. to see them, add --show-aliases to have only built-in commands appear, use 'help --hide-user-defined' ; there is currently no way to hide built-in commands from the help output 'help command' is not changed by this commit, and help is shown even if command is an alias and -a is not specified git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139377 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
unctionalities/command_python/TestCommandPython.py
elp/TestHelp.py
|
fdf24efe672bf3fa041cdbebd2d7f406b11882bd |
09-Sep-2011 |
Jim Ingham <jingham@apple.com> |
Move the SourceManager from the Debugger to the Target. That way it can store the per-Target default Source File & Line. Set the default Source File & line to main (if it can be found.) at startup. Selecting the current thread & or frame resets the current source file & line, and "source list" as well as the breakpoint command "break set -l <NUM>" will use the current source file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139323 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
|
d86218ae4c5f0ae291a260444dd318729a54c764 |
06-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Test should print to stdout only if self.TraceOn() is True. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139174 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/sbdata/TestSBData.py
|
915448044bac6fdac22a33cc46697dcb771a8df2 |
06-Sep-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Redesign of the interaction between Python and frozen objects: - introduced two new classes ValueObjectConstResultChild and ValueObjectConstResultImpl: the first one is a ValueObjectChild obtained from a ValueObjectConstResult, the second is a common implementation backend for VOCR and VOCRCh of method calls meant to read through pointers stored in frozen objects ; now such reads transparently move from host to target as required - as a consequence of the above, removed code that made target-memory copies of expression results in several places throughout LLDB, and also removed code that enabled to recognize an expression result VO as such - introduced a new GetPointeeData() method in ValueObject that lets you read a given amount of objects of type T from a VO representing a T* or T[], and doing dereferences transparently in private layer it returns a DataExtractor ; in public layer it returns an instance of a newly created lldb::SBData - as GetPointeeData() does the right thing for both frozen and non-frozen ValueObject's, reimplemented ReadPointedString() to use it en lieu of doing the raw read itself - introduced a new GetData() method in ValueObject that lets you get a copy of the data that backs the ValueObject (for pointers, this returns the address without any previous dereferencing steps ; for arrays it actually reads the whole chunk of memory) in public layer this returns an SBData, just like GetPointeeData() - introduced a new CreateValueFromData() method in SBValue that lets you create a new SBValue from a chunk of data wrapped in an SBData the limitation to remember for this kind of SBValue is that they have no address: extracting the address-of for these objects (with any of GetAddress(), GetLoadAddress() and AddressOf()) will return invalid values - added several tests to check that "p"-ing objects (STL classes, char* and char[]) will do the right thing Solved a bug where global pointers to global variables were not dereferenced correctly for display New target setting "max-string-summary-length" gives the maximum number of characters to show in a string when summarizing it, instead of the hardcoded 128 Solved a bug where the summary for char[] and char* would not be shown if the ValueObject's were dumped via the "p" command Removed m_pointers_point_to_load_addrs from ValueObject. Introduced a new m_address_type_of_children, which each ValueObject can set to tell the address type of any pointers and/or references it creates. In the current codebase, this is load address most of the time (the only notable exception being file addresses that generate file address children UNLESS we have a live process) Updated help text for summary-string Fixed an issue in STL formatters where std::stlcontainer::iterator would match the container's synthetic children providers Edited the syntax and help for some commands to have proper argument types git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139160 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/formatters/Makefile
xpression_command/formatters/TestFormatters.py
xpression_command/formatters/foosynth.py
xpression_command/formatters/formatters.py
xpression_command/formatters/main.cpp
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/target_command/TestTargetCommand.py
unctionalities/target_command/globals.c
ang/c/strings/TestCStrings.py
ython_api/sbdata/Makefile
ython_api/sbdata/TestSBData.py
ython_api/sbdata/main.cpp
|
2b5b8d21ed2db80ce1ef2ba35fc38542bb9eac89 |
27-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Update the test case in light of recent change of LLDB-Info.plist to track Apple Generic Version number from the Xcode project file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138677 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
6033bedc163bc57b5e5c3c1aee8ba81f64b4f11e |
26-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a new attribute self.lldbHere, representing the fullpath to the 'lldb' executable built locally from the source tree. This is distinguished from self.lldbExec, which can be used by test/benchmarks to measure the performances against other debuggers. You can use environment variable LLDB_EXEC to specify self.lldbExec to the dotest.py test driver, otherwise it is going to be populated with self.lldbHere. Modify the regular tests under test dir, i.e., not test/benchmarks, to use self.lldbHere. Also modify the benchmarks tests to use self.lldbHere when it needs an 'lldb' executable with debug info to do the performance measurements. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138608 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestDisassembly.py
enchmarks/disassembly/TestFlintVsSlateGDBDisassembly.py
otest.py
unctionalities/command_regex/TestCommandRegex.py
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/stop-hook/TestStopHookMechanism.py
ldbtest.py
|
222df17790133609f7c99c7f0515b1fefcba3afb |
25-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the loggings output oracle to fix test suite failure, after the recent change to CommandInterpreter.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138590 91177308-0d34-0410-b5e6-96231b3b80d8
ogging/TestLogging.py
|
319df48a0962c8cd4ae9fe784e54a29bc169256c |
25-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove skip decorator now that crash has been fixed. Fix a compie warning for main.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138503 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/this/TestCPPThis.py
ang/cpp/this/main.cpp
|
b7058c5e24dc3cb8433c40f72fb57f5303a4169f |
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Pretty print the run options for dumpSessionInfo(self) client. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138466 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
909b7b74b6e7b638d9953a44a5495161c4eed349 |
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix compile warning. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138465 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_9531204/main.c
|
752296193c7d9fff8c3486f04e392977cd973f0d |
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Don't display the stdout if not in TraceOn(), i.e, '-t option, mode. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138458 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/command_python/TestCommandPython.py
|
4ecbe3db4330cafb113dcb8046e18a310b53221e |
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
The plugin impl of getCompiler() should be in unison with the Makefile.rules change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138454 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
lugins/builder_base.py
|
551325699aa1554b589b008f6bebdf2dfd1e1405 |
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove the expectedFailure decorator. The test has been passing for some time now. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138452 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_9531204/TestPrintfAfterUp.py
|
37ef7c73ea2e84965c54c9c2d4ea5c5d6e7dbdd1 |
24-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Moved the test code for Python commands out of the test case for aliases, into its own dedicated test case (one fill was still lurking in the old folder) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138446 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/py_import
|
46623be1656d64a261c0d5e0150c49e9abc82ca1 |
24-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Moved the test code for Python commands out of the test case for aliases, into its own dedicated test case git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138444 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
unctionalities/alias/welcome.py
unctionalities/command_python/Makefile
unctionalities/command_python/TestCommandPython.py
unctionalities/command_python/main.cpp
unctionalities/command_python/py_import
unctionalities/command_python/welcome.py
|
92f75728050db93bfaf3e73d86a4a8a3a75dad8a |
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Uniquefy the various data-formatter test class names so that: ./dotest.py -v -f DataFormatterTestCase.test_with_dsym_and_run_command will not end up running 14 tests. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138399 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
unctionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py
unctionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
|
b0d97968f34f1928a4ca625d03f17ec7a14a53be |
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Skip these two cases temporarily while investigating the crash on OSX Lion with clang as the compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138393 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/this/TestCPPThis.py
|
93c7d374a89e44ce254257f203a04ea20e379e32 |
23-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make clang the default compiler for building the test programs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138391 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
ef1923d722126810ef879edb959eed8c85a0742f |
23-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Improved the user-friendliness of errors shown by the summary feature in certain areas Renamed format "signed decimal" to be "decimal". "unsigned decimal" remains unchanged: - the name "signed decimal" was interfering with symbol %S (use summary) in summary strings. because of the way summary strings are implemented, this did not really lead to a bug, but simply to performing more steps than necessary to display a summary. this is fixed. Documentation improvements (more on synthetic children, some information on filters). This is still a WIP. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138384 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/rdar-9974002/Makefile
unctionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
unctionalities/data-formatter/rdar-9974002/main.cpp
|
2431244f929e269c6ecd51aa3eb606b6a2474f19 |
23-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Added support for persistent types to the expression parser. You can use a persistent type like this: (lldb) expr struct $foo { int a; int b; }; (lldb) struct $foo i; i.a = 2; i.b = 3; i ($foo) $0 = { (int) a = 2 (int) b = 3 } typedefs work similarly. This patch affects the following files: test/expression_command/persistent_types/* A test case for persistent types, in particular structs and typedefs. ClangForward.h Added TypeDecl, needed to declare some functions in ASTResultSynthesizer.h ClangPersistentVariables.[h,cpp] Added a list of persistent types to the persistent variable store. ASTResultSynthesizer.[h,cpp] Made the AST result synthesizer iterate across TypeDecls in the expression, and record any persistent types found. Also made a minor documentation fix. ClangUserExpression.[h,cpp] Extended the user expression class to keep the state needed to report the persistent variable store for the target to the AST result synthesizers. Also introduced a new error code for expressions that executed normally but did not return a result. CommandObjectExpression.cpp Improved output for expressions (like declarations of new persistent types) that don't return a result. This is no longer treated as an error. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138383 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/persistent_types/Makefile
xpression_command/persistent_types/TestPersistentTypes.py
xpression_command/persistent_types/main.c
|
242ffb80dd0c1c650c8a9f05656a3ba2f339993d |
23-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Short option for --summary-string in 'type summary add' is now -s. This might be a breaking change for those who have summaries defined. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138331 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
unctionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py
|
adec24defd7f745bf6d931517666f12978381f85 |
23-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add some expected failure decorators with radar numbers. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138316 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/this/TestCPPThis.py
|
2c6a3d80dab3cf50c26fefe037357a4e6e621258 |
23-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Additional code cleanups ; Short option name for --python-script in type summary add moved from -s to -o (this is a preliminary step in moving the short option for --summary-string from -f to -s) ; Accordingly updated the test suite git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138315 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
|
c01c05c7a8a198761fb917308dd53e6e143384ad |
23-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Restored the version of LLVM that we previously rolled back, and the testcase that the rollback broke. The new LLVM has a new ARM disassembler, which may cause instability. Keeping the old one would force us into a contorted position vis-a-vis the LLVM sources we bring in, so we will address issues on the new one rather than keeping the old one around. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138284 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/function_types/TestFunctionTypes.py
|
24b81e3f87b90d99670a92eaf4d782abd608c8b8 |
23-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix the 'target variable' help syntax to output one or more <variable-name>'s. Add a simple test case for that. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138281 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
c70f3f5215c76e0a437bc661e8b024cf8b7db20c |
22-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify test cases to use 'target variable' to display global variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138247 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
|
960691ff5f194be6c655c6a2aae2000d5a838647 |
22-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
- Support for Python namespaces: If you have a Python module foo, in order to use its contained objects in LLDB you do not need to use 'from foo import *'. You can use 'import foo', and then refer to items in foo as 'foo.bar', and LLDB will know how to resolve bar as a member of foo. Accordingly, GNU libstdc++ formatters have been moved from the global namespace to gnu_libstdcpp and a few test cases are also updated to reflect the new convention. Python docs suggest using a plain 'import' en lieu of 'from-import'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138244 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
unctionalities/alias/py_import
|
13a54a141acd6255e4e11db466951ec1f26aa2f5 |
19-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Taking care of an issue with using lldb_private types in SBCommandInterpreter.cpp ; Making NSString test case work on Snow Leopard ; Removing an unused variable warning git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138105 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
|
6f30287bdc836c715fcac75b06ec58d13b79e715 |
19-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
- Now using ${var} as the summary for an aggregate type will produce "name-of-type @ object-location" instead of giving an error e.g. you may get "foo_class @ 0x123456" when typing "type summary add -f ${var} foo_class" - Added a new special formatting token %T for summaries. This shows the type of the object. Using it, the new "type @ location" summary could be manually generated by writing ${var%T} @ ${var%L} - Bits and pieces required to support "frame variable array[n-m]" The feature is not enabled yet because some additional design and support code is required, but the basics are getting there - Fixed a potential issue where a ValueObjectSyntheticFilter was not holding on to its SyntheticChildrenSP Because of the way VOSF are being built now, this has never been an actual issue, but it is still sensible for a VOSF to hold on to the SyntheticChildrenSP as well as to its FrontEnd git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138080 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
unctionalities/data-formatter/rdar-9973992/Makefile
unctionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py
unctionalities/data-formatter/rdar-9973992/main.cpp
|
cbfc0ea71785f0affc7ea9ada6d344f822455d47 |
19-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Refined the rollback to LLVM, picking up a newer revision and adding a patch that fixes an AsmParser crash on ARM. One feature that we unfortunately lost (for the moment!) is the ability to cast unknown code symbols to arbitrary function types and put the resulting function pointer in a result variable. This feature will be back, though. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138036 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/function_types/TestFunctionTypes.py
|
2f2c6fb9e61dadd9296948cb358680172b30232e |
19-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
More thorough fix for the spaces-in-typename issue git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138026 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
|
7c9136bd673d483c5c47e6f310e1d7278e29f5d4 |
19-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor change for the @expectedFailureClang logic. For the non-clang test failure, re-raise the exception to get more stack trace information. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138021 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
d3a86a2bad17204570577dbafc51f3b107310de8 |
19-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Third round of code cleanups: - reorganizing the PTS (Partial Template Specializations) in FormatManager.h - applied a patch by Filipe Cabecinhas to make LLDB compile with GCC Functional changes: - fixed an issue where command type summary add for type "struct Foo" would not match any types. currently, "struct" will be stripped off and type "Foo" will be matched. similar behavior occurs for class, enum and union specifiers. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138020 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
|
65040cbce499d67cf9b92fd845b3cfb84efe98f0 |
19-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a decorator for marking clang only expectedFailure. Use it for the test_step_over_3_times_with_dsym/dwarf() test cases in TestThreadAPI.py by decorating it with @expectedFailureClang. Example: @expectedFailureClang @python_api_test def test_step_over_3_times_with_dwarf(self): """Test Python SBThread.StepOver() API.""" # We build a different executable than the default buildDwarf() does. d = {'CXX_SOURCES': 'main2.cpp', 'EXE': self.exe_name} self.buildDwarf(dictionary=d) self.setTearDownCleanup(dictionary=d) self.step_over_3_times(self.exe_name) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138019 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ython_api/thread/TestThreadAPI.py
|
7044f1be77bfad02d3dc600990805122a7a203c6 |
19-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Revert the previous addition of expectedFailure decorators, it was a mistake. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138013 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/strings/TestCStrings.py
|
0c8e91e8c9d299c84697cde797d30ba3b00a4a11 |
19-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add expectedFailure decorator. Failed possibly due to rollback of llvm/clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138011 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/strings/TestCStrings.py
|
1c61743af946076e988d88baf725382e99d905de |
18-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Second round of code cleanups: - reorganizing classes layout to have public part first Typedefs that we want to keep private, but must be defined for some public code to work correctly are an exception - avoiding methods in the form T foo() { code; } all on one-line - moving method implementations from .h to .cpp whenever feasible Templatized code is an exception and so are very small methods - generally, adhering to coding conventions followed project-wide Functional changes: - fixed an issue where using ${var} in a summary for an aggregate, and then displaying a pointer-to-aggregate would lead to no summary being displayed The issue was not a major one because all ${var} was meant to do in that context was display an error for invalid use of pointer Accordingly fixed test cases and added a new test case git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137944 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/data-formatter/rdar-9973865/Makefile
unctionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py
unctionalities/data-formatter/rdar-9973865/main.cpp
|
f501c5913d5daaf45a906477bdf466bb74ed10fb |
18-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
First round of code cleanups: - all instances of "vobj" have been renamed to "valobj" - class Debugger::Formatting has been renamed to DataVisualization (defined in FormatManager.h/cpp) The interface to this class has not changed - FormatCategory now uses ConstString's as keys to the navigators instead of repeatedly casting from ConstString to const char* and back all the time Next step is making the same happen for categories themselves - category gnu-libstdc++ is defined in the constructor for a FormatManager The source code for it is defined in gnu_libstdcpp.py, drawn from examples/synthetic at compile time All references to previous 'osxcpp' name have been removed from both code and file names Functional changes: - the name of the option to use a summary string for 'type summary add' has changed from the previous --format-string to the new --summary-string. It is expected that the short option will change from -f to -s, and -s for --python-script will become -o git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137886 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
|
074e3b6c2eac1438a85e464796cbc19b4354d5ad |
17-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
New category "gnu-libstdc++" provides summary for std::string and synthetic children for types std::map, std::list and std::vector The category is enabled by default. If you run into issues with it, disable it and the previous behavior of LLDB is restored ** This is a temporary solution. The general solution to having formatters pulled in at startup should involve going through the Platform. Fixed an issue in type synthetic list where a category with synthetic providers in it was not shown if all the providers were regex-based git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137850 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
|
e5e34cb15f031237004b05abfa623c71f879f6c0 |
17-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
When defining a scripted command, it is possible to provide a docstring and that will be used as the help text for the command If no docstring is provided, a default help text is created LLDB will refuse to create scripted commands if the scripting language is anything but Python Some additional comments in AppleObjCRuntimeV2.cpp to describe the memory layout expected by the dynamic type lookup code git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137801 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
unctionalities/alias/welcome.py
|
6b1596d81c34c6efb10ed51a3572d6b145b73f5b |
17-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Changes to Python commands: - They now have an SBCommandReturnObject instead of an SBStream as third argument - The class CommandObjectPythonFunction has been merged into CommandObjectCommands.cpp - The command to manage them is now: command script with subcommands add, list, delete, clear command alias is returned to its previous functionality - Python commands are now part of an user dictionary, instead of being seen as aliases git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137785 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/alias/TestAliases.py
unctionalities/alias/py_import
unctionalities/alias/welcome.py
|
770683dac25c30a80e07e0f4379ccf878b9e16d5 |
17-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add comment about recent change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137776 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
e90a10e9f4268166773a8b3e836ec3a8d96e72f5 |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Comment change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137749 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
9e643dbb9254ad1e0d82b923f58fc64eeeec5be1 |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add comment on known restrictions of the current implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137748 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
13fb65746c5ab8a23181cda67c18aef1d89f5c2b |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
The redo script did not take into account the compiler and architecture configuration of the failed tests. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137741 91177308-0d34-0410-b5e6-96231b3b80d8
edo.py
|
d6c7e5caa3a90d859e68f59cb122685e634026b2 |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Take clang output into account. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137739 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/strings/TestCStrings.py
|
4d308400ca081b3d72fe55ced1178bd6dad4d9b8 |
16-Aug-2011 |
Jim Ingham <jingham@apple.com> |
Re-enable the test for ValueAsUnsigned on a register Value. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137738 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/change_values/TestValueAPI.py
|
8339f9820b1e418d7cff64551cd26bb26e5d8e29 |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix the test suite error of: ... File "/Volumes/data/lldb/svn/trunk/test/lldbtest.py", line 243, in __init__ self.session = test.session if test else None AttributeError: 'StdCXXDisassembleTestCase' object has no attribute 'session' git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137724 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
c2a2825d787be5459fc55264e55b6020ff62f68a |
16-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Python commands: It is now possible to use 'command alias --python' to define a command name that actually triggers execution of a Python function (e.g. command alias --python foo foo_impl makes a command named 'foo' that runs Python function 'foo_impl') The Python function foo_impl should have as signature: def foo_impl(debugger, args, stream, dict): where debugger is an object wrapping an LLDB SBDebugger args is the command line arguments, as an unparsed Python string stream is an SBStream that represents the standard output dict is an internal utility parameter and should be left untouched The function should return None on no error, or an error string to describe any problems git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137722 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/alias/TestAliases.py
unctionalities/alias/py_import
unctionalities/alias/welcome.py
|
baafee2c7a6be322bd3989c9f53d345adc4bd576 |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the expected substrings to accomodate clang, now that rdar://problem/8516141 has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137698 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_types/TestClassTypes.py
|
cd1df5aa6af07a0228f853013f90f5f6339cd5a3 |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Forgot to initialize the self.__skipped__ attribute lldbtest.Base. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137696 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
f5b89098f19f0600a7495215bc35af5cd6130ca2 |
16-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Test driver should also report skipped tests because there were cases when tests were skipped due to incorrect skip-logic. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137678 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
161cdf644aa9b8575f42dab537c5e3e01a186ec6 |
15-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add new SBAddress APIs to the fuzz tests. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137625 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_address.py
|
be85f0bc2ebbc2e2aff4ce2c2ae1149643b338b2 |
13-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple test case to exercise the SBDebugger.CreateTargetWithFileAndTargetTriple() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137544 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
e36a35c2a1cf58af36b96b49aaddbf72485271b4 |
13-Aug-2011 |
Jim Ingham <jingham@apple.com> |
Test case for changing ValueObjects with SBValue::SetValueFromCString. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137543 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/change_values/Makefile
ython_api/value/change_values/TestValueAPI.py
ython_api/value/change_values/main.c
|
4386675ff4485cc67173f590b0f7daa5ba83fc33 |
13-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the skipUnless() logic to work for OSX Lion. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137542 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
db4be60f02e9bc2af7f3a6f32f612e73856f21ee |
13-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a test driver bug where multiple filter specs (through the -f TestClassName.test_method_name command line option) belonging to the same Test*.py file are ignored, except for the first one. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137540 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
a61c839029ecf24c115b736485c89e0ed3339358 |
12-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add radar info for self.skipTest(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137504 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
|
422f1161f1b76bb2e3f46e535a60728477413ea8 |
12-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Skip the TestObjCDymaicValue.py tests for i386 due to dynamic types for ObjC V1 runtime not implemented yet. Radar to be filed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137503 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
|
7f9985a68d49e284145cc1daeea3d2e9d48eb138 |
12-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestInferiorChanged.py to test that lldb reloads the inferior after it was changed during the debug session. First, main.c causes a crash, the inferior then gets re-built with main2.c which is not crashing. Add Base.cleanup(self, dictionary=None) for platform specfic way to do cleanup after build. This plugin method is used by the above test case to cleanup the main.c build before rebuild for main2.c. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137500 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-changed/Makefile
unctionalities/inferior-changed/TestInferiorChanged.py
unctionalities/inferior-changed/main.c
unctionalities/inferior-changed/main2.c
ldbtest.py
|
06f0db61da5e218e298ef6db0c4775e3daffc2c8 |
12-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Added an error message when the user tries to add a filter when a synthetic provider for the same type is already defined in the same category The converse is also true: an error is shown when the user tries to add a synthetic provider to a category that already has a filter for the same type git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137493 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
|
4d162e5e8ac747827bce78a39af863f945611fef |
12-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
When running dotest.py under pdb (the python debugger), define DOTEST_PDB=YES and DOTEST_SCRIPT_DIR=/path/leading/to/your/dotest/script/directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137492 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
018921dd162d818e71cf1ac86d03422e88f0a674 |
12-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
*Some more optimizations in usage of ConstString *New setting target.max-children-count gives an upper-bound to the number of child objects that will be displayed at each depth-level This might be a breaking change in some scenarios. To override the new limit you can use the --show-all-children (-A) option to frame variable or increase the limit in your lldbinit file *Command "type synthetic" has been split in two: - "type synthetic" now only handles Python synthetic children providers - the new command "type filter" handles filters Because filters and synthetic providers are both ways to replace the children of a ValueObject, only one can be effective at any given time. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137416 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-advanced/main.cpp
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
|
081137057abc6b2c32eb077bde7459f46544f7d8 |
11-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix the expect patterns to work for both OSX SnowLeopard and Lion. On Lion, printf is defined in libsystem_c.dylib. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137348 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/function_types/TestFunctionTypes.py
|
6c98ba7d2b7f5e3381cbba5f24e97673c47d109a |
11-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Updated LLVM/Clang to to pick up fixes for a problem in which the following cast: – expr (int (*)(const char*, ...))printf - caused a crash. This had several causes: - First, Clang did not support implicit casts of a function of unknown type to a function pointer. - Second, after this was fixed, the Clang AST importer did not support importing function pointer types produced by resolving these casts. These two problems are now resolved, and I have added a test case to verify that they work. I also did a little bit of build-system cleanup because we now use libEnhancedDisassembly.a instead of the .dylib. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137338 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/function_types/TestFunctionTypes.py
|
9c57fc067307ebb1abe50de6ff704d4b2ae9b9d4 |
11-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Fixed an issue where a pointer's address was being logged instead of its value Access to synthetic children by name: if your object has a synthetic child named foo you can now type frame variable object.foo (or ->foo if you have a pointer) and that will print the value of the synthetic child (if your object has an actual child named foo, the actual child prevails!) this behavior should also work in summaries, and you should be able to use ${var.foo} and ${svar.foo} interchangeably (but using svar.foo will mask an actual child named foo) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137314 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
|
758db9690ae3d2f65fc5e6ef177581ae8d75221d |
11-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add logic to SBValue.linked_list_iter() to detect infinite loop and to bail out early. Add code to test case to create an evil linked list with: task_evil -> task_2 -> task_3 -> task_evil ... and to check that the linked list iterator only iterates 3 times. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137291 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/linked_list/TestValueAPILinkedList.py
ython_api/value/linked_list/main.cpp
|
d96c9e88f80b8856aa76b7e7dd41acdf2bec202e |
11-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Change the SBValue.linked_list_iter() to treat the value object as a homogeneous linked list data structure where an empty linked list is represented as a value object with a NULL value, instead of a special value object which 'points' to NULL. Also modifies the test case to comply. rdar://problem/9933692 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137289 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/linked_list/main.cpp
|
6fd55f169aa1a3a4882e579dbbd19349367fd843 |
11-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
When a benchmarks test fails, the re-run command should include the '+b' option instead of the '-t' option. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137285 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
1b3d1dfa9ab139e1d2ddb34aea11703feb7fd761 |
10-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Fixed a problem that prevented access to members of string literals ("hello"[2]). Also fixed a problem in which empty string literals were not being compiled correctly ((int)printf("") would print garbage). Added a testcase that covers both. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137247 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/strings/Makefile
ang/c/strings/TestCStrings.py
ang/c/strings/main.c
|
840eb267769b943926bb9fcb527ab91221cf7a07 |
10-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
CFString.py now shows contents in a more NSString-like way (e.g. you get @"Hello" instead of "Hello") new --raw-output (-R) option to frame variable prevents using summaries and synthetic children other future formatting enhancements will be excluded by using the -R option test case enhanced to check that -R works correctly git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137185 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
|
a796e0e2742be4e89edb5e338666c1eb3b76a6b5 |
09-Aug-2011 |
Jim Ingham <jingham@apple.com> |
Typo in the test case for i386. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137149 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-ivar-offsets/objc-ivar-offsets.h
|
5c82286592e25e9e4057180edc9c9d4988c05ff8 |
09-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Fixed the Objective-C "self" test case, which was behaving erratically because it didn't have a return statement in -[A init]. Also made minor cosmetic changes to that test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137142 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/self/main.m
|
e789613ddddd84991379fb465247abd639c5f9ea |
09-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Silence clang warning. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137141 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/self/main.m
|
2072b493b4cefc7a18b13514c2296529683d5565 |
09-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify lang/objc/self/Makefile, plus it's wrong. :-) For Makefile.rules, the modification of CFLAGS (addition of -arch $(ARCH) for Darwin) needs to come before the consuming of CFLAGS, not after. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137140 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/self/Makefile
ake/Makefile.rules
|
1a78f6aa3f6896d0c7e5c7dd2926d7cc876bbf55 |
09-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a negative self.expect() to verify that the bug has been fixed. rdar://problem/9747668 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137129 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/TestGlobalVariables.py
|
21f37ad875d4f50d1b4b3d307e120f6d27103730 |
09-Aug-2011 |
Jim Ingham <jingham@apple.com> |
Move the handling of breakpoint conditions from the Private event loop to the StopInfoBreakpoint::DoActions, which happens as the event is removed. Also use the return value of asynchronous breakpoint callbacks, they get checked before, and override the breakpoint conditions. Added ProcessModInfo class, to unify "stop_id generation" and "memory modification generation", and use where needed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137102 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
|
f669850b51f3898020cbae8fdfd17faf4f18ba02 |
09-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Basic support for reading synthetic children by index: if your datatype provides synthetic children, "frame variable object[index]" should now do the right thing in cases where the above syntax would have been rejected before, i.e. object is not a pointer nor an array (frame variable ignores potential overload of []) object is a pointer to an Objective-C class (which cannot be dereferenced) expression will still run operator[] if available and complain if it cannot do so synthetic children by name do not work yet git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137097 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
|
082a3d0433cd01e75180ce8bb3de2a510dcc3f19 |
09-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk 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: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137092 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestFlintVsSlateGDBDisassembly.py
|
f8b468e115f7cfe193b29c22104c7d04419f4e14 |
06-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Made the expression parser use the StackFrame's variable search API rather than rolling its own, fixing one of our testcases. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137004 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/non-overlapping-index-variable-i/TestIndexVariable.py
|
c617a4cb4a451be9d7e97d7af6e165d282b5390f |
06-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
This is an overhaul of the expression parser code that detects what context the current expression is meant to execute in. LLDB now properly consults the method declaration in the debug information rather than trying to hunt down the "this" or "self" pointer by name, which can be misleading. Other fixes include: - LLDB now properly detects that it is inside an inlined C++ member function. - LLDB now allows access to non-const members when in const code. - The functions in SymbolFile that locate the DeclContext containing a DIE have been renamed to reflect what they actually do. I have added new functions that find the DeclContext for the DIE itself. I have also introduced testcases for C++ and Objective-C. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136999 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/this/Makefile
ang/cpp/this/TestCPPThis.py
ang/cpp/this/main.cpp
ang/objc/self/Makefile
ang/objc/self/TestObjCSelf.py
ang/objc/self/main.m
|
0c64baff28c9340f84fa566df1bf9426ddd2dc31 |
06-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
On second thought, add the IsValid() method to SBTypeList, making it similar to SBSymbolContextList and SBValueList. Modify the test suite accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136990 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
94c7c1d1f75c32e9f4192596a568a6962196199e |
05-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fixed test suite failure of test_SBTypeList(). SBTypeList does not have IsValid() method defined. It's always valid in a sense. So the Python's truth value testing in turn delegates to __len__() method, which is defined for SBTypeList, and returns 0. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136985 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
5cdaac5d4b8eccb5335627d59a92f55a945333fc |
05-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add SBType.GetBasicType() to the test scenario. Add docstring for SBType, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136983 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/type/TestTypeList.py
|
d7e04d9473e155e459d15eff744e1d954197a97d |
05-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
o modify-python-lldb.py: Add the rich comparison methods (__eq__, __ne__) to SBType, too. o lldbtest.py: Add debug utility method TestBase.DebugSBType(). o test/python_api/type: Add tests for exercising SBType/SBTypeList API, including the SBTarget.FindTypes(type_name) API which returns a SBTypeList matching the type_name. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136975 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ython_api/type/Makefile
ython_api/type/TestTypeList.py
ython_api/type/main.cpp
|
a54ad9917626ca26d29edd13f74e1856548301d9 |
05-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Option --regex (-x) now also works for synthetic children: - Added a test case in python-synth Minor code improvements in categories, making them ready for adding new element types git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136957 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-python-synth/main.cpp
|
74597b88726aade190d4768062a10a67a07cd059 |
05-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove expectedFailure decorator for test_SBType, which does not take an empty constructor after the recent changes. And remove expectedFailure decorator for test_SBTypeMember, which no longer exists after the recent changes, replace it with test_SBTypeList. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136947 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_typemember.py
|
96df5a1c1e0026ccad55d4b47b1510d5f2627dbd |
05-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Print out the stopwatch (which contains laps, total elapsed time, and average) instead of just the average. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136932 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/TestRepeatedExprs.py
|
952cc2b9f1fdbf4919e06d559d8d0ae27b4bc538 |
05-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a benchmark comparing lldb vs. gdb with disassembly on a large function (lldb's Driver::MainLoop()). Sample run on my OSX Lion (MacBook Pro): 1: test_run_gdb_then_lldb (TestDisassembly.DisassembleDriverMainLoop) Test disassembly on a large function with lldb vs. gdb. ... gdb benchmark: Avg: 0.201802 (Laps: 5, Total Elapsed Time: 1.009008) lldb benchmark: Avg: 0.109569 (Laps: 5, Total Elapsed Time: 0.547843) lldb_avg/gdb_avg: 0.542952 ok 2: test_run_lldb_then_gdb (TestDisassembly.DisassembleDriverMainLoop) Test disassembly on a large function with lldb vs. gdb. ... lldb benchmark: Avg: 0.109580 (Laps: 5, Total Elapsed Time: 0.547902) gdb benchmark: Avg: 0.201587 (Laps: 5, Total Elapsed Time: 1.007936) lldb_avg/gdb_avg: 0.543588 ok git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136931 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/disassembly/TestDisassembly.py
|
c5bf375f433d9006d1d1d3aae35fac24fb8b5510 |
04-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove an extra 'for' in the comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136918 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/TestPublicAPIHeaders.py
|
0b7566c5d44fe17d8e1afc218583315f19fcc3f0 |
04-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix makefile rules to prevent CFLAGS from appearing twice in the command line. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136917 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
62d527ebcc7f55c8ad10e9d692cf69a881fb933a |
04-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test to check the integrity of the lldb public api directory containing SB*.h headers. There should be nothing unwanted there and a simpe main.cpp (generated from main.cpp.template) which includes SB*.h should compile and link with the LLDB framework. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136894 91177308-0d34-0410-b5e6-96231b3b80d8
pi/check_public_api_headers/Makefile
pi/check_public_api_headers/TestPublicAPIHeaders.py
pi/check_public_api_headers/main.cpp.template
otest.py
ake/Makefile.rules
|
e29454547f97fa23968c2f3f4de4aea73d19162b |
04-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
changing CFString.py to reflect the new behavior of CreateValueFromAddress git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136887 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
|
4e5397c1127d698c61df295f30909e573a1c9876 |
04-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
New formatting symbol %# can be used in summary strings to get the "count of children" of a variable - accordingly, the test cases for the synthetic providers for the std:: containers have been edited to use ${svar%#} instead of ${svar.len} to print out the count of elements ; the .len synthetic child has been removed from the synthetic providers The synthetic children providers for the std:: containers now return None when asked for children indexes >= num_children() Basic code to support filter names based on regular expressions (WIP) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136862 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/StdListSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdMapSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdVectorSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
|
c92eb4004a354b0ea085b610b2ba991e575b1c32 |
04-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
APIs to GetValueAsSigned/Unsigned() in SBValue now also accept an SBError parameter to give more info about any problem The synthetic children providers now use the new (safer) APIs to get the values of objects As a side effect, fixed an issue in ValueObject where ResolveValue() was not always updating the value before reading it git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136861 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
unctionalities/data-formatter/data-formatter-python-synth/StdListSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdMapSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdVectorSynthProvider.py
|
0fb0bcc9d4e951145e1b8c783652224c09b23af4 |
04-Aug-2011 |
Greg Clayton <gclayton@apple.com> |
Cleaned up the SBType.h file to not include internal headers and reorganized the SBType implementation classes. Fixed LLDB core and the test suite to not use deprecated SBValue APIs. Added a few new APIs to SBValue: int64_t SBValue::GetValueAsSigned(int64_t fail_value=0); uint64_t SBValue::GetValueAsUnsigned(uint64_t fail_value=0) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136829 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/conditional_break/TestConditionalBreak.py
ang/c/array_types/TestArrayTypes.py
ang/c/bitfields/TestBitfields.py
ang/cpp/class_static/TestStaticVariables.py
ang/objc/foundation/TestObjCMethods.py
ang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
ang/objc/objc-stepping/TestObjCStepping.py
ldbutil.py
ython_api/frame/TestFrames.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/process/TestProcessAPI.py
|
4a1ef6f72121a2132d9f9594ce22242fb4454996 |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor modification to get the full path to the target program. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136815 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/non-overlapping-index-variable-i/TestIndexVariable.py
|
f31a4c21a978ed32a540b1db1f75c8e472e08d25 |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove copy-and-paste residues. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136812 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/non-overlapping-index-variable-i/TestIndexVariable.py
|
d325115c71b077208625804b27cc095c857ca259 |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix typos. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136809 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/main.cpp
unctionalities/non-overlapping-index-variable-i/main.cpp
|
37f6b796336296f20a97bf4ed1f7fb5cd7cddfa2 |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add license header comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136808 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/main.cpp
unctionalities/non-overlapping-index-variable-i/main.cpp
|
a013b20d2cf2c2c5ab589efcfd6f0eecce4db3cf |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Conditionize the 'print "Set environment ..."' stmt. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136806 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
|
af60381708b9a35f3fe21d7fc4d145df3f50a215 |
03-Aug-2011 |
Jim Ingham <jingham@apple.com> |
Add a directory to make the second copy of libd.dylib in, so we don't have to make & delete directories in the test case. Make a real copy of libd.dylib in that directory so the two libraries are actually different. Use (and remove) the DYLD_LIBRARY_PATH to point to the new library. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136801 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/Makefile
unctionalities/load_unload/TestLoadUnload.py
|
b4e4ecc50c9561da54ee389b1749bdc7040a4625 |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add expectedFailure decorator. rdar://problem/9890530 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136798 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/non-overlapping-index-variable-i/TestIndexVariable.py
|
1684446acb5d2a66c8546c8b833522ca2b12c5fd |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Unquote the env_cmd_string variable. Skip the test case test_dyld_library_path(self) because it causes the debugserver to crash. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136796 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/load_unload/TestLoadUnload.py
|
77ee3932a553e4b7deec3208aa5db106d3f6b18d |
03-Aug-2011 |
Jim Ingham <jingham@apple.com> |
Don't set DYLD_LIBRARY_PATH in the Python environment (which will get passed down to debugserver) but set it in the debugger settings (which will just get passed down to the target). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136793 91177308-0d34-0410-b5e6-96231b3b80d8
lacklist.py
unctionalities/load_unload/TestLoadUnload.py
|
2bb136af58c7d8fd9e6ecbfa583e75b9df868b5a |
03-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
temporarily blacklisting a test case causing hangs on Mac OS X git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136791 91177308-0d34-0410-b5e6-96231b3b80d8
lacklist.py
|
433c64a5a9aefb9551b739a4450016b51cfbec62 |
03-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
testing for a previous issue where formats in summaries where not enforced in all cases ; removed an unused local variable git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136785 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-advanced/main.cpp
|
3c24b49595130917c9e310bce9f8feeb9b5b0ab5 |
03-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Improved the expression parser's detection of the current context. Previously, if there was a variable called "self" available, the expression parser assumed it was inside a method. But class methods in Objective-C also take a "self" parameter, of DWARF type "id". We now detect this properly, and only assume we're in an instance method if "self" is a pointer to an Objective-C object. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136784 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-static-method/TestObjCStaticMethod.py
ang/objc/objc-static-method/static.m
|
441f08ca9d17fad237b93a71aeab9dad74ea1258 |
03-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Fixed an issue where the KVO swizzled type would be returned as the dynamic type instead of the actual user-level type - see the test case in lang/objc/objc-dynamic-value for an example Objective-C dynamic type lookup now works for every Objective-C type - previously, true dynamic lookup was only performed for type id git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136763 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
|
e013e105aaac6484a1464c5f96ad59c8d044600f |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test file to go with r136745. It fails, though, for: expr ptr[i]->point.x Radar to be filed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136760 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/non-overlapping-index-variable-i/Makefile
unctionalities/non-overlapping-index-variable-i/TestIndexVariable.py
unctionalities/non-overlapping-index-variable-i/main.cpp
|
113388fdb7fddce04da5016471371ee1d9af62f5 |
03-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add the real benchmarks comparing lldb against gdb for repeated expression evaluations. Modify lldbbench.py so that lldbtest.line_number() utility function is available to BenchBase client as just line_number(), and modify lldbtest.py so that self.lldbExec (the full path for the 'lldb' executable) is available to BenchBase client as well. An example run of the test case on my MacBook Pro running Lion: 1: test_compare_lldb_to_gdb (TestRepeatedExprs.RepeatedExprsCase) Test repeated expressions with lldb vs. gdb. ... lldb_avg: 0.204339 gdb_avg: 0.205721 lldb_avg/gdb_avg: 0.993284 ok git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136740 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/TestRepeatedExprs.py
enchmarks/example/main.cpp
ldbbench.py
ldbtest.py
|
99309909259eacf4693458bfe44f913c316a09c6 |
03-Aug-2011 |
Sean Callanan <scallanan@apple.com> |
Fixed a bug in which the DWARF reader did not distinguish appropriately between C++ static methods and non-static methods. This bug made it impossible to call most static methods, either because Clang did not recognize that a method could be called without providing a "this" parameter, or because Clang did not properly mangle the name of the method when searching for it in the target. Also added a testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136733 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/static_methods/Makefile
ang/cpp/static_methods/TestCPPStaticMethods.py
ang/cpp/static_methods/main.cpp
|
afb7c85df796f74262917e44dd68f668dade3911 |
02-Aug-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Fixed a bug where a variable could not be formatted in a summary if its datatype already had a custom format Fixed a bug where Objective-C variables coming out of the expression parser could crash the Python synthetic providers: - expression parser output has a "frozen data" component, which is a byte-exact copy of the value (in host memory), if trying to read into memory based on the host address, LLDB would crash. we are now passing the correct (target) pointer to the Python code Objective-C "id" variables are now formatted according to their dynamic type, if the -d option to frame variable is used: - Code based on the Objective-C 2.0 runtime is used to obtain this information without running code on the target git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136695 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
bd43453691bfdd60bd3906e1cc57d552a5c5299d |
02-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simple renaming: self.swatch -> self.stopwatch. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136666 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/TestRepeatedExprs.py
ldbbench.py
|
cbfd093661ebc3fe024f1a5826b66fcfefc0d65d |
02-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a Stopwatch utility class to lldbench.py module and initialize an instance of Stopwatch (self.swatch) within the BenchBase's setUp() instance method to be available to all the child classes. Use self.swatch to measure elapsed time in TestRepeatedExprs.py, which needs to be modified later on to actually measure repeated expression evaluations within the context of lldb as well as gdb. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136664 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/Makefile
enchmarks/example/TestRepeatedExprs.py
enchmarks/example/main.c
enchmarks/example/main.cpp
ldbbench.py
|
db678588e7de25bad0896b228f2913e1d51298cc |
01-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove unittest.skip() as 'rdar://problem/9691614 Expression parser crashes' is fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136651 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
|
c6b8c9179414271db2cb84633819b1e52bc90a87 |
01-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure decorator as rdar://problem/8668674 is fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136650 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/namespace/TestNamespace.py
|
71cb797f38e73fae0497ff6ab336efd357cf88ce |
01-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an abstract base class called BenchBase to be inherited by benchmark tests. Modify the example TestRepeatedExprs.py to use BenchBase, instead. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136649 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/TestRepeatedExprs.py
ldbbench.py
ldbtest.py
|
cbe51264bb424db04b58dcb8fa5c80412be040c9 |
01-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
More refactorings to migrate logic from TestBase to its parent class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136641 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
366fb8cfbef3841a8162b6250137dc8fc8c2d1d7 |
01-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Start refactoring lldbtest.TestBase so that it inherits from a newly created lldbtest.Base class, while its API clients remain unchanged. The new lldbtest.Base class is to capture common behaviors when working with the test driver to accomplish things. The clients of lldbtest.Base can be lldb command line and api tests as well as other generic tests like a benchmark test. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136636 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
3bd643399e22bdf8ce856bcd2e465ea594913830 |
01-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure decorator since the bug has been fixed. rdar://problem/9673664 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136633 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_9673664/TestExprHelpExamples.py
|
37952c28e302838d46876f45d108ba2b1d41e760 |
31-Jul-2011 |
Greg Clayton <gclayton@apple.com> |
Protect a bit against uninitialized std::list objects, but there is more work to be done. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136579 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/StdListSynthProvider.py
|
73ab7f1164c2ac67dbc496621ffa32400e97711f |
31-Jul-2011 |
Greg Clayton <gclayton@apple.com> |
Protect a bit better against uninitialized vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136578 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/StdVectorSynthProvider.py
|
e626c49ef212ec4128d936c2847874d13d1474f3 |
30-Jul-2011 |
Greg Clayton <gclayton@apple.com> |
Cleaned up the NSString summary formatter to not print "<invalid object>" when we have a nil NSString *. Also added blank lines between functions in the CFString.py files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136554 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
82ccf4033d09dc7002637ddc70a3ffcc518a58c9 |
30-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a @benchmarks_test decorator for test method we want to categorize as benchmarks test. The test driver now takes an option "+b" which enables to run just the benchmarks tests. By default, tests decorated with the @benchmarks_test decorator do not get run. Add an example benchmarks test directory which contains nothing for the time being, just to demonstrate the @benchmarks_test concept. For example, $ ./dotest.py -v benchmarks ... ---------------------------------------------------------------------- Collected 2 tests 1: test_with_gdb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with gdb. ... skipped 'benchmarks tests' 2: test_with_lldb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with lldb. ... skipped 'benchmarks tests' ---------------------------------------------------------------------- Ran 2 tests in 0.047s OK (skipped=2) $ ./dotest.py -v +b benchmarks ... ---------------------------------------------------------------------- Collected 2 tests 1: test_with_gdb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with gdb. ... running test_with_gdb benchmarks result for test_with_gdb ok 2: test_with_lldb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with lldb. ... running test_with_lldb benchmarks result for test_with_lldb ok ---------------------------------------------------------------------- Ran 2 tests in 0.270s OK Also mark some Python API tests which are missing the @python_api_test decorator. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136553 91177308-0d34-0410-b5e6-96231b3b80d8
enchmarks/example/Makefile
enchmarks/example/TestRepeatedExprs.py
enchmarks/example/main.c
otest.py
ldbtest.py
ython_api/lldbutil/frame/TestFrameUtils.py
ython_api/lldbutil/iter/TestLLDBIterator.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/lldbutil/process/TestPrintStackTraces.py
|
bfc06133b152a3391c3d5ceeb2d481f1d2e43000 |
30-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
changes in the new GetMinimumLanguages() ; robustness improvements in the CFStringSynthProvider object ; made a CFString_SummaryProvider function you can use if all you care about is the summary string for your NSString objects git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136544 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
c5fa005707f9378e03328fb0ee492b8a6c230057 |
30-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a redo.py script which takes a session directory name as arg and digs into the directory to find out the tests which failed/errored and need re-running. The dotest.py test driver script is modified to allow specifying multiple -f testclass.testmethod in the command line to accommodate the redo functionality. An example, $ ./redo.py -n 2011-07-29-11_50_14 adding filterspec: TargetAPITestCase.test_find_global_variables_with_dwarf adding filterspec: DisasmAPITestCase.test_with_dsym Running ./dotest.py -v -f TargetAPITestCase.test_find_global_variables_with_dwarf -f DisasmAPITestCase.test_with_dsym ... ---------------------------------------------------------------------- Collected 2 tests 1: test_with_dsym (TestDisasmAPI.DisasmAPITestCase) Exercise getting SBAddress objects, disassembly, and SBAddress APIs. ... ok 2: test_find_global_variables_with_dwarf (TestTargetAPI.TargetAPITestCase) Exercise SBTarget.FindGlobalVariables() API. ... ok ---------------------------------------------------------------------- Ran 2 tests in 15.328s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136533 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
edo.py
|
6a4e58e62acc6b764bd1dfb8b737e0c368601a85 |
29-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
new synthetic children provider for CFString and related classes ; test case for it git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136525 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-objc/CFString.py
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
979e20d127335143ffc89c2e37ec3a8b717ff22d |
29-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Public API changes: - Completely new implementation of SBType - Various enhancements in several other classes Python synthetic children providers for std::vector<T>, std::list<T> and std::map<K,V>: - these return the actual elements into the container as the children of the container - basic template name parsing that works (hopefully) on both Clang and GCC - find them in examples/synthetic and in the test suite in functionalities/data-formatter/data-formatter-python-synth New summary string token ${svar : - the syntax is just the same as in ${var but this new token lets you read the values coming from the synthetic children provider instead of the actual children - Python providers above provide a synthetic child len that returns the number of elements into the container Full bug fix for the issue in which getting byte size for a non-complete type would crash LLDB Several other fixes, including: - inverted the order of arguments in the ClangASTType constructor - EvaluationPoint now only returns SharedPointer's to Target and Process - the help text for several type subcommands now correctly indicates argument-less options as such git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136504 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/StdListSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdMapSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/StdVectorSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/ftsp.py
unctionalities/data-formatter/data-formatter-python-synth/main.cpp
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
86fbeeb94ad5b587dfce9a958b3861589831bbe8 |
29-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add regression test for rdar://problem/9531204. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136425 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_9531204/Makefile
xpression_command/radar_9531204/TestPrintfAfterUp.py
xpression_command/radar_9531204/main.c
|
ca8a206aae9c17ec100fa1996b7ebe4ec2c886ba |
29-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test case for rdar://problem/9673664. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136409 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_9673664/Makefile
xpression_command/radar_9673664/TestExprHelpExamples.py
xpression_command/radar_9673664/main.c
|
fe34c8964e2e4d3bf3765c1a1f6473baa7eb7998 |
28-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add some descriptions about the default executable name being 'a.out' and can be overwritten by specifying your EXE make variable via your Makefile or within the Python test script. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136394 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
|
e032360451a39f8ced980197a600dc408dd1b0b9 |
28-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a reproducible test case (expression parser crashes) to the lldb test suite. rdar://problem/9691614. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136386 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/namespace/main.cpp
ang/objc/radar-9691614/Makefile
ang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
ang/objc/radar-9691614/main.m
|
626f11ea6394868c0120c8556963392ff355e6e7 |
28-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make the test criteria more stringent with respect to rdar://problem/8668674 to prevent accidental pass. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136316 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/namespace/TestNamespace.py
|
97742fe1b8d2c6df4889ba8207bbff7d3136b7c0 |
28-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify: self.expect("expression -- '(anonymous namespace)::i'", VARIABLES_DISPLAYED_CORRECTLY, substrs = [" = 3"]) to get rid of the '(anonymous namespace)', which is not c++ syntax, thingy fed to the expression parser. According to rdar://problem/8668674. It is still marked expectedFailure since the bug has not been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136290 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/namespace/TestNamespace.py
|
38581d29207f732ab913f2d0c1f203fce1749b0e |
27-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
The SBValue.linked_list_iter() API failed for an empty list. Fix the bug and add a test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136265 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/linked_list/TestValueAPILinkedList.py
ython_api/value/linked_list/main.cpp
|
2fc7c4b2c2c366b4d92e51e3b15726e39033a3bb |
27-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add skip test for clang, which has insufficient debug info for call site in main(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136184 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/inlines/TestInlinedFrame.py
|
a4673e104b84eca5ad4ffd62ea086d5ac6b3a348 |
26-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
We can do better with the SBValue.linked_list_iter() API by supplying a default end of list test function as __eol_test__. The simple example can be reduced to: for t in task_head.linked_list_iter('next'): print t Modify the test program to exercise the API for both cases: supplying or not supplying an end of list test function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136144 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/linked_list/TestValueAPILinkedList.py
|
021cdc20ee58988a63f5b1569ed87438f4bfb687 |
26-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
The test function to determine whether we have reached the end of the list was too complex in the test case. We can just simply test that the SBValue object is a valid object and it does not correspond to a null pointer in order to say that EOL has not been reached. Modify the test case and the lldb.py docstring to have a more compact test function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136123 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/linked_list/TestValueAPILinkedList.py
|
ad3a38e43b902df6f933cef5a80d22b4f77acc82 |
25-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a stronger assert for the test to ensure that the visited items from iterating through the SBValue.linked_list_iter() API is equal to [1, 2, 4, 5]. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135944 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/linked_list/TestValueAPILinkedList.py
|
fbebbc9e3b140e77886db46a84f58aef2ea72bb8 |
25-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Provide an add-on API to SBValue class by post-processing to provide a way to iterate through an SBValue instance by treating it as the head of a linked list. API program must provide two args to the linked_list_iter() method: the first being the child member name which points to the next item on the list and the second being a Python function which an SBValue (for the next item) and returns True if end of list is reached, otherwise it returns False. For example, suppose we have the following sample program. #include <stdio.h> class Task { public: int id; Task *next; Task(int i, Task *n): id(i), next(n) {} }; int main (int argc, char const *argv[]) { Task *task_head = new Task(-1, NULL); Task *task1 = new Task(1, NULL); Task *task2 = new Task(2, NULL); Task *task3 = new Task(3, NULL); // Orphaned. Task *task4 = new Task(4, NULL); Task *task5 = new Task(5, NULL); task_head->next = task1; task1->next = task2; task2->next = task4; task4->next = task5; int total = 0; // Break at this line Task *t = task_head; while (t != NULL) { if (t->id >= 0) ++total; t = t->next; } printf("We have a total number of %d tasks\n", total); return 0; } The test program produces the following output while exercising the linked_list_iter() SBVAlue API: task_head: TypeName -> Task * ByteSize -> 8 NumChildren -> 2 Value -> 0x0000000106400380 ValueType -> local_variable Summary -> None IsPointerType -> True Location -> 0x00007fff65f06e60 (Task *) next = 0x0000000106400390 (int) id = 1 (Task *) next = 0x00000001064003a0 (Task *) next = 0x00000001064003a0 (int) id = 2 (Task *) next = 0x00000001064003c0 (Task *) next = 0x00000001064003c0 (int) id = 4 (Task *) next = 0x00000001064003d0 (Task *) next = 0x00000001064003d0 (int) id = 5 (Task *) next = 0x0000000000000000 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135938 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/linked_list/Makefile
ython_api/value/linked_list/TestValueAPILinkedList.py
ython_api/value/linked_list/main.cpp
|
e89ab7b58d2542f4f42e923fa65ef8984840a90c |
25-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
new flag -P to type synth add lets you type a Python class interactively added a final newline to fooSynthProvider.py new option to automatically save user input in InputReaderEZ checking for NULL pointers in several new places git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135916 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py
|
9ae7cef26612773c6b3422834cec83f0fbb2cf8c |
24-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Python synthetic children: - you can now define a Python class as a synthetic children producer for a type the class must adhere to this "interface": def __init__(self, valobj, dict): def get_child_at_index(self, index): def get_child_index(self, name): then using type synth add -l className typeName (e.g. type synth add -l fooSynthProvider foo) (This is still WIP with lots to be added) A small test case is available also as reference git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135865 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-python-synth/Makefile
unctionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
unctionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py
unctionalities/data-formatter/data-formatter-python-synth/main.cpp
|
638ebcfea6328816ba5e9fd21e40cf5d3f060e2e |
23-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an additional formatter class RecursiveDecentFormatter which prints the value and the decendents. For an example, rdf = lldbutil.RecursiveDecentFormatter(indent_child=2) print rdf.format(g_table) produces: (const char **[2]) g_table = 0x00000001055a80f0 (location) (const char **) [0] = 0x00000001055a8080 (const char *) *[0] = "Sunday" (const char **) [1] = 0x00000001055a80c0 (const char *) *[1] = "Monday" git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135815 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/value/TestValueAPI.py
ython_api/value/main.c
|
402056a272c94d3d28da62b08cac14ace18c835a |
22-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add new API for SBAddress to the fuzz test: SetLoadAddress (lldb::addr_t load_addr, lldb::SBTarget &target); git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135793 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_address.py
|
de4059f2f6a864f5af102a59b56602183b9239bd |
22-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
some editing of data visualization error messages to make them more meaningful debugging printfs() for data visualization turned into a meaningful log: - introduced a new log category `types' in channel `lldb' git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135773 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
|
a395506fb374f1f589d0d860f5e6c9fa7b1e0b9a |
22-Jul-2011 |
Greg Clayton <gclayton@apple.com> |
Make the SBAddress class easier to use when using the public API. SBTarget changes include changing: bool SBTarget::ResolveLoadAddress (lldb::addr_t vm_addr, lldb::SBAddress& addr); to be: lldb::SBAddress SBTarget::ResolveLoadAddress (lldb::addr_t vm_addr); SBAddress can how contruct itself using a load address and a target which can be used to resolve the address: SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target); This will actually just call the new SetLoadAddress accessor: void SetLoadAddress (lldb::addr_t load_addr, lldb::SBTarget &target); This function will always succeed in making a SBAddress object that can be used in API calls (even if "target" isn't valid). If "target" is valid and there are sections currently loaded, then it will resolve the address to a section offset address if it can. Else an address with a NULL section and an offset that is the "load_addr" that was passed in. We do this because a load address might be from the heap or stack. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135770 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_target.py
|
8c06276d9d97d969f2c0c4dc0b7d25eb693d8e74 |
22-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135737 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
084fd8945b922818e069adfb72ac39936466e221 |
22-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add BasicFormatter and ChildVisitingFormatter utility classes to the lldbutil.py module which provide some convenient ways to print an SBValue object. Use that in TestValueAPI.py to print the 'days_of_week' char* array variable. For an example: cvf = lldbutil.ChildVisitingFormatter(indent=2) print cvf.format(days_of_week) produces: (const char *[7]) days_of_week = 0x00000001026a5060 (location) (const char *) [0] = "Sunday" (const char *) [1] = "Monday" (const char *) [2] = "Tuesday" (const char *) [3] = "Wednesday" (const char *) [4] = "Thursday" (const char *) [5] = "Friday" (const char *) [6] = "Saturday" git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135736 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/value/TestValueAPI.py
ython_api/value/main.c
|
e4e3e2c0448bb0c77f8f8a3bbb47b951a481d3d8 |
22-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
when typing a summary string you can use the %S symbol to explicitly indicate that you want the summary to be used to print the target object (e.g. ${var%S}). this might already be the default if your variable is of an aggregate type new feature: synthetic filters. you can restrict the number of children for your variables to only a meaningful subset - the restricted list of children obeys the typical rules (e.g. summaries prevail over children) - one-line summaries show only the filtered (synthetic) children, if you type an expanded summary string, or you use Python scripts, all the real children are accessible - to provide a synthetic children list use the "type synth add" command, as in: type synth add foo_type --child varA --child varB[0] --child varC->packet->flags[1-4] (you can use ., ->, single-item array operator [N] and bitfield operator [N-M]; array slice access is not supported, giving simplified names to expression paths is not supported) - a new -S option to frame variable and target variable lets you override synthetic children and instead show real ones git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135731 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-cpp/main.cpp
unctionalities/data-formatter/data-formatter-synth/Makefile
unctionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
unctionalities/data-formatter/data-formatter-synth/main.cpp
|
62ebe5aca6d93eecba7c9917440107f4b24a09cd |
22-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario of SBValue APIs for the 'days_of_week' global variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135716 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/TestValueAPI.py
|
4b067250787b3d1763a58fa142cc21cf995e942c |
21-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario for exercising SBValue API: TypeIsPointerType() and GetByteSize(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135699 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/value/TestValueAPI.py
|
da4d47907f205dcbfa728a652ef3c8b2cc206fe3 |
20-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Skip the remaining -Y? (skipping ? layers of summaries) tests if using a known version of Apple gcc build which produces wrong namespace for std::string in debug info. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135597 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
|
02afd3461400763b836575291482f1df5a86096e |
20-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
A more succinct assertTrue. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135544 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
2a458f998237f9a28411f74e9214fb9ef4ece84a |
20-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor change; add an assertTrue stmt. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135542 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
4c3fb4b50a87e6e08987096d7edacc26545f58dc |
19-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
The implementation of categories is now synchronization safe Code cleanup: - The Format Manager implementation is now split between two files: FormatClasses.{h|cpp} where the actual formatter classes (ValueFormat, SummaryFormat, ...) are implemented and FormatManager.{h|cpp} where the infrastructure classes (FormatNavigator, FormatManager, ...) are contained. The wrapper code always remains in Debugger.{h|cpp} - Several leftover fields, methods and comments from previous design choices have been removed type category subcommands (enable, disable, delete) now can take a list of category names as input - for type category enable, saying "enable A B C" is the same as saying enable C enable B enable A (the ordering is relevant in enabling categories, and it is expected that a user typing enable A B C wants to look into category A, then into B, then into C and not the other way round) - for the other two commands, the order is not really relevant (however, the same inverted ordering is used for consistency) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135494 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-categories/main.cpp
|
8a717e596312951672ecd8c54df2d255e6da20ba |
19-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Fixed a bug where deleting a regex summary would not immediately reflect in the variables display The "systemwide summaries" feature has been removed and replaced with a more general and powerful mechanism. Categories: - summaries can now be grouped into buckets, called "categories" (it is expected that categories correspond to libraries and/or runtime environments) - to add a summary to a category, you can use the -w option to type summary add and give a category name (e.g. type summary add -f "foo" foo_t -w foo_category) - categories are by default disabled, which means LLDB will not look into them for summaries, to enable a category use "type category enable". once a category is enabled, LLDB will look into that category for summaries. the rules are quite trivial: every enabled category is searched for an exact match. if an exact match is nowhere to be found, any match is searched for in every enabled category (whether it involves cascading, going to base classes, ...). categories are searched into the order in which they were enabled (the most recently enabled category first, then the second most and so on..) - by default, most commands that deal with summaries, use a category named "default" if no explicit -w parameter is given (the observable behavior of LLDB should not change when categories are not explicitly used) - the systemwide summaries are now part of a "system" category git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135463 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-categories/Makefile
unctionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
unctionalities/data-formatter/data-formatter-categories/main.cpp
unctionalities/data-formatter/data-formatter-globals/Makefile
unctionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
unctionalities/data-formatter/data-formatter-globals/main.cpp
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
|
7f163b363aeccffeec8eda23bd31e4965abc7226 |
16-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Some descriptive text for the Python script feature: - help type summary add now gives some hints on how to use it frame variable and target variable now have a --no-summary-depth (-Y) option: - simply using -Y without an argument will skip one level of summaries, i.e. your aggregate types will expand their children and display no summary, even if they have one. children will behave normally - using -Y<int>, as in -Y4, -Y7, ..., will skip as many levels of summaries as given by the <int> parameter (obviously, -Y and -Y1 are the same thing). children beneath the given depth level will behave normally -Y0 is the same as omitting the --no-summary-depth parameter entirely This option replaces the defined-but-unimplemented --no-summary git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135336 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-skip-summary/Makefile
unctionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
unctionalities/data-formatter/data-formatter-skip-summary/main.cpp
|
90d207ede88604e278f68ee1b02600a35e56dd14 |
16-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
System-wide summaries: - Summaries for char*, const char* and char[] are loaded at startup as system-wide summaries. This means you cannot delete them unless you use the -a option to type summary delete/clear - You can add your own system-wide summaries by using the -w option to type summary add Several code improvements for the Python summaries feature git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135326 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
unctionalities/data-formatter/data-formatter-script/main.cpp
|
5503d468e43aae7d047c9b98baf626fc5b6c352d |
16-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestValueAPI.py to exercise the newly added/modified SBValue APIs: o GetChildAtIndex, and o GetValueForExpressionPath git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135315 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ython_api/value/Makefile
ython_api/value/TestValueAPI.py
ython_api/value/main.c
|
8f64c47120c81728aac0ab0d66097c9a92284f6f |
15-Jul-2011 |
Greg Clayton <gclayton@apple.com> |
Added the ability to get synthetic child values from SBValue objects that represent pointers and arrays by adding an extra parameter to the SBValue SBValue::GetChildAtIndex (uint32_t idx, DynamicValueType use_dynamic, bool can_create_synthetic); The new "can_create_synthetic" will allow you to create child values that aren't actually a part of the original type. So if you code like: int *foo_ptr = ... And you have a SBValue that contains the value for "foo_ptr": SBValue foo_value = ... You can now get the "foo_ptr[12]" item by doing this: v = foo_value.GetChiltAtIndex (12, lldb.eNoDynamicValues, True); Normall the "foo_value" would only have one child value (an integer), but we can create "synthetic" child values by treating the pointer as an array. Likewise if you have code like: int array[2]; array_value = .... v = array_value.GetChiltAtIndex (0); // Success, v will be valid v = array_value.GetChiltAtIndex (1); // Success, v will be valid v = array_value.GetChiltAtIndex (2); // Fail, v won't be valid, "2" is not a valid zero based index in "array" But if you use the ability to create synthetic children: v = array_value.GetChiltAtIndex (0, lldb.eNoDynamicValues, True); // Success, v will be valid v = array_value.GetChiltAtIndex (1, lldb.eNoDynamicValues, True); // Success, v will be valid v = array_value.GetChiltAtIndex (2, lldb.eNoDynamicValues, True); // Success, v will be valid git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135292 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_value.py
|
f7a9b14c2c02d2fa9fad586c19f29d77533fcc09 |
15-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Python summary strings: - you can use a Python script to write a summary string for data-types, in one of three ways: -P option and typing the script a line at a time -s option and passing a one-line Python script -F option and passing the name of a Python function these options all work for the "type summary add" command your Python code (if provided through -P or -s) is wrapped in a function that accepts two parameters: valobj (a ValueObject) and dict (an LLDB internal dictionary object). if you use -F and give a function name, you're expected to define the function on your own and with the right prototype. your function, however defined, must return a Python string - test case for the Python summary feature - a few quirks: Python summaries cannot have names, and cannot use regex as type names both issues will be fixed ASAP major redesign of type summary code: - type summary working with strings and type summary working with Python code are two classes, with a common base class SummaryFormat - SummaryFormat classes now are able to actively format objects rather than just aggregating data - cleaner code to print descriptions for summaries the public API now exports a method to easily navigate a ValueObject hierarchy New InputReaderEZ and PriorityPointerPair classes Several minor fixes and improvements git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135238 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-script/Makefile
unctionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
unctionalities/data-formatter/data-formatter-script/main.cpp
|
07b32b1835440139db93249dbb7103681a3a2bf8 |
15-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor change of variable name, from m to b (for breakpoint). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135214 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/iter/TestLLDBIterator.py
|
309c89decd7a62212ed45cb902112fe280ec9c0c |
15-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a crasher where entering 'help disasm' on the command line would crash lldb. The reasom of the crash is because of a missing entry in the argument table corresponding to eArgTypeUnsignedInteger. Add such entry and modify the call site of the crash to go through a fail-fast API to retrieve the argument table. Add a regression test to TestHelp.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135206 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
7d4c7fecd679c157804577313203c5212cb59a5e |
14-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the test script to better handle the different inlining behaviors of clang/gcc/llvm-gcc. If the first breakpoint is due to stop at an inlined frame, test that the call site corresponds to where it should be. Also add an expecr for a second break stop, if the first break stop corresponds to an inlined call frame #0. rdar://problem/9741470 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135100 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/frame/inlines/TestInlinedFrame.py
ython_api/frame/inlines/inlines.c
|
4c1671d0a621a235a1944b1ba48afcf110010a2e |
13-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add @expectedFailure decorator for test_target_variable_command_with_dsym(). rdar://problem/9763907 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135069 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/target_command/TestTargetCommand.py
|
8db6cf5935667b206646bba9a0cc4e4cc8d0f943 |
13-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add display of a static int variable to the test scenario. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135016 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/target_command/TestTargetCommand.py
unctionalities/target_command/globals.c
|
192865315e77294605d83a985663ab467270fed0 |
13-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case to exercise 'target variable' command before and after running the inferior. Currently it fails after the inferior is run. rdar://problem/9763907 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135009 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/target_command/TestTargetCommand.py
unctionalities/target_command/globals.c
|
7d8622c20f6c4f634961c3d88aaa2f0881785c00 |
13-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
test cases git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135008 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-smart-array/Makefile
unctionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
unctionalities/data-formatter/data-formatter-smart-array/main.cpp
|
86e7c3ecb82655e77581ec042aa6b31753a42afc |
13-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
smarter summary strings: - formats %s %char[] %c and %a now work to print 0-terminated c-strings if they are applied to a char* or char[] even without the [] operator (e.g. ${var%s}) - array formats (char[], intN[], ..) now work when applied to an array of a scalar type even without the [] operator (e.g. ${var%int32_t[]}) LLDB will not crash because of endless loop when trying to obtain a summary for an object that has no value and references itself in its summary string In many cases, a wrong summary string will now display an "<error>" message instead of giving out an empty string git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135007 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
|
b44fcb3c4a4af385dfa07be66f3ae134692cb8e5 |
12-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
test case for the named summaries feature git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134944 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-named-summaries/Makefile
unctionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
unctionalities/data-formatter/data-formatter-named-summaries/main.cpp
|
1a102087f54079c25c8827afac6153a44ca535da |
12-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
named summaries: - a new --name option for "type summary add" lets you give a name to a summary - a new --summary option for "frame variable" lets you bind a named summary to one or more variables ${var%s} now works for printing the value of 0-terminated CStrings type format test case now tests for cascading - this is disabled on GCC because GCC may end up stripping typedef chains, basically breaking cascading new design for the FormatNavigator class new template class CleanUp2 meant to support cleanup routines with 1 additional parameter beyond resource handle git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134943 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-cpp/main.cpp
|
425b0cf93f509ba63346e56654322b9d9bc91d60 |
12-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Passing in os.ctermid() as the arg for SBTarget.Launch(...) for stdin_path, stdout_path, and stderr_path is just wrong and resulted in the inferior's output getting mixed into the GDB remote communication's log file. Change all test cases to not pass os.ctermid() and either use SBTarget.LaunchSimple() or SBTarget.Launch() and pass None as stdin_path/stdout_path/srderr_path to use a pseudo terminal. rdar://problem/9716499 program output is getting mixed into the GDB remote communications git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134940 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
unctionalities/conditional_break/TestConditionalBreak.py
ang/cpp/class_types/TestClassTypes.py
ang/cpp/namespace/TestNamespace.py
ang/objc/foundation/TestObjCMethods.py
ython_api/event/TestEvents.py
ython_api/lldbutil/iter/TestLLDBIterator.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/lldbutil/process/TestPrintStackTraces.py
ython_api/process/TestProcessAPI.py
ource-manager/TestSourceManager.py
|
0a18748c2ac2727dbff814eabb8360754a783a3c |
11-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
The lldbtest.TestBase.DebugSBValue(self, val) method call now does not need the frame argument. Only the val (of SBValue type) argument is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134915 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
ang/c/array_types/TestArrayTypes.py
ang/c/bitfields/TestBitfields.py
ang/cpp/class_static/TestStaticVariables.py
ython_api/process/TestProcessAPI.py
|
8b0ce52ba41685e10cc395331e9c29d8d77527ad |
11-Jul-2011 |
Jim Ingham <jingham@apple.com> |
Mark the test with expectedFailure for now. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134914 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-static-method/TestObjCStaticMethod.py
|
5230c19a8af18057cf5020ea8eacdef6c458482a |
11-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
rolling back previous commit; double fix made it wrong again git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134912 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-static-method/TestObjCStaticMethod.py
|
195d540b0a53048ecec6b705be5f0aacf2444c0c |
11-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
Prevent the test suite from failing all the time until this bug is fixed git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134911 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-static-method/TestObjCStaticMethod.py
|
e65566f9f930574b8341d95eb70df973756c4f6b |
11-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Mark as expected failure. rdar://problem/9745789 "expression" can't call functions in class methods git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134910 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-static-method/TestObjCStaticMethod.py
|
57cd6dd664694d772cff3d721617101bb60d4cb4 |
11-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Update the test scenario for find_global_variables() to now start the inferior process before issuing API calls to find the global variable and to get its value. rdar://problem/9700873 has been updated to reflect the latest status. The dwarf case now does not seg fault if the inferior is not started; instead, for dwarf case, the value retrieved from the global variable is None. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134909 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ython_api/target/TestTargetAPI.py
|
46171ff3f39bc194c07f187683b3aac2dd7e781d |
09-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add rdar://problem/9747668 info for "target variable g_marked_spot.y" command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134772 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/TestGlobalVariables.py
|
457019507e85e0bf27ecff4438cdd3722cf81e97 |
09-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenarios for 'target variable' command into TestGlobalVariables.py file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134771 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/global_variables/TestGlobalVariables.py
ang/c/global_variables/a.c
|
cdb1b406c015a93d4b5bebc92785a1cce52cf022 |
09-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add some comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134769 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
33b4be1d7ca14b25d0d57b5a2032971294980996 |
09-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
o TestEvents.py: Add a usage example of SBEvent APIs. o SBEvent.h and SBListener.h: Add method docstrings for SBEvent.h and SBListener.h, and example usage of SBEvent into the class docstring of SBEvent. o lldb.swig: Add typemap for SBEvent::SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len) so that we can use, in Python, obj2 = lldb.SBEvent(0, "abc") to create an SBEvent. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134766 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/event/TestEvents.py
|
9a60f26b1fd1f1776f62f867126c7728a20c93e7 |
08-Jul-2011 |
Jim Ingham <jingham@apple.com> |
New test to check that we can call functions in static methods in ObjC. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134736 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-static-method/Makefile
ang/objc/objc-static-method/TestObjCStaticMethod.py
ang/objc/objc-static-method/static.m
|
ff78238a2ebc66a683dded02c2f99fba85077d05 |
08-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
final fix for the global constructors issue new GetValueForExpressionPath() method in ValueObject to navigate expression paths in a more bitfield vs slices aware way changes to the varformats.html document (WIP) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134679 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-advanced/main.cpp
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
|
d4c27b8b15119a1301f2da1a6d84bdb5e7b65e80 |
08-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rearranged the debug output to come before the assert for function name 'outer_inline'. Right now clang-139 fails the test. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134673 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/inlines/TestInlinedFrame.py
|
9a0688f7aee3f75cf1a66641cb2984af6577f3a9 |
08-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
The Python API does not need SBEvent::BroadcasterMatchesPtr() when SBEvent::BroadcasterMatchesRef() suffices. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134659 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_event.py
|
d06692da29cb62807698e35e956510c18f337ed3 |
08-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add assert to check the SBModule of SBSymbolContextList returned from SBTarget.FindFunctions(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134651 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
11cff8536275a1d9e8008e1cc4377d35a59d2a43 |
08-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases to exercise the SBTarget.FindFunctions() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134646 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
368f8226b1f75fbb4758748fafcee70f18fc248e |
07-Jul-2011 |
Greg Clayton <gclayton@apple.com> |
Centralize the variable display prefs into a new option group class: OptionGroupVariable. It gets initialized with a boolean that indicates if the frame specific options are included so that this can be used in both the "frame variable" and "target variable" commands. Removed the global functionality from the "frame variable" command. Users should switch to using the "target variable" command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134594 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/class_static/TestStaticVariables.py
|
88f699690a48bc9e204c561443a53ca03dcf1ae6 |
07-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBType::IsPointerType(void *opaque_type). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134551 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_type.py
|
bafc86e11a23ad23112f67a99e42aac7b0f207d7 |
06-Jul-2011 |
Greg Clayton <gclayton@apple.com> |
Made the string representation for a SBValue return what "frame variable" would return instead of a less than helpful "name: '%s'" description. Make sure that when we ask for the error from a ValueObject object we first update the value if needed. Cleaned up some SB functions to use internal functions and not re-call through the public API when possible. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134497 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/array_types/TestArrayTypes.py
|
9762e10787a7efc2f0d822590cab42ca23d5e4f9 |
06-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
new syntax for summary strings: - ${*expr} now simply means to dereference expr before actually using it - bitfields, array ranges and pointer ranges now work in a (hopefully) more natural and language-compliant way a new class TypeHierarchyNavigator replicates the behavior of the FormatManager in going through type hierarchies when one-lining summary strings, children's summaries can be used as well as values git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134458 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-advanced/main.cpp
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
|
cbb52a64ea9775af1fcca2e929d0d0b4aa698de4 |
06-Jul-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add swig docstrings for SBModule.h, plus ifndef the SBModule::GetUUIDBytes() API out if swig. Fix typos in the comment for Module.h. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134446 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_module.py
|
9b3117e0365f3a3d59cf9adc073f716cea3bf942 |
02-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
test cases for the new features just committed git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134294 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/data-formatter-advanced/Makefile
unctionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
unctionalities/data-formatter/data-formatter-advanced/main.cpp
unctionalities/data-formatter/data-formatter-cpp/Makefile
unctionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
unctionalities/data-formatter/data-formatter-cpp/main.cpp
unctionalities/data-formatter/data-formatter-objc/Makefile
unctionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
unctionalities/data-formatter/data-formatter-objc/main.m
|
886bc3e5cb48e9660692609a7be69ec15b898bd7 |
02-Jul-2011 |
Enrico Granata <granata.enrico@gmail.com> |
several improvements to "type summary": - type names can now be regular expressions (exact matching is done first, and is faster) - integral (and floating) types can be printed as bitfields, i.e. ${var[low-high]} will extract bits low thru high of the value and print them - array subscripts are supported, both for arrays and for pointers. the syntax is ${*var[low-high]}, or ${*var[]} to print the whole array (the latter only works for statically sized arrays) - summary is now printed by default when a summary string references a variable. if that variable's type has no summary, value is printed instead. to force value, you can use %V as a format specifier - basic support for ObjectiveC: - ObjectiveC inheritance chains are now walked through - %@ can be specified as a summary format, to print the ObjectiveC runtime description for an object - some bug fixes git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134293 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/Makefile
unctionalities/data-formatter/TestDataFormatter.py
unctionalities/data-formatter/main.cpp
|
b302b2f50e079b11a12ebafc29104c198f4f15e4 |
30-Jun-2011 |
Greg Clayton <gclayton@apple.com> |
Centralize all of the type name code so that we always strip the leading "struct ", "class ", and "union " from the start of any type names that are extracted from clang QualType objects. I had to fix test suite cases that were expecting the struct/union/class prefix to be there. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134132 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/forward/TestForwardDeclaration.py
ang/cpp/dynamic-value/TestDynamicValue.py
ang/objc/foundation/TestObjCMethods.py
|
bbd7bef9caae0843a84e9cc5bb9932c1a65c60d2 |
30-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
While we are at it, let's also exercise the similar SBModule.FindGlobalVariables() API within the find_global_variables() test method. Skipping test_find_global_variables_with_dwarf(self) due to segmentation fault. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134118 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
51123cf1ca0434f0cc6a2cdeca36a92884b7c320 |
30-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases to TestTargetAPI.py to exercise the newly added SBTarget.FindGlobalVariables() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134109 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
ython_api/target/main.c
|
1391a391072a4b25c21b7198733ef7aa47a616c7 |
30-Jun-2011 |
Enrico Granata <granata.enrico@gmail.com> |
This commit adds a new top subcommand "summary" to command type named "type". Currently this command implements three commands: type summary add <format> <typename1> [<typename2> ...] type summary delete <typename1> [<typename2> ...] type summary list [<typename1> [<typename2>] ...] type summary clear This allows you to specify the default format that will be used to display summaries for variables, shown when you use "frame variable" or "expression", or the SBValue classes. Examples: type summary add "x = ${var.x}" Point type summary list type summary add --one-liner SimpleType git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134108 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/data-formatter/TestDataFormatter.py
unctionalities/data-formatter/main.cpp
|
b6dfb16e639e77dd8513be6712c1a4819b29dbb2 |
30-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBModule/SBTarget.FindGlobalVariables(...). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134107 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/sb_module.py
ython_api/default-constructor/sb_target.py
|
a6c1be6e7fdc713d7b276a8f760d4a38e92bd6a1 |
29-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBTypeMember. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134098 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_typemember.py
|
446ccaa81e42b089b6245a950cb4fca05cce12dd |
29-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls to SBType, SBValue, and SBValueList. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134096 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_type.py
ython_api/default-constructor/sb_value.py
ython_api/default-constructor/sb_valuelist.py
|
e657fbc20b4d5199ad2daae85678f0038df5095d |
29-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBTarget and SBThread. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134046 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_target.py
ython_api/default-constructor/sb_thread.py
|
f0e0bc01569e6513a4f88cb5aa2aca30878f4628 |
29-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBSymbol and SBSymbolContext. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134042 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_symbol.py
ython_api/default-constructor/sb_symbolcontext.py
|
2287366b1427dcafd8b45e6c2de939d70eaebbd3 |
29-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBStringList and add obj.Clear() calls for some files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134040 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_address.py
ython_api/default-constructor/sb_broadcaster.py
ython_api/default-constructor/sb_debugger.py
ython_api/default-constructor/sb_error.py
ython_api/default-constructor/sb_event.py
ython_api/default-constructor/sb_frame.py
ython_api/default-constructor/sb_instructionlist.py
ython_api/default-constructor/sb_process.py
ython_api/default-constructor/sb_stringlist.py
|
b7a9d64b2558ed5b8c15ce37de47fc7dd33004e8 |
29-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBModule and SBProcess. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134037 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_module.py
ython_api/default-constructor/sb_process.py
|
ff8e5ed3c017fa958c9cb0a39dc245f8b8453e7b |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBListener. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134029 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_listener.py
|
ca8f94a62934494db29d01a235f7d4eb6ee2089d |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBLineEntry. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134028 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_instruction.py
ython_api/default-constructor/sb_lineentry.py
|
189b473968c7d1ccca8b1bc9264ff992b343355d |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add @expectedFailure for TestCallStdStringFunction.py (radar was filed) and remove @expectedFailure from TestObjCMethods.py's print_ivars_correctly() function (it has been passing for a while). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134022 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
ang/objc/foundation/TestObjCMethods.py
|
1d27c3a4a66a78e3e1b88243e498f83d6fd0ae06 |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBInstruction and SBInstructionList. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134020 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_instruction.py
ython_api/default-constructor/sb_instructionlist.py
|
b7b4947c5cd2ada69d9d3d4539557853ad9d2d7a |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBInputReader. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133972 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_inputreader.py
|
c50be73025d175d0df95ea807abb1b2dec1f0e67 |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBFrame and SBFunction. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133965 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_frame.py
ython_api/default-constructor/sb_function.py
|
2fe615709082d0847d35c440b84be12a3ca45a20 |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBFileSpec. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133956 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_filespec.py
|
e4a2fd57ad24208cb4c602c3a017aabad8b2f314 |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBEvent. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133954 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_event.py
|
e2ac6dec08024429fcc8ef1646a435a732e5e94d |
28-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move to plevel dirs stop-hook, target, process_launch, and signal to reside under functionalities. Rename target dir to target_command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133951 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/process_launch/Makefile
unctionalities/process_launch/TestProcessLaunch.py
unctionalities/process_launch/input-file.txt
unctionalities/process_launch/main.cpp
unctionalities/process_launch/print_cwd.cpp
unctionalities/signal/Makefile
unctionalities/signal/TestSendSignal.py
unctionalities/signal/main.c
unctionalities/stop-hook/Makefile
unctionalities/stop-hook/TestStopHookCmd.py
unctionalities/stop-hook/TestStopHookMechanism.py
unctionalities/stop-hook/main.cpp
unctionalities/target_command/Makefile
unctionalities/target_command/TestTargetCommand.py
unctionalities/target_command/a.c
unctionalities/target_command/b.c
unctionalities/target_command/c.c
rocess_launch/Makefile
rocess_launch/TestProcessLaunch.py
rocess_launch/input-file.txt
rocess_launch/main.cpp
rocess_launch/print_cwd.cpp
ignal/Makefile
ignal/TestSendSignal.py
ignal/main.c
top-hook/Makefile
top-hook/TestStopHookCmd.py
top-hook/TestStopHookMechanism.py
top-hook/main.cpp
arget/Makefile
arget/TestTargetCommand.py
arget/a.c
arget/b.c
arget/c.c
|
d8ded0af25ecdb9746615c607a9c841e87ff95fe |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move top level recurse dir to reside under lang/c. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133950 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/recurse/Makefile
ang/c/recurse/main.c
ecurse/Makefile
ecurse/main.c
|
2913d13a4e08d91202b70e333f9b6d01b7b217c4 |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move top level inlines dir to reside under lang/c. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133949 91177308-0d34-0410-b5e6-96231b3b80d8
nlines/Makefile
nlines/inlines.c
nlines/inlines.h
ang/c/inlines/Makefile
ang/c/inlines/inlines.c
ang/c/inlines/inlines.h
|
33a1c57c86faf168064ca0157a2416aad79a2127 |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add comments and print output for selected thread under trace mode. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133947 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/print-obj/TestPrintObj.py
|
c0dbdc089884c1fe07568588558199824357eaca |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestPrintObj.py to go with lang/objc/print-objc, which: Test "print object" where another thread blocks the print object from making progress. Set a breakpoint on the line in my_pthread_routine. Then switch threads to the main thread, and do print the lock_me object. Since that will try to get the lock already gotten by my_pthread_routime thread, it will have to switch to running all threads, and that should then succeed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133933 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/print-obj/TestPrintObj.py
ang/objc/print-obj/blocked.m
ldbtest.py
|
c9ca455b37de0fd1f9a08dcfd5c6d57e2391c63d |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplified Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133921 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/print-obj/Makefile
|
31f58fe9776ea5e09d0602884daef38037781851 |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move sample objc program to reside under lang/objc. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133920 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/print-obj/Makefile
ang/objc/print-obj/blocked.m
rint-obj/Makefile
rint-obj/blocked.m
|
17a1399a7e7fbc4d2adb4186cd472f7e72d8d161 |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move top level test dirs platform and inferior-crashing to reside under functionalities and order to reside under macosx. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133919 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/inferior-crashing/Makefile
unctionalities/inferior-crashing/TestInferiorCrashing.py
unctionalities/inferior-crashing/main.c
unctionalities/platform/TestPlatformCommand.py
nferior-crashing/Makefile
nferior-crashing/TestInferiorCrashing.py
nferior-crashing/main.c
acosx/order/Makefile
acosx/order/TestOrderFile.py
acosx/order/cmds.txt
acosx/order/main.c
acosx/order/order-file
rder/Makefile
rder/TestOrderFile.py
rder/cmds.txt
rder/main.c
rder/order-file
latform/TestPlatformCommand.py
|
607914d2274f35335911d14ad4dcbce98f7e0511 |
27-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move top level test dirs inlined_breakpoints, load_unload, and embedded_interpreter to reside under functionalities. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133918 91177308-0d34-0410-b5e6-96231b3b80d8
mbedded_interpreter/Makefile
mbedded_interpreter/TestConvenienceVariables.py
mbedded_interpreter/main.c
unctionalities/breakpoint/inlined_breakpoints/Makefile
unctionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
unctionalities/breakpoint/inlined_breakpoints/basic_type.cpp
unctionalities/breakpoint/inlined_breakpoints/int.cpp
unctionalities/embedded_interpreter/Makefile
unctionalities/embedded_interpreter/TestConvenienceVariables.py
unctionalities/embedded_interpreter/main.c
unctionalities/load_unload/Makefile
unctionalities/load_unload/TestLoadUnload.py
unctionalities/load_unload/a.c
unctionalities/load_unload/b.c
unctionalities/load_unload/c.c
unctionalities/load_unload/cmds.txt
unctionalities/load_unload/d.c
unctionalities/load_unload/main.c
nlined_breakpoints/Makefile
nlined_breakpoints/TestInlinedBreakpoints.py
nlined_breakpoints/basic_type.cpp
nlined_breakpoints/int.cpp
oad_unload/Makefile
oad_unload/TestLoadUnload.py
oad_unload/a.c
oad_unload/b.c
oad_unload/c.c
oad_unload/cmds.txt
oad_unload/d.c
oad_unload/main.c
|
3f8dff9568c93f873b95673f2a648434701f85fa |
26-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move more top level test dirs to reside under functionalities dir. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133894 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_regex/TestCommandRegex.py
ommand_source/.lldb
ommand_source/TestCommandSource.py
ommand_source/my.py
onditional_break/.lldb
onditional_break/Makefile
onditional_break/TestConditionalBreak.py
onditional_break/conditional_break.py
onditional_break/main.c
onnect_remote/EchoServer.py
onnect_remote/TestConnectRemote.py
ata-formatter/Makefile
ata-formatter/TestDataFormatter.py
ata-formatter/main.cpp
ead-strip/Makefile
ead-strip/TestDeadStrip.py
ead-strip/cmds.txt
ead-strip/main.c
unctionalities/command_regex/TestCommandRegex.py
unctionalities/command_source/.lldb
unctionalities/command_source/TestCommandSource.py
unctionalities/command_source/my.py
unctionalities/conditional_break/.lldb
unctionalities/conditional_break/Makefile
unctionalities/conditional_break/TestConditionalBreak.py
unctionalities/conditional_break/conditional_break.py
unctionalities/conditional_break/main.c
unctionalities/connect_remote/EchoServer.py
unctionalities/connect_remote/TestConnectRemote.py
unctionalities/data-formatter/Makefile
unctionalities/data-formatter/TestDataFormatter.py
unctionalities/data-formatter/main.cpp
unctionalities/dead-strip/Makefile
unctionalities/dead-strip/TestDeadStrip.py
unctionalities/dead-strip/cmds.txt
unctionalities/dead-strip/main.c
|
aff8648274655617ab2ebd5cae7db43b0eba86ae |
26-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
A couple of directory renamings; get rid of 'tests' from the directory names. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133893 91177308-0d34-0410-b5e6-96231b3b80d8
unctionalities/abbreviation/Makefile
unctionalities/abbreviation/TestAbbreviations.py
unctionalities/abbreviation/change_prompt.lldb
unctionalities/abbreviation/main.cpp
unctionalities/abbreviation_tests/Makefile
unctionalities/abbreviation_tests/TestAbbreviations.py
unctionalities/abbreviation_tests/change_prompt.lldb
unctionalities/abbreviation_tests/main.cpp
unctionalities/alias/Makefile
unctionalities/alias/TestAliases.py
unctionalities/alias/main.cpp
unctionalities/alias_tests/Makefile
unctionalities/alias_tests/TestAliases.py
unctionalities/alias_tests/main.cpp
|
083e4a9b6c13eb737ca6279bbd7359e674a729a4 |
26-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move some top level directories to reside under functionalities dir. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133892 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/Makefile
bbreviation_tests/TestAbbreviations.py
bbreviation_tests/change_prompt.lldb
bbreviation_tests/main.cpp
lias_tests/Makefile
lias_tests/TestAliases.py
lias_tests/main.cpp
reakpoint_command/Makefile
reakpoint_command/TestBreakpointCommand.py
reakpoint_command/main.c
reakpoint_conditions/Makefile
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_conditions/main.c
reakpoint_ids/Makefile
reakpoint_ids/TestBreakpointIDs.py
reakpoint_ids/main.cpp
reakpoint_ignore_count/Makefile
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
reakpoint_ignore_count/main.c
reakpoint_locations/Makefile
reakpoint_locations/TestBreakpointLocations.py
reakpoint_locations/main.c
unctionalities/abbreviation_tests/Makefile
unctionalities/abbreviation_tests/TestAbbreviations.py
unctionalities/abbreviation_tests/change_prompt.lldb
unctionalities/abbreviation_tests/main.cpp
unctionalities/alias_tests/Makefile
unctionalities/alias_tests/TestAliases.py
unctionalities/alias_tests/main.cpp
unctionalities/breakpoint/breakpoint_command/Makefile
unctionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
unctionalities/breakpoint/breakpoint_command/main.c
unctionalities/breakpoint/breakpoint_conditions/Makefile
unctionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
unctionalities/breakpoint/breakpoint_conditions/main.c
unctionalities/breakpoint/breakpoint_ids/Makefile
unctionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
unctionalities/breakpoint/breakpoint_ids/main.cpp
unctionalities/breakpoint/breakpoint_ignore_count/Makefile
unctionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
unctionalities/breakpoint/breakpoint_ignore_count/main.c
unctionalities/breakpoint/breakpoint_locations/Makefile
unctionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
unctionalities/breakpoint/breakpoint_locations/main.c
|
fc213e14fe56658edd9310e952809be42f81e78e |
26-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move hello_world to now reside under python_api dir. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133890 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/Makefile
ello_world/TestHelloWorld.py
ello_world/main.c
ython_api/hello_world/Makefile
ython_api/hello_world/TestHelloWorld.py
ython_api/hello_world/main.c
|
82bb53bd9fa45cb627c00597eda83d3ca5ee2ff4 |
26-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplified the test cases, before moving the file to reside under python_api dir. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133889 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
b26db29eebfbc2dc88776afa738a9b6a8fcc8f75 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move struct_types, stepping, and set_values dirs to now reside under lang/c. Move stl dir to now reside under lang/cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133884 91177308-0d34-0410-b5e6-96231b3b80d8
ang/c/set_values/Makefile
ang/c/set_values/TestSetValues.py
ang/c/set_values/main.c
ang/c/stepping/Makefile
ang/c/stepping/TestThreadStepping.py
ang/c/stepping/main.c
ang/c/struct_types/Makefile
ang/c/struct_types/TestStructTypes.py
ang/c/struct_types/cmds.txt
ang/c/struct_types/main.c
ang/cpp/stl/Makefile
ang/cpp/stl/TestSTL.py
ang/cpp/stl/TestStdCXXDisassembly.py
ang/cpp/stl/cmds.txt
ang/cpp/stl/main.cpp
et_values/Makefile
et_values/TestSetValues.py
et_values/main.c
tepping/Makefile
tepping/TestThreadStepping.py
tepping/main.c
tl/Makefile
tl/TestSTL.py
tl/TestStdCXXDisassembly.py
tl/cmds.txt
tl/main.cpp
truct_types/Makefile
truct_types/TestStructTypes.py
truct_types/cmds.txt
truct_types/main.c
|
b8025be2976a40d072e9a6d4eb7c9316d65bb16e |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move global_variables dir to lang/c and foundation dir to lang/objc. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133883 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/Makefile
oundation/TestConstStrings.py
oundation/TestFoundationDisassembly.py
oundation/TestObjCMethods.py
oundation/TestObjCMethods2.py
oundation/TestSymbolTable.py
oundation/const-strings.m
oundation/main.m
oundation/my-base.h
oundation/my-base.m
lobal_variables/Makefile
lobal_variables/TestGlobalVariables.py
lobal_variables/a.c
lobal_variables/cmds.txt
lobal_variables/main.c
ang/c/global_variables/Makefile
ang/c/global_variables/TestGlobalVariables.py
ang/c/global_variables/a.c
ang/c/global_variables/cmds.txt
ang/c/global_variables/main.c
ang/objc/foundation/Makefile
ang/objc/foundation/TestConstStrings.py
ang/objc/foundation/TestFoundationDisassembly.py
ang/objc/foundation/TestObjCMethods.py
ang/objc/foundation/TestObjCMethods2.py
ang/objc/foundation/TestSymbolTable.py
ang/objc/foundation/const-strings.m
ang/objc/foundation/main.m
ang/objc/foundation/my-base.h
ang/objc/foundation/my-base.m
|
de2f1ed2a5dfe306aa6c5d48baf65808608cefb5 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move test dirs forward and function_types to now reside under lang/c. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133882 91177308-0d34-0410-b5e6-96231b3b80d8
orward/Makefile
orward/README.txt
orward/TestForwardDeclaration.py
orward/foo.c
orward/foo.h
orward/main.c
unction_types/Makefile
unction_types/TestFunctionTypes.py
unction_types/main.c
ang/c/forward/Makefile
ang/c/forward/README.txt
ang/c/forward/TestForwardDeclaration.py
ang/c/forward/foo.c
ang/c/forward/foo.h
ang/c/forward/main.c
ang/c/function_types/Makefile
ang/c/function_types/TestFunctionTypes.py
ang/c/function_types/main.c
|
b794017ee4b085b28249af1511b3bdcaef8924ce |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move some directories to now reside under lang/c or lang/cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133881 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/Makefile
rray_types/TestArrayTypes.py
rray_types/cmds.txt
rray_types/main.c
itfields/Makefile
itfields/TestBitfields.py
itfields/main.c
lass_static/Makefile
lass_static/TestStaticVariables.py
lass_static/main.cpp
lass_types/Makefile
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
lass_types/cmds.txt
lass_types/main.cpp
ang/c/array_types/Makefile
ang/c/array_types/TestArrayTypes.py
ang/c/array_types/cmds.txt
ang/c/array_types/main.c
ang/c/bitfields/Makefile
ang/c/bitfields/TestBitfields.py
ang/c/bitfields/main.c
ang/cpp/class_static/Makefile
ang/cpp/class_static/TestStaticVariables.py
ang/cpp/class_static/main.cpp
ang/cpp/class_types/Makefile
ang/cpp/class_types/TestClassTypes.py
ang/cpp/class_types/TestClassTypesDisassembly.py
ang/cpp/class_types/cmds.txt
ang/cpp/class_types/main.cpp
ang/cpp/signed_types/Makefile
ang/cpp/signed_types/TestSignedTypes.py
ang/cpp/signed_types/main.cpp
ang/cpp/unique-types/Makefile
ang/cpp/unique-types/TestUniqueTypes.py
ang/cpp/unique-types/main.cpp
ang/cpp/unsigned_types/Makefile
ang/cpp/unsigned_types/TestUnsignedTypes.py
ang/cpp/unsigned_types/main.cpp
igned_types/Makefile
igned_types/TestSignedTypes.py
igned_types/main.cpp
nique-types/Makefile
nique-types/TestUniqueTypes.py
nique-types/main.cpp
nsigned_types/Makefile
nsigned_types/TestUnsignedTypes.py
nsigned_types/main.cpp
|
c93a8bb8fcbcccd4066fcfe02f026f7c8927ddce |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move enum_types to now reside under lang/c. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133880 91177308-0d34-0410-b5e6-96231b3b80d8
num_types/Makefile
num_types/TestEnumTypes.py
num_types/main.c
ang/c/enum_types/Makefile
ang/c/enum_types/TestEnumTypes.py
ang/c/enum_types/main.c
|
288a0148e70d5ad552ec129db2a1500cc4023d82 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move namespace directory to now reside under lang/cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133879 91177308-0d34-0410-b5e6-96231b3b80d8
ang/cpp/namespace/Makefile
ang/cpp/namespace/TestNamespace.py
ang/cpp/namespace/cmds.txt
ang/cpp/namespace/main.cpp
amespace/Makefile
amespace/TestNamespace.py
amespace/cmds.txt
amespace/main.cpp
|
b11e613edd766d21f8326e270c26707ca55fef86 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move C++-related test directories to now reside under lang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133878 91177308-0d34-0410-b5e6-96231b3b80d8
pp/dynamic-value/Makefile
pp/dynamic-value/TestDynamicValue.py
pp/dynamic-value/pass-to-base.cpp
pp/virtual/Makefile
pp/virtual/TestVirtual.py
pp/virtual/main.cpp
ang/cpp/dynamic-value/Makefile
ang/cpp/dynamic-value/TestDynamicValue.py
ang/cpp/dynamic-value/pass-to-base.cpp
ang/cpp/virtual/Makefile
ang/cpp/virtual/TestVirtual.py
ang/cpp/virtual/main.cpp
|
f9c6f90ff6193b283259863b7ca3a047199789a3 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move objc-related test directories to now reside under lang/objc. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133877 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/objc-dynamic-value/Makefile
ang/objc/objc-dynamic-value/TestObjCDynamicValue.py
ang/objc/objc-dynamic-value/dynamic-value.m
ang/objc/objc-ivar-offsets/Makefile
ang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
ang/objc/objc-ivar-offsets/main.m
ang/objc/objc-ivar-offsets/objc-ivar-offsets.h
ang/objc/objc-ivar-offsets/objc-ivar-offsets.m
ang/objc/objc-optimized/Makefile
ang/objc/objc-optimized/TestObjcOptimized.py
ang/objc/objc-optimized/main.m
ang/objc/objc-stepping/Makefile
ang/objc/objc-stepping/TestObjCStepping.py
ang/objc/objc-stepping/stepping-tests.m
bjc-dynamic-value/Makefile
bjc-dynamic-value/TestObjCDynamicValue.py
bjc-dynamic-value/dynamic-value.m
bjc-ivar-offsets/Makefile
bjc-ivar-offsets/TestObjCIvarOffsets.py
bjc-ivar-offsets/main.m
bjc-ivar-offsets/objc-ivar-offsets.h
bjc-ivar-offsets/objc-ivar-offsets.m
bjc-optimized/Makefile
bjc-optimized/TestObjcOptimized.py
bjc-optimized/main.m
bjc-stepping/Makefile
bjc-stepping/TestObjCStepping.py
bjc-stepping/stepping-tests.m
|
9914b61f7743c17371799ff007630e3450e06f66 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Start moving things around to have a more hierarchical directory structure. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133876 91177308-0d34-0410-b5e6-96231b3b80d8
ang/objc/sample/Makefile
ang/objc/sample/main.m
bjc/Makefile
bjc/main.m
|
3801c2cca7646d3d71bdbead8207a52c1d2a4722 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBError. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133850 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_error.py
|
43fc089c932931492c73d2a02cea65958d498dee |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBDebugger. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133848 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_debugger.py
|
165e54925078a564f524c8d795bbf3a17341777f |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBCompileUnit. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133843 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_compileunit.py
|
fa3263b9838cc113c31ac116dca250847aefeffe |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBCommunication. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133839 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_communication.py
|
16c8872b2710c60b8b3798e618472952046be0b1 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBBroadcaster. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133837 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_broadcaster.py
|
b264c9b1c0385173517147f1d0ff6c87bb04c8f4 |
25-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Compute svn_info for git-svn bridge, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133836 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
58513667f6765aa8db13cdc4abd500340c1cac80 |
25-Jun-2011 |
Jim Ingham <jingham@apple.com> |
Add support for looking up ivar offset from the ObjC runtime. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133831 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-ivar-offsets/Makefile
bjc-ivar-offsets/TestObjCIvarOffsets.py
bjc-ivar-offsets/main.m
bjc-ivar-offsets/objc-ivar-offsets.h
bjc-ivar-offsets/objc-ivar-offsets.m
|
cd6377ee248eb5c7f0888b92bcbf52b79b6cea79 |
24-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBBreakpointLocation. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133810 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_breakpointlocation.py
|
15be1d0710fbbd52465e6981a484a6439afe4093 |
24-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBBreakpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133809 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_breakpoint.py
|
07dd55a61f1cf76834df5f7e575af4686ab4bcac |
24-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add fuzz calls for SBBlock. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133780 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_block.py
|
1581e74f6217967228294b8079b6e2f908213d6d |
24-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Start adding API calls to the invalid SB API object after default construction. It should not crash lldb. This checkin adds calls for SBAddress. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133778 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
ython_api/default-constructor/sb_address.py
|
fcfc118ebeae3c2b21d0605b16a151d238323ef1 |
24-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an initial test file for the newly added data formatter command. main.cpp is contributed from Enrico. Modify CommandObjectType.cpp to set status on the CommandReturnObject when succeeded as well. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133772 91177308-0d34-0410-b5e6-96231b3b80d8
ata-formatter/Makefile
ata-formatter/TestDataFormatter.py
ata-formatter/main.cpp
|
b7e27f4ed399c04362e2f40ba1d800846b819077 |
24-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
o lldbtest.py: 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(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133768 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
oad_unload/TestLoadUnload.py
ython_api/thread/TestThreadAPI.py
ypes/AbstractBase.py
|
4119be53531a9b5bd1082029188d950f142498a4 |
23-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
For now, use 'b.out' compiled from main2.cpp as the executable name for test_run_to_address_with_dsym/dwarf() to distinguish between other test cases which use 'a.out' compiled from main.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133764 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
d062ee862396d29b8c06c60b9e2c38330cf42665 |
23-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Refactorings of the test/types directory to more elegantly express the uniqueness of executable names given to each test method. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133749 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
2c41e14fd22c79ec2eb0f77dc314e118f04ca232 |
22-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the test cases (there are a bunch of them) under test/types so that they employ different executable names when creating the target for lldb to debug. Comparing the log files for the same test case with success/failure results show that the failed one was setting the breakpoint on some different address than the succeeded one, leading us to suspect that the file system maybe think it knows better and caches the wrong executable file (they were all named 'a.out' before) which lldb subsequently reads from. Now './dotest.py -v types' passes without specifying the '-w' option. rdar://problem/9644488 rdar://problem/9649573 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133649 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/HideTestFailures.py
ypes/TestFailures.py
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
9a39f597b4b6b10fc9704682eae51a5beff013f1 |
22-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add docstring to test_SBSymbolContextList(self) explaining that upon default construction, the API object is valid. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133644 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
51c3533dfbe3630107543838e6fb75b084b3972f |
22-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
This newly introduced test file (for debugging purpose) needs to handle the case where the environment variables for log files (DEBUG_LLDB_LOG and DEBUG_GDB_REMOTE_LOG) are not defined. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133603 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFailures.py
|
cd0f93876e9067135593e1e39f4d7f6fc29e24a3 |
22-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Recent change to SBSymbolContextList (r133498) makes the default constructor return a valid SB API object. Modify the test case to accommodate. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133602 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
cf797164b03f9cf073386e26c08b88b70a1feb30 |
22-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
I messed up the test case id to turn logging on and then off. It is "test_long_type_with_dsym", not "test_long_long_type_with_dsym". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133562 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFailures.py
|
2354bcf37cea7ddd2b025c13f3dbc2ec43a9a2d9 |
22-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add logging of 'commands' category, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133556 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFailures.py
|
d047d81eefa9bb0ad1979a37fabbbd23d2cfa936 |
21-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/9649573 has captured the log files when running test_long_long_type_with_dsym() (which luckily failed) and the test session files for test failures. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133538 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFailures.py
|
d88785b7743c8f4cfa0f5025f5db56f716e6c7b4 |
21-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test file "TestFailures.py" to try to capture test failures which occur when running with no delay between successive test cases. This one happend to capture a test failure where the inferior shoud stop at a breakpoint but did not (radar will be filed to capture the log files as well as the test session files): [12:40:37] johnny:/Volumes/data/lldb/svn/trunk/test $ DEBUG_LLDB_LOG=/tmp/lldb.log DEBUG_GDB_REMOTE_LOG=/tmp/gdb-remote.log ./dotest.py -v -p TestFailures.py LLDB-63 Path: /Volumes/data/lldb/svn/trunk 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: 133529 Node Kind: directory Schedule: normal Last Changed Author: jmolenda Last Changed Rev: 133500 Last Changed Date: 2011-06-20 19:57:15 -0700 (Mon, 20 Jun 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-06-21-12_40_42' Command invoked: python ./dotest.py -v -p TestFailures.py ---------------------------------------------------------------------- Collected 10 tests 1: test_char_type_with_dsym (TestFailures.DebugIntegerTypesFailures) Test that char-type variables are displayed correctly. ... ok 2: test_char_type_with_dwarf (TestFailures.DebugIntegerTypesFailures) Test that char-type variables are displayed correctly. ... ok 3: test_int_type_with_dsym (TestFailures.DebugIntegerTypesFailures) Test that int-type variables are displayed correctly. ... ok 4: test_int_type_with_dwarf (TestFailures.DebugIntegerTypesFailures) Test that int-type variables are displayed correctly. ... ok 5: test_long_long_type_with_dsym (TestFailures.DebugIntegerTypesFailures) Test that 'long long'-type variables are displayed correctly. ... FAIL 6: test_long_long_type_with_dwarf (TestFailures.DebugIntegerTypesFailures) Test that 'long long'-type variables are displayed correctly. ... ok 7: test_long_type_with_dsym (TestFailures.DebugIntegerTypesFailures) Test that long-type variables are displayed correctly. ... TestFailures.DebugIntegerTypesFailures.test_long_type_with_dsym FAIL 8: test_long_type_with_dwarf (TestFailures.DebugIntegerTypesFailures) Test that long-type variables are displayed correctly. ... FAIL 9: test_short_type_with_dsym (TestFailures.DebugIntegerTypesFailures) Test that short-type variables are displayed correctly. ... ok 10: test_short_type_with_dwarf (TestFailures.DebugIntegerTypesFailures) Test that short-type variables are displayed correctly. ... ok ====================================================================== FAIL: test_long_long_type_with_dsym (TestFailures.DebugIntegerTypesFailures) Test that 'long long'-type variables are displayed correctly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Volumes/data/lldb/svn/trunk/test/types/TestFailures.py", line 102, in test_long_long_type_with_dsym self.long_long_type() File "/Volumes/data/lldb/svn/trunk/test/types/TestFailures.py", line 129, in long_long_type self.generic_type_tester(set(['long long'])) File "/Volumes/data/lldb/svn/trunk/test/types/AbstractBase.py", line 67, in generic_type_tester "stop reason = breakpoint"]) File "/Volumes/data/lldb/svn/trunk/test/lldbtest.py", line 863, in expect msg if msg else EXP_MSG(str, exe)) AssertionError: False is not True : Process should be stopped due to breakpoint ====================================================================== FAIL: test_long_type_with_dsym (TestFailures.DebugIntegerTypesFailures) Test that long-type variables are displayed correctly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Volumes/data/lldb/svn/trunk/test/types/TestFailures.py", line 87, in test_long_type_with_dsym self.long_type() File "/Volumes/data/lldb/svn/trunk/test/types/TestFailures.py", line 125, in long_type self.generic_type_tester(set(['long'])) File "/Volumes/data/lldb/svn/trunk/test/types/AbstractBase.py", line 67, in generic_type_tester "stop reason = breakpoint"]) File "/Volumes/data/lldb/svn/trunk/test/lldbtest.py", line 863, in expect msg if msg else EXP_MSG(str, exe)) AssertionError: False is not True : Process should be stopped due to breakpoint ====================================================================== FAIL: test_long_type_with_dwarf (TestFailures.DebugIntegerTypesFailures) Test that long-type variables are displayed correctly. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Volumes/data/lldb/svn/trunk/test/types/TestFailures.py", line 94, in test_long_type_with_dwarf self.long_type() File "/Volumes/data/lldb/svn/trunk/test/types/TestFailures.py", line 125, in long_type self.generic_type_tester(set(['long'])) File "/Volumes/data/lldb/svn/trunk/test/types/AbstractBase.py", line 67, in generic_type_tester "stop reason = breakpoint"]) File "/Volumes/data/lldb/svn/trunk/test/lldbtest.py", line 863, in expect msg if msg else EXP_MSG(str, exe)) AssertionError: False is not True : Process should be stopped due to breakpoint ---------------------------------------------------------------------- Ran 10 tests in 5.617s FAILED (failures=3) Session logs for test failures/errors/unexpected successes can be found in directory '2011-06-21-12_40_42' [12:40:47] johnny:/Volumes/data/lldb/svn/trunk/test $ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133537 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/TestFailures.py
|
c935a89a5ea2199cdaaf557c4f913a78e25c2797 |
21-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix the log channel for gdb-remote. It should be "gdb-remote" now, instead of "process.gdb-remote". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133534 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
9a9fcf668980788b50322dfd28287ceb81486918 |
21-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
For now, insert some delays between succesive test cases in the test/types directory if not already specified by the test driver (via ./dotest -w). Remove the AbstractBase.setUp() method definition when/if we find out the cause of the failures if no delays are inserted between these test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133495 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ypes/AbstractBase.py
|
c9aabf097245642531d74410ff1371a97991af64 |
21-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the the generic AbstractBase.py test base for testing variable types. We still have the the issue where running: ./dotest.py -v types we have test failures where the inferior either runs to exited with status 0 or the inferior stops but not because of breakpoint (for example): runCmd: process status output: Process 90060 stopped * thread #1: tid = 0x2d03, 0x000000010000e2ca, stop reason = EXC_BAD_ACCESS (code=2, address=0x10000e2ca) frame #0: 0x000000010000e2ca There are two cases where the inferior stops for the breakpoint (good), but the expression parser prints out the wrong information. The two failures are: Failure-TestFloatTypesExpr.FloatTypesExprTestCase.test_double_type_with_dsym.log Failure-TestFloatTypesExpr.FloatTypesExprTestCase.test_double_type_with_dwarf.log I'll file a radar on the two expression parser misbehave, while continue investigating why the inferior stops for the wrong reason or does not stop at all. For now, you'll need to do: ./dotest.py -v -w types git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133488 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/basic_type.cpp
|
132476f353df957117d463aedb4d68db6c35677e |
21-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Set LLDB_SESSION_DIRNAME to absolute path This is to ensure that session files are written to the correct directory if the -r option is given. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133483 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
b1821b4d25d9c31437b8e97b9feccd1141b9388b |
21-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor module-level docstring change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133476 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
d2554b5b7d4531b44bfbbea00cccc5fd274ef76b |
21-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Test lldb Python API object's default constructor and make sure it is invalid after initial construction. There are two exceptions to the above general rules, though; the API objects are SBCommadnReturnObject and SBStream. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133475 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/default-constructor/TestDefaultConstructorForAPIObjects.py
|
a47b9bdabb11c81058b8e9171065bdfa7cbe020a |
20-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Change to get around the nested ifeq woes on OS X Snow Leopard: ../make/Makefile.rules:217: *** missing `endif'. Stop. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133466 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
ac720150103f76eee15b42cac5ed6864fa96a692 |
20-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Add a default rule to test/Makefile which runs the test suite git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133461 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
f6c3de8ff0f3ecd3b5739bfa7c732a3b152e48c7 |
20-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Modify TestHelp to search for LLDB-Info.plist in the correct place This is required to run the test suite outside of the source tree or on a case sensitive file system. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133460 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
elp/TestHelp.py
|
61aca48855d023d7dbb1b4743704907b77f6acba |
20-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Have dotest.py search for test cases in its own directory by default, rather than the current directory. This is required to run the test suite outside of the source tree. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133458 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
39bd53698ad04f760e4b9a79cde627cb0d3cf0e1 |
20-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Add a builder module for Linux (plus some refactoring) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133457 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/builder_base.py
lugins/builder_darwin.py
lugins/builder_linux2.py
lugins/darwin.py
|
cf043e61e29f2c722231964766fb7101b0121862 |
20-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Add Linux rules to test makefile git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133456 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/Makefile
ake/Makefile.rules
|
e6bd142d9fa7ed149bd37efd8a75637375f165b7 |
20-Jun-2011 |
Jim Ingham <jingham@apple.com> |
Use the dyld_mode, image_infos & image_infos_count passed into the shared library notification function to update libraries rather than reading the whole all_imaage_infos structure every time we get notified. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133448 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/basic_type.cpp
|
64abe46fa4d3b030ae525b40afe1bffccda166aa |
20-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestInlinedFrame.py to exercise the newly added SBFrame APIs: IsInlined() and GetFunctionName(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133404 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/frame/inlines/Makefile
ython_api/frame/inlines/TestInlinedFrame.py
ython_api/frame/inlines/inlines.c
ython_api/frame/inlines/inlines.h
|
2da44025051e6a0c0bffe4dba25ed7084e7ae277 |
17-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Test case test_connect_remote() has been passing consistently for some times. Let's remove the @expectedFailure marker from it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133294 91177308-0d34-0410-b5e6-96231b3b80d8
onnect_remote/TestConnectRemote.py
|
ffa458bbb6f50091d81438a7f2e3032a177570b0 |
17-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify a bunch of docstrings to be more correct. Check the SBError.Success() after attaching. Also eat the stdout of the spawned "hello_world" process if not in TraceOn() mode. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133280 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
58d02ff2addb37231741506da3bf96cf31158ddd |
17-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a bunch of test cases to TestHelloWorld.py to exercise combinations of dwarf/dsym debug setup. Among them are test cases to exercise SBTarget.AttachToProcessWithName(); we attach to "hello_world", and verify that, after attachment, the currently selected target indeed matches "hello_world". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133279 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
da5c7e6675fa895b6ab0112314a24bd8794af4f7 |
17-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Localize the finding of our to-be-debugged executable in one spot during the setUp() phase. Change the executable name to be "hello_world". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133277 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/Makefile
ello_world/TestHelloWorld.py
|
d1c9fb0ee77f7f02b128f3e1c4d93a699f57dd99 |
17-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133230 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
535960ee92f58617fdcc016d75c49ddf650517df |
17-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
o TestHelloWorld.py: Add a test case for the SBTarget::AttachToProcessWithID() API call. o main.c: The change goes with the added test case test_with_dwarf_and_attach_to_process_with_id_api() above. o SBTarget.cpp: Checks whether we're in synchronous mode. If yes, let's wait for the process to stop right after attaching. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133223 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
ello_world/main.c
|
49f3d81ab49270d85d1637797572a3bc38cce1d9 |
17-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
o lldbutil.py: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133204 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/lldbutil/frame/TestFrameUtils.py
ython_api/lldbutil/process/TestPrintStackTraces.py
|
3d8ae4681b81b42a404ad77a231c6f743040e644 |
16-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
The extra burden for the Python API test case to assign its process object 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. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133097 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
onditional_break/TestConditionalBreak.py
pp/dynamic-value/TestDynamicValue.py
xpression_command/test/TestExprs.py
oundation/TestObjCMethods.py
ello_world/TestHelloWorld.py
nferior-crashing/TestInferiorCrashing.py
ldbutil.py
bjc-dynamic-value/TestObjCDynamicValue.py
bjc-stepping/TestObjCStepping.py
ython_api/event/TestEvents.py
ython_api/frame/TestFrames.py
ython_api/function_symbol/TestDisasmAPI.py
ython_api/function_symbol/TestSymbolAPI.py
ython_api/interpreter/TestCommandInterpreterAPI.py
ython_api/lldbutil/frame/TestFrameUtils.py
ython_api/lldbutil/iter/TestLLDBIterator.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/lldbutil/process/TestPrintStackTraces.py
ython_api/process/TestProcessAPI.py
ython_api/symbol-context/TestSymbolContext.py
ython_api/target/TestTargetAPI.py
ython_api/thread/TestThreadAPI.py
|
ef6f476b2487400d54e7f539f0682edc2913d2aa |
15-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the base test class. Remove keyword argument setCookie from TestBase.runCmd() and remove the self.runStarted attribute since the automatic shutdown of processes associated with the targets are now performed automatically. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133092 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
ldbtest.py
|
409646d247dc8a1efe4f199a1b251516ffc62f60 |
15-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an API to SBDebugger class: bool SBDebugger::DeleteTarget(lldb::SBTarget &target); which is used in the test tearDown() phase to cleanup the debugger's target list so that it won't grow larger and larger as test cases are executed. This is also a good opportunity to get rid of the arcane requirement that test cases exercising the Python API must assign the process object to self.process so that it gets shutdown gracefully. Instead, the shutdown of the process associated with each target is now being now automatically. Also get rid of an API from SBTarget class: SBTarget::DeleteTargetFromList(lldb_private::TargetList *list); git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133091 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
5f2b5d624df0e720de4e28f1cebf7a0ad3f62c10 |
14-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Fix typo: curret -> current git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132969 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
5fd8612fcb026b425461c9340fc1c77e7b0facf9 |
14-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Removed unneeded method breakAfterLaunch() from the TestBase class to simplify our base class. It was introduced to work around some debugger infrastructure bug which has long since been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132951 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
ello_world/TestHelloWorld.py
ldbtest.py
|
ac27455ab52b363304d7ac430bcd4630fe991eb8 |
10-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Comment out the debug stmts. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132808 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/function_symbol/TestDisasmAPI.py
|
694cfd036c78cc28ece8b4eebf2087f0572158cd |
10-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add rich comparison methods for the SBAddress object. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132807 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/function_symbol/TestDisasmAPI.py
|
35ec4f14d52bec01c6fa6dd8196b5dc167224a6d |
06-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove extra whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132692 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
219b929e8916448492575d824529655b473a0024 |
02-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Exercise the 'thread backtrace all' command instead of the currently 'thread backtrace' command. This serves as a regression test against rdar://problem/9530511. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132438 91177308-0d34-0410-b5e6-96231b3b80d8
nferior-crashing/TestInferiorCrashing.py
|
d8c1dd366116f03189a9e7af55dc110b202147c6 |
01-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix out-dated module docstring for lldbtest.py. Also wrap some lldb attribute references inside a try-except block in case the test is not invoked through the dotest.py test driver. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132372 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
006b5959a02b73e8e95ecefdd7d03ccd1c72570b |
01-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move some comments to the docstrings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132367 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
5d729a47805f472431a486e478a3f478c79cf8ce |
30-May-2011 |
Greg Clayton <gclayton@apple.com> |
Revert previous changes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132308 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/main.cpp
|
82f0746880b4a6b18bcf8666670140f5b4a56791 |
30-May-2011 |
Greg Clayton <gclayton@apple.com> |
lldb-59. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132304 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/main.cpp
|
7c8d0d4ecdf1f5c3b907c3e3ccf1b14e8ed1702e |
28-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132232 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/darwin.py
|
b877031f1972bc40f25cdda9532d7c30d25f3412 |
28-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add comment headers describing some method groups of our TestBase class. Remove an unnecessary __import__() function call. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132231 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
b94250fd6ca03a311353b592b6bd1b2b2f1c32f0 |
27-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove extra '.' in the comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132160 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/TestProcessLaunch.py
|
5aba3f5e7964f9cdea53ab5f20487201f031d856 |
26-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132152 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
7cd134af161941808cfe20eaf96d1b6ecf833e7e |
26-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Comment change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132150 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
4c0c75bedb98222a72c856c8fa4a25a366cf62bd |
26-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify test setup; there's no need to pass a customized dictionary here. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132147 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/frame/TestFrameUtils.py
|
960ce1206dbe268c7f3142fcf279e6392a852024 |
25-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Convert these two modules to use the compact truth value testing as well. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132072 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ldbutil.py
|
805fec7ec90a09b94bc4515fcac9b2b03bae153b |
24-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Now that we have added a post-processing step for adding truth value testing to 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). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131970 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
onditional_break/TestConditionalBreak.py
pp/dynamic-value/TestDynamicValue.py
xpression_command/test/TestExprs.py
oundation/TestObjCMethods.py
oundation/TestSymbolTable.py
ello_world/TestHelloWorld.py
nferior-crashing/TestInferiorCrashing.py
acosx/universal/TestUniversal.py
bjc-dynamic-value/TestObjCDynamicValue.py
bjc-stepping/TestObjCStepping.py
ython_api/event/TestEvents.py
ython_api/frame/TestFrames.py
ython_api/function_symbol/TestDisasmAPI.py
ython_api/function_symbol/TestSymbolAPI.py
ython_api/interpreter/TestCommandInterpreterAPI.py
ython_api/process/TestProcessAPI.py
ython_api/symbol-context/TestSymbolContext.py
ython_api/target/TestTargetAPI.py
ython_api/thread/TestThreadAPI.py
ource-manager/TestSourceManager.py
|
b2203889ab9b743f04638cdd9e34aac2ab02e99d |
22-May-2011 |
Caroline Tice <ctice@apple.com> |
Change the command 'breakpoint command remove' to 'breakpoint command delete', to be more consistent with other commands. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131848 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
reakpoint_command/TestBreakpointCommand.py
|
b48239f854678796ca250da78bb4385ee61c0290 |
19-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add radar info. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131681 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/TestCallStdStringFunction.py
|
106f9bd42d0c6d00fd0c4064350c1aa5e72c43a8 |
19-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestCallStdStringFunction.py which calls std::string member functions while stopped on a breakpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131680 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/call-function/Makefile
xpression_command/call-function/TestCallStdStringFunction.py
xpression_command/call-function/main.cpp
|
b5fe80c62f0de8b855e0ee4bf25d3325f52e1984 |
18-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Let's also stick the svn info for the base directory into a file under the session directory, which also includes the command line used to invoke the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131501 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
2077f0d1ea42e1941387b101e61db01a73d5ee08 |
18-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add truth value testing to those lldb Python objects with the IsValid() 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. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131494 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/frame/TestFrameUtils.py
ython_api/lldbutil/iter/TestLLDBIterator.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/lldbutil/process/TestPrintStackTraces.py
|
3deea8f1b993dea9be4a039d953bd664bba2c0fa |
17-May-2011 |
Jim Ingham <jingham@apple.com> |
Fix a bug in the test case file (doesn't affect the tests.) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131445 91177308-0d34-0410-b5e6-96231b3b80d8
pp/dynamic-value/pass-to-base.cpp
|
36bff9acfc1ccc7c3689648619f2503cfcf87026 |
17-May-2011 |
Jim Ingham <jingham@apple.com> |
Clang makes two breakpoints for some fairly simple lines, not sure why but no need to check for this in the testsuite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131443 91177308-0d34-0410-b5e6-96231b3b80d8
pp/dynamic-value/TestDynamicValue.py
pp/dynamic-value/pass-to-base.cpp
|
8e62654decb0caf60a782db60a81158e50437502 |
17-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix bad test case; not all compilers are guaranteed to step into code inlined from the STL header file. rdar://problem/8983790 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131433 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
a79a21c64268ccadb34cbb1084fb70849034afdd |
16-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add implementation of built-in function len() for those lldb containers with 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()) ... git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131418 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/iter/TestRegistersIterator.py
|
f8b6525111196f99d4f45fe7edef03318957d586 |
16-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Renamed the test cases more properly to test_lldb_iter_module/breakpoint/farme. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131412 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/iter/TestLLDBIterator.py
|
87575f93f1c72f4f39a5b25b19797824eb407f81 |
14-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Clean up the test a little bit; and use lldbutil.get_GPRs(frame) to retrieve the general purpose register set. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131324 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/TestFrames.py
|
30e4850a3f4687cab5b2465125072d5658786efa |
13-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Test commit from a git-svn-cloned lldb/trunk repository. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131319 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
bbc18b63544b1d81b5ea9d58c7e0672b07dd369b |
13-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
When trying to print out the function name corresponding to the frame, if the function obj from the frame is not valid, try look for the symbol in the symbol table. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131273 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
fb3058efeaacc2ced967e46842dfc4875b3daf14 |
13-May-2011 |
Sean Callanan <scallanan@apple.com> |
Introduced support for UnknownAnyTy, the Clang type representing variables whose type must be inferred from the way they are used. Functions without debug information now return UnknownAnyTy and must be cast. Variables with no debug information are not yet using UnknownAnyTy; instead they are assumed to be void*. Support for variables of unknown type is coming (and, in fact, some relevant support functions are included in this commit) but will take a bit of extra effort. The testsuite has also been updated to reflect the new requirement that the result of printf be cast, i.e. expr (int) printf("Hello world!") git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131263 91177308-0d34-0410-b5e6-96231b3b80d8
lias_tests/TestAliases.py
xpression_command/test/TestExprs.py
|
b656f4e3f418e5e86d8ac40b6030c45ea0faee44 |
12-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Cleaned up the expected substring for output from the stop-hook mechanism. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131253 91177308-0d34-0410-b5e6-96231b3b80d8
top-hook/TestStopHookMechanism.py
|
abb3b2d796da9e081cd545b710d23c514489f895 |
12-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add two utility functions: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131213 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/lldbutil/Makefile
ython_api/lldbutil/TestLLDBIterator.py
ython_api/lldbutil/TestPrintStackTraces.py
ython_api/lldbutil/TestRegistersIterator.py
ython_api/lldbutil/frame/Makefile
ython_api/lldbutil/frame/TestFrameUtils.py
ython_api/lldbutil/frame/main.c
ython_api/lldbutil/iter/Makefile
ython_api/lldbutil/iter/TestLLDBIterator.py
ython_api/lldbutil/iter/TestRegistersIterator.py
ython_api/lldbutil/iter/main.cpp
ython_api/lldbutil/main.cpp
ython_api/lldbutil/process/Makefile
ython_api/lldbutil/process/TestPrintStackTraces.py
ython_api/lldbutil/process/main.cpp
|
fd1175c5d3152beb6fdee4b3b2ba3461b1ae1e0c |
11-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add more docstrings for get_GPRs(frame), getFPRs(frame), and get_ESRs(frame). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131168 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
c77306044339c1b375c112ae5fd2911e2b9e33bb |
11-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
More string matching criterion. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131165 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
|
9400432fca9e7404efc4de94c4022a13394018e0 |
10-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestObjCTypeQueryFromOtherCompileUnit.py to test that when stopped in the 'main.c' compile unit, which has an external reference to symbols defined in foo.m, the type query: in this case, 'expression (NSArray*)array_token' continues to work. This test is to accompany http://llvm.org/viewvc/llvm-project?rev=131145&view=rev. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131154 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/two-files/Makefile
xpression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
xpression_command/two-files/foo.m
xpression_command/two-files/main.c
oundation/Makefile
|
728255bc323e93a36644a4cdf225192c34c8472c |
10-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a utility function get_registers(frame, kind) to get the registers of a 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. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131144 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/lldbutil/TestRegistersIterator.py
|
3d50a545b840956a1f1faf7d973e33a651156041 |
10-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestExprs2.py for recent check-ins related to the 'expression' subsystem. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131111 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs2.py
|
2ba5ef672f714dbfbf60483878641b2a0f5c6129 |
09-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case test_process_info_with_no_arg(self) to 'class PlatformCommandTestCase' for http://llvm.org/viewvc/llvm-project?rev=131089&view=rev. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131100 91177308-0d34-0410-b5e6-96231b3b80d8
latform/TestPlatformCommand.py
|
b299877fa8e5e94f9f86da47583bc2d3b85a41f5 |
08-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131072 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
185e2c103c2af449262046495b3f8d1640794543 |
08-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test scenario to verify 'eax' register is available when launching the i386 slice of a universal binary and 'rax' register is available when launching the x86_64 slice. rdar://problem/9403437 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131069 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
acosx/universal/TestUniversal.py
|
9157f5dcfcf796e53e51b36d6beee68b060d1b07 |
07-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the test case related to "target modules search-paths" as it suffers from code rotting. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131038 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
ac91027caa22212ac35de969fa53348b70e9bb28 |
07-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an API test script file for SBCommandInterpreter. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131035 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ython_api/interpreter/Makefile
ython_api/interpreter/TestCommandInterpreterAPI.py
ython_api/interpreter/main.c
|
04427e19a34679967694e02cc1f44731faf8a909 |
07-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong test method name due to cut-and-paste. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131033 91177308-0d34-0410-b5e6-96231b3b80d8
mbedded_interpreter/TestConvenienceVariables.py
|
ab2f066e43817ca0f4b225a24c1a3e7b8166e2d4 |
06-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
For a test with unexpected success status, we also dump its session info into a unique file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131011 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
d4a094e16a0658f7936d8ddd4ae9e18569855479 |
06-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130965 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
dedf087c2d184fa7cbf380650974ea294926f1bc |
06-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add comment for self.child_in_script_interpreter. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130963 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
058a24d100f6d1da87c06af25ef9102018859a30 |
06-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use standard lldb enum -- lldb.eStopReasonBreakpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130960 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
311b1d69ef5cde8f70a1528f8c2d3b8e28c3d090 |
05-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Change the process iteration pattern to a more concise: for thread in process: print >> output, print_stacktrace(thread, string_buffer=True) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130940 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
3a4622ecd670637002852690a54bcaa9339909d8 |
05-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test script for verifying that the convenience variables: o lldb.debugger o lldb.target o lldb.process o lldb.thread o lldb.frame "just works" when we stop at a breakpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130904 91177308-0d34-0410-b5e6-96231b3b80d8
mbedded_interpreter/Makefile
mbedded_interpreter/TestConvenienceVariables.py
mbedded_interpreter/main.c
ldbtest.py
|
930fbb86b9755179ea04ed22e8825e051db0b8b9 |
04-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use '-f c' to print each element of a string as a char. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130865 91177308-0d34-0410-b5e6-96231b3b80d8
lias_tests/TestAliases.py
|
1acbdc05657d3915e94abc937e4cd7574c5ea120 |
04-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Forgot to check in this change with r130811. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130848 91177308-0d34-0410-b5e6-96231b3b80d8
top-hook/main.cpp
|
10de7d1db3ec782ea2ccda1f39c0a40b9c301594 |
04-May-2011 |
Jim Ingham <jingham@apple.com> |
Change "frame var" over to using OptionGroups (and thus the OptionGroupVariableObjectDisplay). Change the boolean "use_dynamic" over to a tri-state, no-dynamic, dynamic-w/o running target, and dynamic with running target. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130832 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_command/TestBreakpointCommand.py
reakpoint_conditions/TestBreakpointConditions.py
lass_types/TestClassTypes.py
pp/dynamic-value/TestDynamicValue.py
orward/TestForwardDeclaration.py
oundation/TestObjCMethods.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
bjc-dynamic-value/TestObjCDynamicValue.py
et_values/TestSetValues.py
igned_types/TestSignedTypes.py
ypes/AbstractBase.py
nique-types/TestUniqueTypes.py
nsigned_types/TestUnsignedTypes.py
|
cf6076809b8956d5cd94a1f4589baeb435cb818e |
04-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make the negative test more robust in light of more than one lldb prompts being emitted in one command invocation. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130811 91177308-0d34-0410-b5e6-96231b3b80d8
top-hook/TestStopHookMechanism.py
|
2ec2922651f0ca3fc52c9c5d680a05d339004e8a |
04-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add comments about 'image' being an alias for 'target modules'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130806 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
7e0dbcf32a381c73d95cd69766462027a8dae0cd |
04-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Update the golden output strings to match against after the recent change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130804 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
13f96c3f674d5c46df1d4016ec4616b129b637cc |
04-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove debug statement. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130802 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
c4ca1b33f4778cb66926dcdcfcd804e2ae622c12 |
04-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use a more gentle way of shutting down the child process spawned during the test execution using pexpect. Change some child.expect() to child.expect_exact() as they try to match the string, not a regular expression. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130797 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_regex/TestCommandRegex.py
onnect_remote/TestConnectRemote.py
ldbtest.py
|
2edbaa2a3b886f9b2829ce31d8ec15d82856d320 |
03-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify test_image_search_paths(self) to check for the pattern "%s-[^-]*-[^-]*" % self.getArchitecture() from the output of running 'image list -t 3' command which lists the triples of the image list. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130777 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
ec80b9d9126cb224eeabb8a31d45df5d5993af72 |
03-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rename TestStopHook.py to the more appropriate TestStopHookMechanism.py, and update the docstrings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130773 91177308-0d34-0410-b5e6-96231b3b80d8
top-hook/TestStopHook.py
top-hook/TestStopHookMechanism.py
|
c8ef3d92022d610baa9dd934c445b525c632f735 |
03-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modified to exercise the 'target stop-hook add/disable/enable/delete/list' commands. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130771 91177308-0d34-0410-b5e6-96231b3b80d8
top-hook/TestStopHookCmd.py
|
22ae967dcb62bb685454d42ff854bc48fc359897 |
03-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
A more robust pexpect-based test case for testing against the firing of stop hooks. Change one test sequence to detect the '** End Stop Hooks **' marker emitted by the stop hooks mechanism and check for whether the 'expr ptr' stop-hook has been run. Also, change the TestBase.tearDown() to wait for 2 seocnds before forcefully kill the pexpect-spawned child lldb process. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130767 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
top-hook/TestStopHook.py
|
dc1d43acb5730bd9b555b63aa589b0eeceb14e52 |
03-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case to exercise the 'target stop-hook add' command without relying on pexpect to spawn an lldb child command. The test is not "correct" in that the '** Stop Hooks **' message emitted by the Target implementation is invoked asynchronously and is using a separate: CommandReturnObject result; command return object that what the driver passes to the normal command interpreter loop. But it can help test our output serialization work. I need to modify the test case later to maybe only test that "-o 'expr ptr'" option does indeed work. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130742 91177308-0d34-0410-b5e6-96231b3b80d8
top-hook/TestStopHookCmd.py
|
7616cb926ee91fedfe5ed72dde5e6fc6285ce425 |
02-May-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add implementation of '==' and '!=' for SBFileSpec and SBModule. Modify a test case to take advantage of 'ths_module == that_module'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130709 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/TestLLDBIterator.py
|
ef80aabe53b7fdf61309ba6d3d6865c94c681345 |
02-May-2011 |
Jim Ingham <jingham@apple.com> |
Adding support for fetching the Dynamic Value for ObjC Objects. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130701 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-dynamic-value/Makefile
bjc-dynamic-value/TestObjCDynamicValue.py
bjc-dynamic-value/dynamic-value.m
|
3a3d65976a5b0dd701a9a375823eb932a2e1472f |
29-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add the Python rich comparison methods for SBBreakpoint, where GetID() returns the breakpoint ID and provides the semantics needed for '==' and '!='. And modify LLDBIteratorTestCase.lldb_iter_2() to use '==' between two SBBreakpoint's. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130531 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/TestLLDBIterator.py
|
d643c08c3d80ab16308f395aaa5aa7664d506cd3 |
29-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify the test suite and lldbutil.py to utilize the Python iteration pattern now that the lldb iteration protocol has been added to lldb.py module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130452 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/TestStaticVariables.py
lass_types/TestClassTypesDisassembly.py
oundation/TestSymbolTable.py
ldbutil.py
ython_api/frame/TestFrames.py
ython_api/lldbutil/TestLLDBIterator.py
|
1409780f7984561a0fe3fe217f0b3910113fda75 |
28-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move the iteration protocol of lldb objects to the auto-generated lldb Python module. This is so that the objects which support the iteration protocol are immediately obvious from looking at the lldb.py file. SBTarget supports two types of iterations: module and breakpoint. For an SBTarget instance, you will need to issue either: for m in target.module_iter() or for b in target.breakpoint_iter() For other single iteration protocol objects, just use, for example: for thread in process: ID = thread.GetThreadID() for frame in thread: frame.Disassemble() .... git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130442 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/TestLLDBIterator.py
|
82293902b592e6c83a7e6022596d73d7bbd065a3 |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a utility function smart_iter() which has knowledge of the getsize and the getelem method names of all the lldb container objects and returns an iterator object when passed an eligible lldb container object. Example: from lldb_util import smart_iter for thread in smart_iter(process): ID = thread.GetThreadID() if thread.GetStopReason() == lldb.eStopReasonBreakpoint: stopped_due_to_breakpoint = True for frame in smart_iter(thread): self.assertTrue(frame.GetThread().GetThreadID() == ID) ... Add a test case for lldb.smart_iter(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130332 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/lldbutil/TestLLDBIterator.py
|
7f591d92c5b889c60e226232a321e08fe4e4b023 |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use new string formatting operations in assert messages to simplify things. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130325 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/TestLLDBIterator.py
|
67f51bb6404054a2361384ffcff6de38ea34ea5f |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add another test case for lldb_iter(), this time using SBTarget to get at its SBBreakpoint containees. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130323 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/TestLLDBIterator.py
ython_api/lldbutil/main.cpp
|
47342d57ac5ac0bb2da765374229f94d98cb600a |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Change the rest of lldbutil.py's function names to all lower case formats to be consistent. And modify the test cases accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130314 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
xpression_command/test/TestExprs.py
oundation/TestObjCMethods.py
ello_world/TestHelloWorld.py
nferior-crashing/TestInferiorCrashing.py
ldbtest.py
ldbutil.py
bjc-stepping/TestObjCStepping.py
ython_api/lldbutil/TestPrintStackTraces.py
ython_api/process/TestProcessAPI.py
|
f25364ba8dbbd7924e068146599f56e5bd797c4e |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for lldbutil.lldb_iter() which returns an iterator object for lldb objects which can contain other lldb objects. Examples are: SBTarget contains SBModule, SBModule contains SBSymbols, SBProcess contains SBThread, SBThread contains SBFrame, etc. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130258 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/TestLLDBIterator.py
|
f2c7b28ace015f755b1585d9e0633be0aa27819c |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130254 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
efdc26a60c21852787e7bde326163c824d9e0491 |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130253 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
8a3b54eb714602c777d57ccc3626440c41dee46a |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Update comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130252 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
979cb5da1f9aee5d23d8facfb7d5a781406cca28 |
27-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Docstring changees. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130251 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbutil.py
|
eee9b8608c5c7d53233f0410e3c7335d54dc032c |
26-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the parsing of ARCH and Compiler specs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130240 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
318aaa0b4b593ec3e69c5962bddab10c47066c4f |
26-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
For lldbutil.py, Change a bunch of function names to all lower case formats to be consistent. And modify the test cases accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130174 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
lass_types/TestClassTypes.py
onditional_break/TestConditionalBreak.py
onditional_break/conditional_break.py
pp/dynamic-value/TestDynamicValue.py
xpression_command/test/TestExprs.py
nferior-crashing/TestInferiorCrashing.py
ldbutil.py
ython_api/lldbutil/TestPrintStackTraces.py
|
e428d33b3f09b789f0b5f70f973ebea5785d7fee |
26-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Move two functions around. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130158 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
bdc36bd05d156143d9f2e568a1aa1b5253bbe1f1 |
25-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make SBBreakpointLocation::GetDescription() API to be consistent with SBTarget, i.e., with 'SBStream &description' first, followed by 'DescriptionLevel level'. Modify lldbutil.py so that get_description() for a target or breakpoint location can just take the lldb object itself without specifying an option to mean option lldb.eDescriptionLevelBrief. Modify TestTargetAPI.py to exercise this logic path. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130147 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/target/TestTargetAPI.py
|
1220eac343bb80506ecbe7720af911d47dd8a2e8 |
25-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix test failure for '-A i386'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130134 91177308-0d34-0410-b5e6-96231b3b80d8
pp/dynamic-value/TestDynamicValue.py
|
0b44a0ebc46c648f4915198c490c65d75122ff97 |
25-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Update startstr argument of self.expect() to "a.out`sum(int, int)" to respond to recent change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130133 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
eda90656e43ad30454c540aa74d9d6b84de89841 |
23-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Convert the rest of the test suite to use the lldbutil.get_description() utility function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130041 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
ython_api/function_symbol/TestDisasmAPI.py
ython_api/symbol-context/TestSymbolContext.py
ython_api/target/TestTargetAPI.py
|
bc1a93e702cae42f87a8cbc58035877cb19e0840 |
23-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple utility function get_description(lldb_obj, option=None) to lldbutil.py and use it from TestTargetAPI.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130038 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/target/TestTargetAPI.py
|
47da810225d8674eb9158bcf5f1f5b847cbaeedf |
23-Apr-2011 |
Jim Ingham <jingham@apple.com> |
Fix up how the ValueObjects manage their life cycle so that you can hand out a shared pointer to a ValueObject or any of its dependent ValueObjects, and the whole cluster will stay around as long as that shared pointer stays around. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130035 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/TestObjCStepping.py
|
e78d2b60438281fdff8cf2ca4f13f6641c46b78e |
23-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for the SBTarget.GetDescription() API which takes an extra lldb::DescriptionLevel enum. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130029 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
f854c5101a36b83205d7815f64b771b62a57881c |
22-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
We are only interested in logging the child's output to sys.stdout. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130017 91177308-0d34-0410-b5e6-96231b3b80d8
onnect_remote/TestConnectRemote.py
|
ebf158722a4eaf91449eaebad8232a210cb0beb6 |
22-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130016 91177308-0d34-0410-b5e6-96231b3b80d8
onnect_remote/TestConnectRemote.py
|
00b81124e23ed4eb411b0d10ca3468f25a6a6fab |
22-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make test_connect_remote() more robust by waiting on the server ready message before issuing the 'process connect ...' command. test_comand_regex(): assign the spawned child to self.child so it gets automatically shutdown during TestBase.tearDown(self). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130015 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_regex/TestCommandRegex.py
onnect_remote/TestConnectRemote.py
|
d938c00c40de275d6abd9b67753811f9107a21a8 |
22-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130011 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypesDisassembly.py
|
f0a0a71fe9a89e34464535ca46d3943c60fe732c |
22-Apr-2011 |
Caroline Tice <ctice@apple.com> |
Remove old emulation test data files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129993 91177308-0d34-0410-b5e6-96231b3b80d8
rm_emulation/test-files/test-add-1-arm.dat
rm_emulation/test-files/test-add-1-thumb.dat
rm_emulation/test-files/test-add-10-thumb.dat
rm_emulation/test-files/test-add-11-thumb.dat
rm_emulation/test-files/test-add-12-thumb.dat
rm_emulation/test-files/test-add-2-arm.dat
rm_emulation/test-files/test-add-2-thumb.dat
rm_emulation/test-files/test-add-3-arm.dat
rm_emulation/test-files/test-add-3-thumb.dat
rm_emulation/test-files/test-add-4-arm.dat
rm_emulation/test-files/test-add-4-thumb.dat
rm_emulation/test-files/test-add-5-arm.dat
rm_emulation/test-files/test-add-5-thumb.dat
rm_emulation/test-files/test-add-6-arm.dat
rm_emulation/test-files/test-add-6-thumb.dat
rm_emulation/test-files/test-add-7-arm.dat
rm_emulation/test-files/test-add-7-thumb.dat
rm_emulation/test-files/test-add-8-arm.dat
rm_emulation/test-files/test-add-8-thumb.dat
rm_emulation/test-files/test-add-9-thumb.dat
rm_emulation/test-files/test-bic-1-arm.dat
rm_emulation/test-files/test-bic-1-thumb.dat
rm_emulation/test-files/test-ldmia-1-arm.dat
rm_emulation/test-files/test-ldmia-1-thumb.dat
rm_emulation/test-files/test-ldmia-2-arm.dat
rm_emulation/test-files/test-ldmia-2-thumb.dat
rm_emulation/test-files/test-ldmia-3-arm.dat
rm_emulation/test-files/test-ldmia-3-thumb.dat
rm_emulation/test-files/test-ldr-1-arm.dat
rm_emulation/test-files/test-ldr-1-thumb.dat
rm_emulation/test-files/test-ldr-10-thumb.dat
rm_emulation/test-files/test-ldr-11-thumb.dat
rm_emulation/test-files/test-ldr-12-thumb.dat
rm_emulation/test-files/test-ldr-2-arm.dat
rm_emulation/test-files/test-ldr-2-thumb.dat
rm_emulation/test-files/test-ldr-3-arm.dat
rm_emulation/test-files/test-ldr-3-thumb.dat
rm_emulation/test-files/test-ldr-4-arm.dat
rm_emulation/test-files/test-ldr-4-thumb.dat
rm_emulation/test-files/test-ldr-5-arm.dat
rm_emulation/test-files/test-ldr-5-thumb.dat
rm_emulation/test-files/test-ldr-6-arm.dat
rm_emulation/test-files/test-ldr-6-thumb.dat
rm_emulation/test-files/test-ldr-7-arm.dat
rm_emulation/test-files/test-ldr-7-thumb.dat
rm_emulation/test-files/test-ldr-8-arm.dat
rm_emulation/test-files/test-ldr-8-thumb.dat
rm_emulation/test-files/test-ldr-9-thumb.dat
rm_emulation/test-files/test-ldrd-1-arm.dat
rm_emulation/test-files/test-ldrd-1-thumb.dat
rm_emulation/test-files/test-ldrd-2-thumb.dat
rm_emulation/test-files/test-ldrh-1-thumb.dat
rm_emulation/test-files/test-ldrsh-1-arm.dat
rm_emulation/test-files/test-ldrsh-2-arm.dat
rm_emulation/test-files/test-mov-1-arm.dat
rm_emulation/test-files/test-mov-1-thumb.dat
rm_emulation/test-files/test-mov-10-thumb.dat
rm_emulation/test-files/test-mov-11-thumb.dat
rm_emulation/test-files/test-mov-12-thumb.dat
rm_emulation/test-files/test-mov-13-thumb.dat
rm_emulation/test-files/test-mov-14-thumb.dat
rm_emulation/test-files/test-mov-15-thumb.dat
rm_emulation/test-files/test-mov-16-thumb.dat
rm_emulation/test-files/test-mov-17-thumb.dat
rm_emulation/test-files/test-mov-18-thumb.dat
rm_emulation/test-files/test-mov-19-thumb.dat
rm_emulation/test-files/test-mov-2-arm.dat
rm_emulation/test-files/test-mov-2-thumb.dat
rm_emulation/test-files/test-mov-20-thumb.dat
rm_emulation/test-files/test-mov-21-thumb.dat
rm_emulation/test-files/test-mov-22-thumb.dat
rm_emulation/test-files/test-mov-23-thumb.dat
rm_emulation/test-files/test-mov-24-thumb.dat
rm_emulation/test-files/test-mov-25-thumb.dat
rm_emulation/test-files/test-mov-26-thumb.dat
rm_emulation/test-files/test-mov-27-thumb.dat
rm_emulation/test-files/test-mov-28-thumb.dat
rm_emulation/test-files/test-mov-29-thumb.dat
rm_emulation/test-files/test-mov-3-arm.dat
rm_emulation/test-files/test-mov-3-thumb.dat
rm_emulation/test-files/test-mov-30-thumb.dat
rm_emulation/test-files/test-mov-31-thumb.dat
rm_emulation/test-files/test-mov-4-arm.dat
rm_emulation/test-files/test-mov-4-thumb.dat
rm_emulation/test-files/test-mov-5-arm.dat
rm_emulation/test-files/test-mov-5-thumb.dat
rm_emulation/test-files/test-mov-6-arm.dat
rm_emulation/test-files/test-mov-6-thumb.dat
rm_emulation/test-files/test-mov-7-thumb.dat
rm_emulation/test-files/test-mov-8-thumb.dat
rm_emulation/test-files/test-mov-9-thumb.dat
rm_emulation/test-files/test-moveq-1-arm.dat
rm_emulation/test-files/test-movs-1-arm.dat
rm_emulation/test-files/test-mvn-1-arm.dat
rm_emulation/test-files/test-mvn-1-thumb.dat
rm_emulation/test-files/test-mvn-2-arm.dat
rm_emulation/test-files/test-mvn-2-thumb.dat
rm_emulation/test-files/test-mvn-3-arm.dat
rm_emulation/test-files/test-mvn-3-thumb.dat
rm_emulation/test-files/test-mvn-4-arm.dat
rm_emulation/test-files/test-mvn-4-thumb.dat
rm_emulation/test-files/test-pop-1-arm.dat
rm_emulation/test-files/test-pop-1-thumb.dat
rm_emulation/test-files/test-pop-2-arm.dat
rm_emulation/test-files/test-pop-2-thumb.dat
rm_emulation/test-files/test-pop-3-thumb.dat
rm_emulation/test-files/test-push-1-arm.dat
rm_emulation/test-files/test-push-1-thumb.dat
rm_emulation/test-files/test-push-2-arm.dat
rm_emulation/test-files/test-push-2-thumb.dat
rm_emulation/test-files/test-push-3-arm.dat
rm_emulation/test-files/test-push-3-thumb.dat
rm_emulation/test-files/test-str-1-arm.dat
rm_emulation/test-files/test-str-1-thumb.dat
rm_emulation/test-files/test-str-2-arm.dat
rm_emulation/test-files/test-str-2-thumb.dat
rm_emulation/test-files/test-str-3-arm.dat
rm_emulation/test-files/test-str-3-thumb.dat
rm_emulation/test-files/test-str-4-arm.dat
rm_emulation/test-files/test-str-4-thumb.dat
rm_emulation/test-files/test-str-5-arm.dat
rm_emulation/test-files/test-strb-1-arm.dat
rm_emulation/test-files/test-strb-2-arm.dat
rm_emulation/test-files/test-strbt-1-arm.dat
rm_emulation/test-files/test-strd-1-thumb.dat
rm_emulation/test-files/test-strt-1-arm.dat
rm_emulation/test-files/test-sub-1-arm.dat
rm_emulation/test-files/test-sub-1-thumb.dat
rm_emulation/test-files/test-sub-10-arm.dat
rm_emulation/test-files/test-sub-2-arm.dat
rm_emulation/test-files/test-sub-2-thumb.dat
rm_emulation/test-files/test-sub-3-arm.dat
rm_emulation/test-files/test-sub-3-thumb.dat
rm_emulation/test-files/test-sub-4-arm.dat
rm_emulation/test-files/test-sub-4-thumb.dat
rm_emulation/test-files/test-sub-5-arm.dat
rm_emulation/test-files/test-sub-5-thumb.dat
rm_emulation/test-files/test-sub-6-arm.dat
rm_emulation/test-files/test-sub-6-thumb.dat
rm_emulation/test-files/test-sub-8-arm.dat
rm_emulation/test-files/test-sub-9-arm.dat
rm_emulation/test-files/test-subs-1-arm.dat
rm_emulation/test-files/test-subs-1-thumb.dat
rm_emulation/test-files/test-subs-10-thumb.dat
rm_emulation/test-files/test-subs-2-thumb.dat
rm_emulation/test-files/test-subs-3-thumb.dat
rm_emulation/test-files/test-subs-4-thumb.dat
rm_emulation/test-files/test-subs-5-thumb.dat
rm_emulation/test-files/test-subs-6-thumb.dat
rm_emulation/test-files/test-subs-8-thumb.dat
rm_emulation/test-files/test-subs-9-thumb.dat
rm_emulation/test-files/test-vpop-1-thumb.dat
rm_emulation/test-files/test-vpop-2-thumb.dat
rm_emulation/test-files/test-vpop-3-thumb.dat
rm_emulation/test-files/test-vpush-1-thumb.dat
rm_emulation/test-files/test-vpush-2-thumb.dat
rm_emulation/test-files/test-vpush-3-thumb.dat
|
2c11caa9ffc78d3245fe7d8c46e8b147ac3f2797 |
22-Apr-2011 |
Caroline Tice <ctice@apple.com> |
Modify to use the new test files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129992 91177308-0d34-0410-b5e6-96231b3b80d8
rm_emulation/TestEmulations.py
|
f3a8f3923accb4767aa3e4c7666d9a33744b3921 |
22-Apr-2011 |
Caroline Tice <ctice@apple.com> |
Reformat the emulation test data files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129991 91177308-0d34-0410-b5e6-96231b3b80d8
rm_emulation/new-test-files/test-add-1-arm.dat
rm_emulation/new-test-files/test-add-1-thumb.dat
rm_emulation/new-test-files/test-add-10-thumb.dat
rm_emulation/new-test-files/test-add-11-thumb.dat
rm_emulation/new-test-files/test-add-12-thumb.dat
rm_emulation/new-test-files/test-add-2-arm.dat
rm_emulation/new-test-files/test-add-2-thumb.dat
rm_emulation/new-test-files/test-add-3-arm.dat
rm_emulation/new-test-files/test-add-3-thumb.dat
rm_emulation/new-test-files/test-add-4-arm.dat
rm_emulation/new-test-files/test-add-4-thumb.dat
rm_emulation/new-test-files/test-add-5-arm.dat
rm_emulation/new-test-files/test-add-5-thumb.dat
rm_emulation/new-test-files/test-add-6-arm.dat
rm_emulation/new-test-files/test-add-6-thumb.dat
rm_emulation/new-test-files/test-add-7-arm.dat
rm_emulation/new-test-files/test-add-7-thumb.dat
rm_emulation/new-test-files/test-add-8-arm.dat
rm_emulation/new-test-files/test-add-8-thumb.dat
rm_emulation/new-test-files/test-add-9-thumb.dat
rm_emulation/new-test-files/test-bic-1-arm.dat
rm_emulation/new-test-files/test-bic-1-thumb.dat
rm_emulation/new-test-files/test-ldmia-1-arm.dat
rm_emulation/new-test-files/test-ldmia-1-thumb.dat
rm_emulation/new-test-files/test-ldmia-2-arm.dat
rm_emulation/new-test-files/test-ldmia-2-thumb.dat
rm_emulation/new-test-files/test-ldmia-3-arm.dat
rm_emulation/new-test-files/test-ldmia-3-thumb.dat
rm_emulation/new-test-files/test-ldr-1-arm.dat
rm_emulation/new-test-files/test-ldr-1-thumb.dat
rm_emulation/new-test-files/test-ldr-10-thumb.dat
rm_emulation/new-test-files/test-ldr-11-thumb.dat
rm_emulation/new-test-files/test-ldr-12-thumb.dat
rm_emulation/new-test-files/test-ldr-2-arm.dat
rm_emulation/new-test-files/test-ldr-2-thumb.dat
rm_emulation/new-test-files/test-ldr-3-arm.dat
rm_emulation/new-test-files/test-ldr-3-thumb.dat
rm_emulation/new-test-files/test-ldr-4-arm.dat
rm_emulation/new-test-files/test-ldr-4-thumb.dat
rm_emulation/new-test-files/test-ldr-5-arm.dat
rm_emulation/new-test-files/test-ldr-5-thumb.dat
rm_emulation/new-test-files/test-ldr-6-arm.dat
rm_emulation/new-test-files/test-ldr-6-thumb.dat
rm_emulation/new-test-files/test-ldr-7-arm.dat
rm_emulation/new-test-files/test-ldr-7-thumb.dat
rm_emulation/new-test-files/test-ldr-8-arm.dat
rm_emulation/new-test-files/test-ldr-8-thumb.dat
rm_emulation/new-test-files/test-ldr-9-thumb.dat
rm_emulation/new-test-files/test-ldrd-1-arm.dat
rm_emulation/new-test-files/test-ldrd-1-thumb.dat
rm_emulation/new-test-files/test-ldrd-2-thumb.dat
rm_emulation/new-test-files/test-ldrh-1-thumb.dat
rm_emulation/new-test-files/test-ldrsh-1-arm.dat
rm_emulation/new-test-files/test-ldrsh-2-arm.dat
rm_emulation/new-test-files/test-mov-1-arm.dat
rm_emulation/new-test-files/test-mov-1-thumb.dat
rm_emulation/new-test-files/test-mov-10-thumb.dat
rm_emulation/new-test-files/test-mov-11-thumb.dat
rm_emulation/new-test-files/test-mov-12-thumb.dat
rm_emulation/new-test-files/test-mov-13-thumb.dat
rm_emulation/new-test-files/test-mov-14-thumb.dat
rm_emulation/new-test-files/test-mov-15-thumb.dat
rm_emulation/new-test-files/test-mov-16-thumb.dat
rm_emulation/new-test-files/test-mov-17-thumb.dat
rm_emulation/new-test-files/test-mov-18-thumb.dat
rm_emulation/new-test-files/test-mov-19-thumb.dat
rm_emulation/new-test-files/test-mov-2-arm.dat
rm_emulation/new-test-files/test-mov-2-thumb.dat
rm_emulation/new-test-files/test-mov-20-thumb.dat
rm_emulation/new-test-files/test-mov-21-thumb.dat
rm_emulation/new-test-files/test-mov-22-thumb.dat
rm_emulation/new-test-files/test-mov-23-thumb.dat
rm_emulation/new-test-files/test-mov-24-thumb.dat
rm_emulation/new-test-files/test-mov-25-thumb.dat
rm_emulation/new-test-files/test-mov-26-thumb.dat
rm_emulation/new-test-files/test-mov-27-thumb.dat
rm_emulation/new-test-files/test-mov-28-thumb.dat
rm_emulation/new-test-files/test-mov-29-thumb.dat
rm_emulation/new-test-files/test-mov-3-arm.dat
rm_emulation/new-test-files/test-mov-3-thumb.dat
rm_emulation/new-test-files/test-mov-30-thumb.dat
rm_emulation/new-test-files/test-mov-31-thumb.dat
rm_emulation/new-test-files/test-mov-4-arm.dat
rm_emulation/new-test-files/test-mov-4-thumb.dat
rm_emulation/new-test-files/test-mov-5-arm.dat
rm_emulation/new-test-files/test-mov-5-thumb.dat
rm_emulation/new-test-files/test-mov-6-arm.dat
rm_emulation/new-test-files/test-mov-6-thumb.dat
rm_emulation/new-test-files/test-mov-7-thumb.dat
rm_emulation/new-test-files/test-mov-8-thumb.dat
rm_emulation/new-test-files/test-mov-9-thumb.dat
rm_emulation/new-test-files/test-moveq-1-arm.dat
rm_emulation/new-test-files/test-movs-1-arm.dat
rm_emulation/new-test-files/test-mvn-1-arm.dat
rm_emulation/new-test-files/test-mvn-1-thumb.dat
rm_emulation/new-test-files/test-mvn-2-arm.dat
rm_emulation/new-test-files/test-mvn-2-thumb.dat
rm_emulation/new-test-files/test-mvn-3-arm.dat
rm_emulation/new-test-files/test-mvn-3-thumb.dat
rm_emulation/new-test-files/test-mvn-4-arm.dat
rm_emulation/new-test-files/test-mvn-4-thumb.dat
rm_emulation/new-test-files/test-pop-1-arm.dat
rm_emulation/new-test-files/test-pop-1-thumb.dat
rm_emulation/new-test-files/test-pop-2-arm.dat
rm_emulation/new-test-files/test-pop-2-thumb.dat
rm_emulation/new-test-files/test-pop-3-thumb.dat
rm_emulation/new-test-files/test-push-1-arm.dat
rm_emulation/new-test-files/test-push-1-thumb.dat
rm_emulation/new-test-files/test-push-2-arm.dat
rm_emulation/new-test-files/test-push-2-thumb.dat
rm_emulation/new-test-files/test-push-3-arm.dat
rm_emulation/new-test-files/test-push-3-thumb.dat
rm_emulation/new-test-files/test-str-1-arm.dat
rm_emulation/new-test-files/test-str-1-thumb.dat
rm_emulation/new-test-files/test-str-2-arm.dat
rm_emulation/new-test-files/test-str-2-thumb.dat
rm_emulation/new-test-files/test-str-3-arm.dat
rm_emulation/new-test-files/test-str-3-thumb.dat
rm_emulation/new-test-files/test-str-4-arm.dat
rm_emulation/new-test-files/test-str-4-thumb.dat
rm_emulation/new-test-files/test-str-5-arm.dat
rm_emulation/new-test-files/test-strb-1-arm.dat
rm_emulation/new-test-files/test-strb-2-arm.dat
rm_emulation/new-test-files/test-strbt-1-arm.dat
rm_emulation/new-test-files/test-strd-1-thumb.dat
rm_emulation/new-test-files/test-strt-1-arm.dat
rm_emulation/new-test-files/test-sub-1-arm.dat
rm_emulation/new-test-files/test-sub-1-thumb.dat
rm_emulation/new-test-files/test-sub-10-arm.dat
rm_emulation/new-test-files/test-sub-2-arm.dat
rm_emulation/new-test-files/test-sub-2-thumb.dat
rm_emulation/new-test-files/test-sub-3-arm.dat
rm_emulation/new-test-files/test-sub-3-thumb.dat
rm_emulation/new-test-files/test-sub-4-arm.dat
rm_emulation/new-test-files/test-sub-4-thumb.dat
rm_emulation/new-test-files/test-sub-5-arm.dat
rm_emulation/new-test-files/test-sub-5-thumb.dat
rm_emulation/new-test-files/test-sub-6-arm.dat
rm_emulation/new-test-files/test-sub-6-thumb.dat
rm_emulation/new-test-files/test-sub-8-arm.dat
rm_emulation/new-test-files/test-sub-9-arm.dat
rm_emulation/new-test-files/test-subs-1-arm.dat
rm_emulation/new-test-files/test-subs-1-thumb.dat
rm_emulation/new-test-files/test-subs-10-thumb.dat
rm_emulation/new-test-files/test-subs-2-thumb.dat
rm_emulation/new-test-files/test-subs-3-thumb.dat
rm_emulation/new-test-files/test-subs-4-thumb.dat
rm_emulation/new-test-files/test-subs-5-thumb.dat
rm_emulation/new-test-files/test-subs-6-thumb.dat
rm_emulation/new-test-files/test-subs-8-thumb.dat
rm_emulation/new-test-files/test-subs-9-thumb.dat
rm_emulation/new-test-files/test-vpop-1-thumb.dat
rm_emulation/new-test-files/test-vpop-2-thumb.dat
rm_emulation/new-test-files/test-vpop-3-thumb.dat
rm_emulation/new-test-files/test-vpush-1-thumb.dat
rm_emulation/new-test-files/test-vpush-2-thumb.dat
rm_emulation/new-test-files/test-vpush-3-thumb.dat
|
cafc3c64fffcc760edcbc426aeb72689b4f59c42 |
22-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make the test case more robust by installing a teardown hook to kill the inferior rather than calling "process kill" explicitly at the end of the test. The test might not even reach the end because it could have failed prematurely. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129963 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
2e92229a0bc814e701cf29c82ebaaae4d4a8d3b7 |
22-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Conditionalize the self.expect("dis -f", ...) test scenario to check on Intel disassembly only when the test is currently running against the relevant architecture. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129960 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
281aed3744d26477929ec0c0108b8ab3a910aec4 |
22-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a HideStdout() method to our TestBase class and call it from TestAbbreviations.py and TestAliases.py. Pass the keyword argument 'check=False' to: self.runCmd("script my.date()", check=False) since we want to restore sys.stdout no matter what the outcome of the runCmd is. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129949 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
lias_tests/TestAliases.py
ommand_source/TestCommandSource.py
ldbtest.py
|
26d132f874bcc1b8311b24cd4c14c17c27de9ff1 |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Hopefully fix the last fallout of 'commands' to 'command' change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129937 91177308-0d34-0410-b5e6-96231b3b80d8
ogging/TestLogging.py
|
a2486f28182f39648ea6f379fb13bbd579314ef8 |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129936 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
lass_types/TestClassTypesDisassembly.py
otest.py
|
09008d035b798ccae9fc5208567aaf4a01a28b23 |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API to decide whether to print debug output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129935 91177308-0d34-0410-b5e6-96231b3b80d8
rm_emulation/TestEmulations.py
|
9e4c3d7e23766be3d65b6637a2a52e455b5fed0a |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fixed some more 'commands' to 'command' change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129897 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
lias_tests/TestAliases.py
|
4ff200e999512b5ecb3bbb005cce412fc8f5ec69 |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Replace 'commands' with 'command', and update to the latest prompt. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129895 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_regex/TestCommandRegex.py
|
bd81ebe8bf97ecbbcea13aea1cb6a632815c226c |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129890 91177308-0d34-0410-b5e6-96231b3b80d8
lias_tests/TestAliases.py
|
ff812486d6a8895ebf80b33431b63ffa7d216468 |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129885 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypesDisassembly.py
|
44134aee13e8f561c77375f8ecb73a1221ec303c |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129881 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_regex/TestCommandRegex.py
|
da414c3a916b94d15d27618b7d74be8fd73ba9a6 |
21-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129880 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_regex/TestCommandRegex.py
top-hook/TestStopHook.py
|
36961a4c4f1c5addc57df186d34954efb87ec50c |
20-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple test scenario for 'command regex' invocation and subsequent use. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129879 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_regex/TestCommandRegex.py
|
a82853d72c88630037669e3dd183bff779fa41be |
20-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test scenario for 'source list -b' which shows the line table locations from the debug information which indicates valid places to set source level breakpoints. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129871 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
6b8d3b5e7f0507aca2ee1c0937d7ec80fa2a9c5b |
20-Apr-2011 |
Caroline Tice <ctice@apple.com> |
Add the infrastructure to test instruction emulations automatically. The idea is that the instruction to be emulated is actually executed on the hardware to be emulated, with the before and after state of the hardware being captured and 'freeze-dried' into .dat files. The emulation testing code then loads the before & after state from the .dat file, emulates the instruction using the before state, and compares the resulting state to the 'after' state. If they match, the emulation is accurate, otherwise there is a problem. The final format of the .dat files needs a bit more work; the plan is to generalize them a bit and to convert the plain values to key-value pairs. But I wanted to get this first pass committed. This commit adds arm instruction emulation testing to the testsuite, along with many initial .dat files. It also fixes a bug in the llvm disassembler, where 32-bit thumb opcodes were getting their upper & lower 16-bits reversed. There is a new Instruction sub-class, that is intended to be loaded from a .dat file rather than read from an executable. There is also a new EmulationStateARM class, for handling the before & after states. EmulationStates for other architetures can be added later when we emulate their instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129832 91177308-0d34-0410-b5e6-96231b3b80d8
rm_emulation/TestEmulations.py
rm_emulation/test-files/test-add-1-arm.dat
rm_emulation/test-files/test-add-1-thumb.dat
rm_emulation/test-files/test-add-10-thumb.dat
rm_emulation/test-files/test-add-11-thumb.dat
rm_emulation/test-files/test-add-12-thumb.dat
rm_emulation/test-files/test-add-2-arm.dat
rm_emulation/test-files/test-add-2-thumb.dat
rm_emulation/test-files/test-add-3-arm.dat
rm_emulation/test-files/test-add-3-thumb.dat
rm_emulation/test-files/test-add-4-arm.dat
rm_emulation/test-files/test-add-4-thumb.dat
rm_emulation/test-files/test-add-5-arm.dat
rm_emulation/test-files/test-add-5-thumb.dat
rm_emulation/test-files/test-add-6-arm.dat
rm_emulation/test-files/test-add-6-thumb.dat
rm_emulation/test-files/test-add-7-arm.dat
rm_emulation/test-files/test-add-7-thumb.dat
rm_emulation/test-files/test-add-8-arm.dat
rm_emulation/test-files/test-add-8-thumb.dat
rm_emulation/test-files/test-add-9-thumb.dat
rm_emulation/test-files/test-bic-1-arm.dat
rm_emulation/test-files/test-bic-1-thumb.dat
rm_emulation/test-files/test-ldmia-1-arm.dat
rm_emulation/test-files/test-ldmia-1-thumb.dat
rm_emulation/test-files/test-ldmia-2-arm.dat
rm_emulation/test-files/test-ldmia-2-thumb.dat
rm_emulation/test-files/test-ldmia-3-arm.dat
rm_emulation/test-files/test-ldmia-3-thumb.dat
rm_emulation/test-files/test-ldr-1-arm.dat
rm_emulation/test-files/test-ldr-1-thumb.dat
rm_emulation/test-files/test-ldr-10-thumb.dat
rm_emulation/test-files/test-ldr-11-thumb.dat
rm_emulation/test-files/test-ldr-12-thumb.dat
rm_emulation/test-files/test-ldr-2-arm.dat
rm_emulation/test-files/test-ldr-2-thumb.dat
rm_emulation/test-files/test-ldr-3-arm.dat
rm_emulation/test-files/test-ldr-3-thumb.dat
rm_emulation/test-files/test-ldr-4-arm.dat
rm_emulation/test-files/test-ldr-4-thumb.dat
rm_emulation/test-files/test-ldr-5-arm.dat
rm_emulation/test-files/test-ldr-5-thumb.dat
rm_emulation/test-files/test-ldr-6-arm.dat
rm_emulation/test-files/test-ldr-6-thumb.dat
rm_emulation/test-files/test-ldr-7-arm.dat
rm_emulation/test-files/test-ldr-7-thumb.dat
rm_emulation/test-files/test-ldr-8-arm.dat
rm_emulation/test-files/test-ldr-8-thumb.dat
rm_emulation/test-files/test-ldr-9-thumb.dat
rm_emulation/test-files/test-ldrd-1-arm.dat
rm_emulation/test-files/test-ldrd-1-thumb.dat
rm_emulation/test-files/test-ldrd-2-thumb.dat
rm_emulation/test-files/test-ldrh-1-thumb.dat
rm_emulation/test-files/test-ldrsh-1-arm.dat
rm_emulation/test-files/test-ldrsh-2-arm.dat
rm_emulation/test-files/test-mov-1-arm.dat
rm_emulation/test-files/test-mov-1-thumb.dat
rm_emulation/test-files/test-mov-10-thumb.dat
rm_emulation/test-files/test-mov-11-thumb.dat
rm_emulation/test-files/test-mov-12-thumb.dat
rm_emulation/test-files/test-mov-13-thumb.dat
rm_emulation/test-files/test-mov-14-thumb.dat
rm_emulation/test-files/test-mov-15-thumb.dat
rm_emulation/test-files/test-mov-16-thumb.dat
rm_emulation/test-files/test-mov-17-thumb.dat
rm_emulation/test-files/test-mov-18-thumb.dat
rm_emulation/test-files/test-mov-19-thumb.dat
rm_emulation/test-files/test-mov-2-arm.dat
rm_emulation/test-files/test-mov-2-thumb.dat
rm_emulation/test-files/test-mov-20-thumb.dat
rm_emulation/test-files/test-mov-21-thumb.dat
rm_emulation/test-files/test-mov-22-thumb.dat
rm_emulation/test-files/test-mov-23-thumb.dat
rm_emulation/test-files/test-mov-24-thumb.dat
rm_emulation/test-files/test-mov-25-thumb.dat
rm_emulation/test-files/test-mov-26-thumb.dat
rm_emulation/test-files/test-mov-27-thumb.dat
rm_emulation/test-files/test-mov-28-thumb.dat
rm_emulation/test-files/test-mov-29-thumb.dat
rm_emulation/test-files/test-mov-3-arm.dat
rm_emulation/test-files/test-mov-3-thumb.dat
rm_emulation/test-files/test-mov-30-thumb.dat
rm_emulation/test-files/test-mov-31-thumb.dat
rm_emulation/test-files/test-mov-4-arm.dat
rm_emulation/test-files/test-mov-4-thumb.dat
rm_emulation/test-files/test-mov-5-arm.dat
rm_emulation/test-files/test-mov-5-thumb.dat
rm_emulation/test-files/test-mov-6-arm.dat
rm_emulation/test-files/test-mov-6-thumb.dat
rm_emulation/test-files/test-mov-7-thumb.dat
rm_emulation/test-files/test-mov-8-thumb.dat
rm_emulation/test-files/test-mov-9-thumb.dat
rm_emulation/test-files/test-moveq-1-arm.dat
rm_emulation/test-files/test-movs-1-arm.dat
rm_emulation/test-files/test-mvn-1-arm.dat
rm_emulation/test-files/test-mvn-1-thumb.dat
rm_emulation/test-files/test-mvn-2-arm.dat
rm_emulation/test-files/test-mvn-2-thumb.dat
rm_emulation/test-files/test-mvn-3-arm.dat
rm_emulation/test-files/test-mvn-3-thumb.dat
rm_emulation/test-files/test-mvn-4-arm.dat
rm_emulation/test-files/test-mvn-4-thumb.dat
rm_emulation/test-files/test-pop-1-arm.dat
rm_emulation/test-files/test-pop-1-thumb.dat
rm_emulation/test-files/test-pop-2-arm.dat
rm_emulation/test-files/test-pop-2-thumb.dat
rm_emulation/test-files/test-pop-3-thumb.dat
rm_emulation/test-files/test-push-1-arm.dat
rm_emulation/test-files/test-push-1-thumb.dat
rm_emulation/test-files/test-push-2-arm.dat
rm_emulation/test-files/test-push-2-thumb.dat
rm_emulation/test-files/test-push-3-arm.dat
rm_emulation/test-files/test-push-3-thumb.dat
rm_emulation/test-files/test-str-1-arm.dat
rm_emulation/test-files/test-str-1-thumb.dat
rm_emulation/test-files/test-str-2-arm.dat
rm_emulation/test-files/test-str-2-thumb.dat
rm_emulation/test-files/test-str-3-arm.dat
rm_emulation/test-files/test-str-3-thumb.dat
rm_emulation/test-files/test-str-4-arm.dat
rm_emulation/test-files/test-str-4-thumb.dat
rm_emulation/test-files/test-str-5-arm.dat
rm_emulation/test-files/test-strb-1-arm.dat
rm_emulation/test-files/test-strb-2-arm.dat
rm_emulation/test-files/test-strbt-1-arm.dat
rm_emulation/test-files/test-strd-1-thumb.dat
rm_emulation/test-files/test-strt-1-arm.dat
rm_emulation/test-files/test-sub-1-arm.dat
rm_emulation/test-files/test-sub-1-thumb.dat
rm_emulation/test-files/test-sub-10-arm.dat
rm_emulation/test-files/test-sub-2-arm.dat
rm_emulation/test-files/test-sub-2-thumb.dat
rm_emulation/test-files/test-sub-3-arm.dat
rm_emulation/test-files/test-sub-3-thumb.dat
rm_emulation/test-files/test-sub-4-arm.dat
rm_emulation/test-files/test-sub-4-thumb.dat
rm_emulation/test-files/test-sub-5-arm.dat
rm_emulation/test-files/test-sub-5-thumb.dat
rm_emulation/test-files/test-sub-6-arm.dat
rm_emulation/test-files/test-sub-6-thumb.dat
rm_emulation/test-files/test-sub-8-arm.dat
rm_emulation/test-files/test-sub-9-arm.dat
rm_emulation/test-files/test-subs-1-arm.dat
rm_emulation/test-files/test-subs-1-thumb.dat
rm_emulation/test-files/test-subs-10-thumb.dat
rm_emulation/test-files/test-subs-2-thumb.dat
rm_emulation/test-files/test-subs-3-thumb.dat
rm_emulation/test-files/test-subs-4-thumb.dat
rm_emulation/test-files/test-subs-5-thumb.dat
rm_emulation/test-files/test-subs-6-thumb.dat
rm_emulation/test-files/test-subs-8-thumb.dat
rm_emulation/test-files/test-subs-9-thumb.dat
rm_emulation/test-files/test-vpop-1-thumb.dat
rm_emulation/test-files/test-vpop-2-thumb.dat
rm_emulation/test-files/test-vpop-3-thumb.dat
rm_emulation/test-files/test-vpush-1-thumb.dat
rm_emulation/test-files/test-vpush-2-thumb.dat
rm_emulation/test-files/test-vpush-3-thumb.dat
|
edce6773fe5818a39aa7137ce17f6f5119c63942 |
20-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rename test/threads to python_api/lldbutil; it uses lldbutil functions to print stack traces. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129828 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/lldbutil/Makefile
ython_api/lldbutil/TestPrintStackTraces.py
ython_api/lldbutil/main.cpp
hreads/Makefile
hreads/TestPrintStackTraces.py
hreads/main.cpp
|
df18b15f8693be6c876a9d34bf2cec5f3a4f7111 |
20-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129827 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestStdCXXDisassembly.py
|
41c56fab98d16adf31dabdb623111ae4371a2d41 |
20-Apr-2011 |
Greg Clayton <gclayton@apple.com> |
General cleanup on the UserSettingsController stuff. There were 5 different places that were dumping values for the settings. Centralized all of the value dumping into a single place. When dumping values that aren't strings we no longer surround the value with single quotes. When dumping values that are strings, surround the string value with double quotes. When dumping array values, assume they are always string values, and don't put quotes around dictionary values. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129826 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
ettings/TestSettings.py
|
512cc33f050dfb80b3bc03837b2bb2774f063de9 |
20-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129825 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
244a86b02757dd54e924f0df7b99e5e7ab7f9124 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). And use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129797 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
eb60e1f61ab99e36898e33527c97002441449e28 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129795 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
b015c217c427ccfca1c106a52f2730bb87b50e89 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129793 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/symbol-context/TestSymbolContext.py
|
ed97643042ca69330c73f8a7d64b8096e3fdc880 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129792 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
|
257c608e31752b65f54ced4d5646954c29382149 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple() API. And use self.TraceOn() in order to print more debug output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129791 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/function_symbol/TestDisasmAPI.py
ython_api/function_symbol/TestSymbolAPI.py
|
7dbe42d631c7dcf77ab5c56d3b15c0a6cffed33d |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). And use self.TraceOn() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129790 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/TestFrames.py
|
0d073ef5f17ffc5cb63e299c7d0b41f6e0ba8563 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129789 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
8c2fd48f058d7a5778b0e24fc5a1f316bb1de254 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Only print more debug out when self.TraceOn() returns True. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129788 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/TestProcessLaunch.py
|
a52c0e55ebf00b347834042ab0a57341bca6b911 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129787 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/TestObjCStepping.py
|
c391239ec60eb19e891674011973524c8a29963a |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129786 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
ab6378a047f71aec5a12aeaf65ac2380f5ef808c |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a TraceOn(self) method to the base test class, which returns True if we are currently in trace mode (-t to dotest.py), i.e., tracing the lldb command execution. Change TestInferiorCrashing.inferior_crashing_python(self) to check this flag in order to print the stack trace of the inferior thread. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129785 91177308-0d34-0410-b5e6-96231b3b80d8
nferior-crashing/TestInferiorCrashing.py
ldbtest.py
|
6fb32b0649bd98dfd3785d5524ab4559afa1a21f |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129784 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
4db6c92dd180e9bc129050740a70926e1457561c |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129782 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestSymbolTable.py
|
a263d09a0ae90aaf83666e111a8e0baed2a236d2 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129780 91177308-0d34-0410-b5e6-96231b3b80d8
pp/dynamic-value/TestDynamicValue.py
|
a3bb19b5906ccb79e219e2865ee2fceef321273d |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129779 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/TestStaticVariables.py
|
47524b6172760a9a03648d9199959cec97aedf2d |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use SBProcess.LaunchSimple(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129778 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
|
eac25db8e22d1e767d334a17c4eb59d7a7591c99 |
19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Convert some tests to use the SBProcess.LaunchSimple API requiring only args, envs, and cwd from SBProcess.Launch which takes many more arguments that are useless for the test scenario. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129776 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_conditions/TestBreakpointConditions.py
|
44dc9d3b86cacd550e01a0c3ec7dd28126cf6ca4 |
18-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test script for exercising the "taregt create", "target list", and "target select" commands. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129717 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ake/Makefile.rules
arget/Makefile
arget/TestTargetCommand.py
arget/a.c
arget/b.c
arget/c.c
|
c7ae75a0fb1a2d1dbe260ba2282344568670aa66 |
18-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add header comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129710 91177308-0d34-0410-b5e6-96231b3b80d8
nferior-crashing/main.c
|
0b4dfac85ae7fc774fb7dc8b820daa0a89ad8281 |
18-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129707 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
37ac00bdbf6c1cfb4a21b50fec8b0e4ba9735cfa |
18-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify some docstrings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129706 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
abe0fed36d83e1c37af9dae90c2d25db742b4515 |
18-Apr-2011 |
Greg Clayton <gclayton@apple.com> |
Centralized a lot of the status information for processes, threads, and stack frame down in the lldb_private::Process, lldb_private::Thread, lldb_private::StackFrameList and the lldb_private::StackFrame classes. We had some command line commands that had duplicate versions of the process status output ("thread list" and "process status" for example). Removed the "file" command and placed it where it should have been: "target create". Made an alias for "file" to "target create" so we stay compatible with GDB commands. We can now have multple usable targets in lldb at the same time. This is nice for comparing two runs of a program or debugging more than one binary at the same time. The new command is "target select <target-idx>" and also to see a list of the current targets you can use the new "target list" command. The flow in a debug session can be: (lldb) target create /path/to/exe/a.out (lldb) breakpoint set --name main (lldb) run ... hit breakpoint (lldb) target create /bin/ls (lldb) run /tmp Process 36001 exited with status = 0 (0x00000000) (lldb) target list Current targets: target #0: /tmp/args/a.out ( arch=x86_64-apple-darwin, platform=localhost, pid=35999, state=stopped ) * target #1: /bin/ls ( arch=x86_64-apple-darwin, platform=localhost, pid=36001, state=exited ) (lldb) target select 0 Current targets: * target #0: /tmp/args/a.out ( arch=x86_64-apple-darwin, platform=localhost, pid=35999, state=stopped ) target #1: /bin/ls ( arch=x86_64-apple-darwin, platform=localhost, pid=36001, state=exited ) (lldb) bt * thread #1: tid = 0x2d03, 0x0000000100000b9a a.out`main + 42 at main.c:16, stop reason = breakpoint 1.1 frame #0: 0x0000000100000b9a a.out`main + 42 at main.c:16 frame #1: 0x0000000100000b64 a.out`start + 52 Above we created a target for "a.out" and ran and hit a breakpoint at "main". Then we created a new target for /bin/ls and ran it. Then we listed the targest and selected our original "a.out" program, so we showed two concurent debug sessions going on at the same time. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129695 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_command/TestBreakpointCommand.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
onditional_break/TestConditionalBreak.py
ead-strip/TestDeadStrip.py
num_types/TestEnumTypes.py
orward/TestForwardDeclaration.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
nferior-crashing/TestInferiorCrashing.py
nlined_breakpoints/TestInlinedBreakpoints.py
oad_unload/TestLoadUnload.py
amespace/TestNamespace.py
et_values/TestSetValues.py
ignal/TestSendSignal.py
igned_types/TestSignedTypes.py
ource-manager/TestSourceManager.py
nique-types/TestUniqueTypes.py
nsigned_types/TestUnsignedTypes.py
|
e41494a9092e15192012a5e0a8a1ffd66c70b8bb |
16-Apr-2011 |
Jim Ingham <jingham@apple.com> |
Add support for "dynamic values" for C++ classes. This currently only works for "frame var" and for the expressions that are simple enough to get passed to the "frame var" underpinnings. The parser code will have to be changed to also query for the dynamic types & offsets as it is looking up variables. The behavior of "frame var" is controlled in two ways. You can pass "-d {true/false} to the frame var command to get the dynamic or static value of the variables you are printing. There's also a general setting: target.prefer-dynamic-value (boolean) = 'true' which is consulted if you call "frame var" without supplying a value for the -d option. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129623 91177308-0d34-0410-b5e6-96231b3b80d8
pp/dynamic-value/Makefile
pp/dynamic-value/TestDynamicValue.py
pp/dynamic-value/pass-to-base.cpp
ldbutil.py
ython_api/process/TestProcessAPI.py
|
33cd0c3df7a546a266994784efe30fb38ce325d2 |
15-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Forgot to check in this change with http://llvm.org/viewvc/llvm-project?view=rev&revision=129542. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129574 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
6b41e0b08cac8a59bda19907eb71c05eb36c3af6 |
15-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Rewording of assert message. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129543 91177308-0d34-0410-b5e6-96231b3b80d8
nferior-crashing/TestInferiorCrashing.py
|
d2dff7bf2355c992b446d8a3c11690bfa24ce998 |
15-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test to check that lldb reliably catches a crashing inferior (both command and Python API). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129542 91177308-0d34-0410-b5e6-96231b3b80d8
nferior-crashing/Makefile
nferior-crashing/TestInferiorCrashing.py
nferior-crashing/main.c
|
4f347cbb039d9b5ef5f5772dcb672b5557feeb7e |
13-Apr-2011 |
Jim Ingham <jingham@apple.com> |
Have "-h" print just the command arguments, and "-h -v" print the examples as well. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129470 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
b72d0f098e45936fa72e26b1a026c603e17e2d6c |
12-Apr-2011 |
Greg Clayton <gclayton@apple.com> |
Moved the execution context that was in the Debugger into the CommandInterpreter where it was always being used. Make sure that Modules can track their object file offsets correctly to allow opening of sub object files (like the "__commpage" on darwin). Modified the Platforms to be able to launch processes. The first part of this move is the platform soon will become the entity that launches your program and when it does, it uses a new ProcessLaunchInfo class which encapsulates all process launching settings. This simplifies the internal APIs needed for launching. I want to slowly phase out process launching from the process classes, so for now we can still launch just as we used to, but eventually the platform is the object that should do the launching. Modified the Host::LaunchProcess in the MacOSX Host.mm to correctly be able to launch processes with all of the new eLaunchFlag settings. Modified any code that was manually launching processes to use the Host::LaunchProcess functions. Fixed an issue where lldb_private::Args had implicitly defined copy constructors that could do the wrong thing. This has now been fixed by adding an appropriate copy constructor and assignment operator. Make sure we don't add empty ModuleSP entries to a module list. Fixed the commpage module creation on MacOSX, but we still need to train the MacOSX dynamic loader to not get rid of it when it doesn't have an entry in the all image infos. Abstracted many more calls from in ProcessGDBRemote down into the GDBRemoteCommunicationClient subclass to make the classes cleaner and more efficient. Fixed the default iOS ARM register context to be correct and also added support for targets that don't support the qThreadStopInfo packet by selecting the current thread (only if needed) and then sending a stop reply packet. Debugserver can now start up with a --unix-socket (-u for short) and can then bind to port zero and send the port it bound to to a listening process on the other end. This allows the GDB remote platform to spawn new GDB server instances (debugserver) to allow platform debugging. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129351 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
otest.py
oundation/TestFoundationDisassembly.py
oundation/TestObjCMethods.py
|
0cd8be8ce3b11fe9c2591591c12cad5b688e6d0e |
01-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify test_process_list()'s expect sub-strings to be up-to-date. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128697 91177308-0d34-0410-b5e6-96231b3b80d8
latform/TestPlatformCommand.py
|
919ee60577297be31eb69f14a5901e7c6170a9ca |
01-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestSymbolAPI.py to test the newly added SBSymbol and SBAddress APIs: lldb::SymbolType SBSymbol::GetType(); lldb::SectionType SBAddress::GetSectionType (); lldb::SBModule SBAddress::GetModule (); Also add an lldb::SBModule::GetUUIDString() API which is easier for Python to work with in the test script. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128695 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/function_symbol/TestSymbolAPI.py
|
0de37195f17fefb536157b3296a18999116b8125 |
01-Apr-2011 |
Jim Ingham <jingham@apple.com> |
Remove unneeded ExecutionContextScope variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128685 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/TestFrames.py
|
850a6b278e596e8a17535c487beb16d3d206a93b |
31-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify self.expect() patterns to react to API change for SourceManager.DisplaySourceLinesWithLineNumbers(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128581 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
0815031982a0461fd4466cdcdd15d9220a93ca26 |
30-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
A a simple test file for some lldb 'platform' commands. Add a missing result.SetStatus() stmt to the CommandObjectPlatformList::Execute() impl. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128575 91177308-0d34-0410-b5e6-96231b3b80d8
latform/TestPlatformCommand.py
|
f4c0d1d8854f3ed87ca797628008386fdb9318af |
30-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor import statement change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128558 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
7482324f2ac5de71579458a9afe900d192536ee3 |
30-Mar-2011 |
Jim Ingham <jingham@apple.com> |
Can't count on the particular number of modules loaded into a basic C executable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128505 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
889fbd0581c24523642e0a04d659cc8f3dcdb4ed |
26-Mar-2011 |
Greg Clayton <gclayton@apple.com> |
Added the ability to get the min and max instruction byte size for an architecture into ArchSpec: uint32_t ArchSpec::GetMinimumOpcodeByteSize() const; uint32_t ArchSpec::GetMaximumOpcodeByteSize() const; Added an AddressClass to the Instruction class in Disassembler.h. This allows decoded instructions to know know if they are code, code with alternate ISA (thumb), or even data which can be mixed into code. The instruction does have an address, but it is a good idea to cache this value so we don't have to look it up more than once. Fixed an issue in Opcode::SetOpcodeBytes() where the length wasn't getting set. Changed: bool SymbolContextList::AppendIfUnique (const SymbolContext& sc); To: bool SymbolContextList::AppendIfUnique (const SymbolContext& sc, bool merge_symbol_into_function); This function was typically being used when looking up functions and symbols. Now if you lookup a function, then find the symbol, they can be merged into the same symbol context and not cause multiple symbol contexts to appear in a symbol context list that describes the same function. Fixed the SymbolContext not equal operator which was causing mixed mode disassembly to not work ("disassembler --mixed --name main"). Modified the disassembler classes to know about the fact we know, for a given architecture, what the min and max opcode byte sizes are. The InstructionList class was modified to return the max opcode byte size for all of the instructions in its list. These two fixes means when disassemble a list of instructions and dump them and show the opcode bytes, we can format the output more intelligently when showing opcode bytes. This affects any architectures that have varying opcode byte sizes (x86_64 and i386). Knowing the max opcode byte size also helps us to be able to disassemble N instructions without having to re-read data if we didn't read enough bytes. Added the ability to set the architecture for the disassemble command. This means you can easily cross disassemble data for any supported architecture. I also added the ability to specify "thumb" as an architecture so that we can force disassembly into thumb mode when needed. In GDB this was done using a hack of specifying an odd address when disassembling. I don't want to repeat this hack in LLDB, so the auto detection between ARM and thumb is failing, just specify thumb when disassembling: (lldb) disassemble --arch thumb --name main You can also have data in say an x86_64 file executable and disassemble data as any other supported architecture: % lldb a.out Current executable set to 'a.out' (x86_64). (lldb) b main (lldb) run (lldb) disassemble --arch thumb --count 2 --start-address 0x0000000100001080 --bytes 0x100001080: 0xb580 push {r7, lr} 0x100001082: 0xaf00 add r7, sp, #0 Fixed Target::ReadMemory(...) to be able to deal with Address argument object that isn't section offset. When an address object was supplied that was out on the heap or stack, target read memory would fail. Disassembly uses Target::ReadMemory(...), and the example above where we disassembler thumb opcodes in an x86 binary was failing do to this bug. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128347 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
0bfa859ea49d27efd89d5f152b8371b39919d92d |
23-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Turns out that the test failure wrt: rdar://problem/9173060 lldb hangs while running unique-types disappears if running with clang version >= 3. Modify the TestUniqueTypes.py to detect if we are running with clang version < 3 and, if true, skip the test. Update the lldbtest.system() function to return a tuple of (stdoutdata, stderrdata) since we need the stderr data from "clang -v" command. Modify existing clients of lldbtest.system() to now use, for example: # First, capture the golden output emitted by the oracle, i.e., the # series of printf statements. - go = system("./a.out", sender=self) + go = system("./a.out", sender=self)[0] # This golden list contains a list of (variable, value) pairs extracted # from the golden output. gl = [] And add two utility functions to lldbutil.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128162 91177308-0d34-0410-b5e6-96231b3b80d8
pp/virtual/TestVirtual.py
ldbtest.py
ldbutil.py
ypes/AbstractBase.py
nique-types/TestUniqueTypes.py
|
12013170d6529cbd20e96e5d08216ba116e4f740 |
23-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Checked in a modified test script to go with rdar://problem/9173060: test suite: lldb hangs while running unique-types git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128131 91177308-0d34-0410-b5e6-96231b3b80d8
nique-types/TestUniqueTypes.py
|
87d939a1044c80ba849c1c23f4dca27f1d04105c |
23-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix test suite failures by modifying the script for testing abbreviations. Failures were due to new commands introduced. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128125 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
e86cbb9ef128db87cf904e330b2edfc15566bacd |
22-Mar-2011 |
Greg Clayton <gclayton@apple.com> |
Abtracted the innards of lldb-core away from the SB interface. There was some overlap in the SWIG integration which has now been fixed by introducing callbacks for initializing SWIG for each language (python only right now). There was also a breakpoint command callback that called into SWIG which has been abtracted into a callback to avoid cross over as well. Added a new binary: lldb-platform This will be the start of the remote platform that will use as much of the Host functionality to do its job so it should just work on all platforms. It is pretty hollowed out for now, but soon it will implement a platform using the GDB remote packets as the transport. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128053 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
10ff9911d1e8c10f5e490f9b6b101df7904ae7f4 |
18-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add cases to test that two template instantiations of std::vector<long> and std::vector<short> in the same compilation module show up as different types for lldb debugger. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127904 91177308-0d34-0410-b5e6-96231b3b80d8
nique-types/TestUniqueTypes.py
nique-types/main.cpp
|
d793146bf7f69e321607529237db489a433b439b |
17-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
As a simple measure, output the lldb version and the svn info for which the testsuite is run against. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127782 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
06cfe2efd63d9f70768aeaca1e22bc51508e07b7 |
15-Mar-2011 |
Greg Clayton <gclayton@apple.com> |
Make the first vector of "long" instead of "int" so we can tell the difference easier since "short" ends up with "short int" in the template allocators. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127661 91177308-0d34-0410-b5e6-96231b3b80d8
nique-types/main.cpp
|
13acfc9a533bf5726b7b6010d8dde37632b7ece3 |
15-Mar-2011 |
Greg Clayton <gclayton@apple.com> |
Added a test case for unique types. In the test case there are two std::vector types that have different contents. Currently LLDB is incorrectly uniquing, on MacOSX, the std::vector _VectorImpl class from the two different vector templates. The DWARF looks like: 0x0000008e: DW_TAG_structure_type [7] * DW_AT_name( "_Vector_base<int,std::allocator<int> >" ) DW_AT_declaration( 0x01 ) DW_AT_sibling( {0x00000103} ) 0x00000098: DW_TAG_structure_type [8] * DW_AT_name( "_Vector_impl" ) DW_AT_byte_size( 0x18 ) DW_AT_decl_file( "/usr/include/c++/4.2.1/bits/stl_vector.h" ) DW_AT_decl_line( 83 ) 0x000000a0: DW_TAG_inheritance [9] DW_AT_type( {0x000006fa} ( allocator<int> ) ) DW_AT_data_member_location( +0 ) DW_AT_accessibility( DW_ACCESS_public ) 0x0000011b: DW_TAG_structure_type [7] * DW_AT_name( "_Vector_base<short int,std::allocator<short int> >" ) DW_AT_declaration( 0x01 ) DW_AT_sibling( {0x00000190} ) 0x00000125: DW_TAG_structure_type [8] * DW_AT_name( "_Vector_impl" ) DW_AT_byte_size( 0x18 ) DW_AT_decl_file( "/usr/include/c++/4.2.1/bits/stl_vector.h" ) DW_AT_decl_line( 83 ) 0x0000012d: DW_TAG_inheritance [9] DW_AT_type( {0x00000f75} ( allocator<short int> ) ) DW_AT_data_member_location( +0 ) DW_AT_accessibility( DW_ACCESS_public ) In this case it using DIE 0x00000098 for both 0x00000098 and 0x00000125. This test will help detect this issue once I have a fix for it. I have a fix that I am testing. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127660 91177308-0d34-0410-b5e6-96231b3b80d8
nique-types/Makefile
nique-types/main.cpp
|
7304147ae8eaae495c6682a45d3c8c908b707b98 |
12-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test directory stop-hook to test the newly added "target stop-hook" command. This uses pexpect module to spawn a 'lldb' program and uses pseudo-TTY to talk to the child application. The test cases test setting breakpoints, adding a stop-hook with line range, and verifies that when the inferior stops, the stop-hook will fire off when it is within range and will not fire off when it is out of range. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127519 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
top-hook/Makefile
top-hook/TestStopHook.py
top-hook/main.cpp
|
8a3c0430323c28c1fbe8ceecd2cd8e58b64a9295 |
11-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add pexpect-2.4 (a pure Python module for controlling and automating other programs) to the test directory. http://pypi.python.org/pypi/pexpect/ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127484 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
expect-2.4/ANSI.py
expect-2.4/FSM.py
expect-2.4/INSTALL
expect-2.4/LICENSE
expect-2.4/PKG-INFO
expect-2.4/README
expect-2.4/doc/clean.css
expect-2.4/doc/email.png
expect-2.4/doc/examples.html
expect-2.4/doc/index.html
expect-2.4/doc/index.template.html
expect-2.4/examples/README
expect-2.4/examples/astat.py
expect-2.4/examples/bd_client.py
expect-2.4/examples/bd_serv.py
expect-2.4/examples/cgishell.cgi
expect-2.4/examples/chess.py
expect-2.4/examples/chess2.py
expect-2.4/examples/chess3.py
expect-2.4/examples/df.py
expect-2.4/examples/fix_cvs_files.py
expect-2.4/examples/ftp.py
expect-2.4/examples/hive.py
expect-2.4/examples/monitor.py
expect-2.4/examples/passmass.py
expect-2.4/examples/python.py
expect-2.4/examples/rippy.py
expect-2.4/examples/script.py
expect-2.4/examples/ssh_session.py
expect-2.4/examples/ssh_tunnel.py
expect-2.4/examples/sshls.py
expect-2.4/examples/table_test.html
expect-2.4/examples/topip.py
expect-2.4/examples/uptime.py
expect-2.4/fdpexpect.py
expect-2.4/pexpect.py
expect-2.4/pxssh.py
expect-2.4/screen.py
expect-2.4/setup.py
|
4f52c40db3562ae439c04ec935ca39c6b971bd71 |
11-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Discover the 'lldb' executable in the setUp() hook of the base test class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127481 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
26901c8c615beb9f2942bae337d927ff38535687 |
11-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a mechanism to discover the full path of the 'lldb' program into the test driver. This provides a way to potentially provide conversational interactions with 'lldb' in the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127479 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
8d237a26c7018c6c17da8d65019254cab3536f45 |
11-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases to exercise the SBThread.GetProcess() API. We launch the process using the SBTarget.Launch() API, stop at a breakpoint, get the stopped thread, and verify that the pid of the stopped thread's process is equal to the pid of the process returned by SBTarget.Launch(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127444 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
4a384a97846bb3f0a56031d096fe57e7a551a26f |
11-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case test_run_to_address() to exercise the SBThread.RunToAddress(lldb::addr_t addr) API. The test itself is not working yet. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127436 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
650fef9e5ac3ea99091b14b12ef5e4b7b73de7b0 |
10-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases to TestThreadAPI.py to exercise SBThread.StepOver() by stopping at a breakpoint, doing three step-over's, then verifying that the correct source line number is reached. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127432 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
ython_api/thread/main2.cpp
|
912675f0af734e191775535fb1c4c778888ee6a7 |
10-Mar-2011 |
Caroline Tice <ctice@apple.com> |
Add a test case to make sure that all the settings that currently ought to exist are actually there. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127431 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
d09dcacaf12e4a372fbc6d23a84dee78656668dd |
10-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Test cleanup. Check for the full caller symbol of malloc -- b(int). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127421 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/TestThreadAPI.py
|
69af39d7e7c1988caf027956a6af5f17c55b5534 |
10-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for Python SBThread.StepOut() API by stepping out of a malloc call where the call site is at function b(). Verifies that after the thread.StepOut(), we are at the correct line within function b. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127374 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/thread/Makefile
ython_api/thread/TestThreadAPI.py
ython_api/thread/main2.cpp
|
88e7859d3cca4a07265fc831c3ef6952af3e3d70 |
09-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an expectedFailure decorator to the test_connect_remote() test case. It fails when running within the context of the test suite, but succeeds when running alone. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127290 91177308-0d34-0410-b5e6-96231b3b80d8
onnect_remote/TestConnectRemote.py
|
329bb8bf2aa73889358bb131937e48cc4f23ca3a |
07-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an extra twist of stopping the inferior in a breakpoint, and then continue till it's done. We should still see the entire stdout redirected once the process is finished. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127184 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
edc05242e1752528df12171d052e20f2197ab7eb |
07-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for SBTarget.Launch() API with the stdout of the inferior redirected to a file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127179 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/target/TestTargetAPI.py
|
586a3e6ad55b210791d451d1b5bb024d2a29091b |
07-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestThreadAPI.py file to house the Python SBThread API test cases. Currently it has only test cases for SBThread.GetStopDescription() API. Also modified lldb.swig to add typemap for (char *dst, size_t dst_len) which occurs for SBThread::GetStopDescription() C++ API. For Python scripting: # Due to the typemap magic (see lldb.swig), we pass in an (int)length to GetStopDescription # and expect to get a Python string as the result object! # The 100 is just an arbitrary number specifying the buffer size. stop_description = thread.GetStopDescription(100) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127173 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/thread/Makefile
ython_api/thread/TestThreadAPI.py
ython_api/thread/main.cpp
|
42da4dae5d7dccf98a57399d4689150b928ab545 |
05-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case ProcessAPITestCase.test_remote_launch() which tests SBProcess.RemoteLaunch() API with a process not in eStateConnected, and checks that the remote launch failed. Modify SBProcess::RemoteLaunch()/RemoteAttachToProcessWithID()'s log statements to fix a crasher when logging is turned on. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127055 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/process/TestProcessAPI.py
|
a7951be6f0c4009c2cc32e69432b440d9514033e |
05-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for the lldb command 'process connect'. We start a fake debugserver listening on localhost:12345 and issue the command 'process connect connect://localhost:12345' to connect to it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127048 91177308-0d34-0410-b5e6-96231b3b80d8
onnect_remote/EchoServer.py
onnect_remote/TestConnectRemote.py
ython_api/target/TestTargetAPI.py
|
7d71b1a274b3ba7bcc441326d661b2d69977d243 |
04-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add docstrings for unittest framework's test methods. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127025 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/TestProcessLaunch.py
|
1f968f44d746db3e60c9adf25f93f18e2935dd1a |
04-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Change the CFLAGS variable assignment operator to ?= (conditional variable assignment operator). This allows us to override CFLAGS on the command line: $ CFLAGS='-arch $(ARCH) -gdwarf-2 -O0' ./dotest.py -C clang -A i386 -v objc-optimized Session logs for test failures/errors will go into directory '2011-03-04-10_33_57' Command invoked: python ./dotest.py -C clang -A i386 -v objc-optimized ---------------------------------------------------------------------- Collected 2 tests 1: test_break_with_dsym (TestObjcOptimized.ObjcOptimizedTestCase) Test 'expr member' continues to work for optimized build. ... ok 2: test_break_with_dwarf (TestObjcOptimized.ObjcOptimizedTestCase) Test 'expr member' continues to work for optimized build. ... ok ---------------------------------------------------------------------- Ran 2 tests in 1.902s OK $ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127011 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-optimized/Makefile
|
e96c72bd9d91e39494f3aa4e42eb047cce11fe38 |
04-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestObjcOptimized.py under the objc-optimized directory to test that objective-c expression parser continues to work for optimized build. Radar filed: # rdar://problem/9087739 # test failure: objc_optimized does not work for "-C clang -A i386" git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@127009 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-optimized/TestObjcOptimized.py
bjc-optimized/main.m
|
5acc3433a59bbb0088c76d283e4cc0970ced6411 |
04-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add objc source file and Makefile. Test case to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126980 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-optimized/Makefile
bjc-optimized/main.m
|
1a4d5e7b6eb2283b4c7d8e308f4087f39cc05ed6 |
04-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add the ability for the test suite to specify a list of compilers and a list of architectures on the command line. For example, use '-A x86_64^i386' to launch the inferior use both x86_64 and i386. This is an example of building the debuggee using both clang and gcc compiers: [17:30:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -C clang^gcc -v -f SourceManagerTestCase.test_modify_source_file_while_debugging Session logs for test failures/errors will go into directory '2011-03-03-17_31_39' Command invoked: python ./dotest.py -C clang^gcc -v -f SourceManagerTestCase.test_modify_source_file_while_debugging Configuration: compiler=clang ---------------------------------------------------------------------- Collected 1 test 1: test_modify_source_file_while_debugging (TestSourceManager.SourceManagerTestCase) Modify a source file while debugging the executable. ... Command 'run' failed! original content: #include <stdio.h> int main(int argc, char const *argv[]) { printf("Hello world.\n"); // Set break point at this line. return 0; } new content: #include <stdio.h> int main(int argc, char const *argv[]) { printf("Hello lldb.\n"); // Set break point at this line. return 0; } os.path.getmtime() after writing new content: 1299202305.0 content restored to: #include <stdio.h> int main(int argc, char const *argv[]) { printf("Hello world.\n"); // Set break point at this line. return 0; } os.path.getmtime() after restore: 1299202307.0 ok ---------------------------------------------------------------------- Ran 1 test in 8.259s OK Configuration: compiler=gcc ---------------------------------------------------------------------- Collected 1 test 1: test_modify_source_file_while_debugging (TestSourceManager.SourceManagerTestCase) Modify a source file while debugging the executable. ... original content: #include <stdio.h> int main(int argc, char const *argv[]) { printf("Hello world.\n"); // Set break point at this line. return 0; } new content: #include <stdio.h> int main(int argc, char const *argv[]) { printf("Hello lldb.\n"); // Set break point at this line. return 0; } os.path.getmtime() after writing new content: 1299202307.0 content restored to: #include <stdio.h> int main(int argc, char const *argv[]) { printf("Hello world.\n"); // Set break point at this line. return 0; } os.path.getmtime() after restore: 1299202309.0 ok ---------------------------------------------------------------------- Ran 1 test in 2.301s OK [17:31:49] johnny:/Volumes/data/lldb/svn/trunk/test $ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126979 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ogging/TestLogging.py
ource-manager/TestSourceManager.py
|
51ed1b614f2c2b6970f50296d7d41c9de2c30ff4 |
03-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestDisasmAPI.py which exercises the newly added SBFunction/SBSymbol.GetStartAddress(), among other things: // When stopped on breakppint 1, we can get the line entry using SBFrame API // SBFrame.GetLineEntry(). We'll get the start address for the the line entry // with the SBAddress type, resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress() in order to get the SBSymbol. // // We then stop at breakpoint 2, get the SBFrame, and the the SBFunction object. // // The address from calling GetStartAddress() on the symbol and the function // should point to the same address, and we also verify that. And add one utility function disassemble(target, function_or_symbol) to lldbutil.py: """Disassemble the function or symbol given a target. It returns the disassembly content in a string object. """ TestDisasm.py uses the disassemble() function to do disassembly on the SBSymbol, and then the SBFunction object. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126955 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/function_symbol/Makefile
ython_api/function_symbol/TestDisasmAPI.py
ython_api/function_symbol/main.c
ython_api/target/TestTargetAPI.py
|
77356a0e9bec77c6ed7eb23151bcd8de27fef902 |
03-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestTargetAPI.py: // When stopped on breakppint 1, and then 2, we can get the line entries using // SBFrame API SBFrame.GetLineEntry(). We'll get the start addresses for the // two line entries; with the start address (of SBAddress type), we can then // resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress(). // // The two symbol context should point to the same symbol, i.e., 'a' function. Add two utility functions to lldbutil.py: o get_stopped_threads(process, reason): return the list of threads with the specified stop reason or an empty list if not found o get_stopped_thread(process, reason): return the first thread with the given stop reason or None if not found git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126916 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
ldbutil.py
ython_api/process/TestProcessAPI.py
ython_api/symbol-context/TestSymbolContext.py
ython_api/target/Makefile
ython_api/target/TestTargetAPI.py
ython_api/target/main.c
|
d2765fc8b9c9bd4d98dd5d6176b6108b6516e04c |
02-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Clarified the docstrings for int_to_bytearray() and bytearray_to_int(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126877 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
a6e29c25833b8b4876119604b7776aac1386e58e |
02-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126867 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
|
4c70f287ea336c4a0c599431bfc2b5a9a618ab5e |
02-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add two utility functions to lldbutil.py: o int_to_bytearray() o bytearray_to_int() They return/interpret the bytearray in the little endian format. For big endian, simply perform ba.reverse() on the bytearray object. And modify TestProcessAPI.py to take advantage of the functions. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126813 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
ython_api/process/TestProcessAPI.py
|
60a544f23362d4f2fbe1e68b9c5340aa5e11302c |
01-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an API SBProcess::GetByteOrder() and add test cases which utilizes GetByteOrder(), among other SBProcess APIs, to write (int)256 into a memory location of a global variable (int)my_int and reads/checks the variable afterwards. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126792 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
ython_api/process/main.cpp
|
27f0f402fe342f4ed40968611f9f04484a7b122b |
01-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong placement of skipUnless() decorator. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126774 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
|
aaea42e0a33c37c622e707c4e458639f9017b320 |
01-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test methods for SBProcess.WriteMemory() API to the TestProcessAPI.py file. This makes the number of total tests equal to 201. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126769 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/TestProcessAPI.py
|
36a0f749d744c7922d95e24393822afa1a8d49d7 |
01-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestProcessAPI.py which exercises some Python SBProcess API. In particular, this tests the SBProcess.ReadMemory() API, which, due to SWIG typemap'ing, expects 3 arguments (the location to read from, the size in bytes to read, and an SBError object), and returns the result as a Python string object. On SnowLeopard where this has been tested, the SWIG script needs to be pampered (use the exact same parameter names as in SBProcess.h) in order for this to work. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126736 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/process/Makefile
ython_api/process/TestProcessAPI.py
ython_api/process/main.cpp
|
da9ab6f9e8ad1751e6f9aab402d2abf914948638 |
26-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the dictionary setting for test_set_working_dir_* methods. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126531 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/TestProcessLaunch.py
|
4f797d84f8e1ed8ed3d02196cd39f66855832cf8 |
26-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Call self.setTearDownCleanup() and pass a proper dictionay to properly cleanup the intermediate files built with the same dictionary during test execution. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126530 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestConstStrings.py
|
a29321a5e6ff1da27d54e8a32a853f3680f00a18 |
26-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case to exercise the process launch flag of '-w <path>' which sets the current working directory when running the inferior. Radar filed: # rdar://problem/9056462 # The process launch flag '-w' for setting the current working directory not working? git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126529 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/Makefile
rocess_launch/TestProcessLaunch.py
rocess_launch/print_cwd.cpp
|
40e247950772378b939ccb84190c766114433df4 |
25-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Renamed the Python test file to be TestProcessLaunch.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126517 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/TestProcessIO.py
rocess_launch/TestProcessLaunch.py
|
803c97980675a9bcbb33802c3be65afff65cc301 |
25-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Renamed the test class to be ProcessLaunchTestCase. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126516 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/TestProcessIO.py
|
25d88371101ab855df0acbbe487e92f7a4b4a3ea |
25-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplified the code a little bit. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126515 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_launch/TestProcessIO.py
|
cba2be35044bca043e9f1f4ec20f872b1c0b050b |
25-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Renamed test/process_io directory to test/process_launch, in preparation to add additional tests related to 'process launch' command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126514 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_io/Makefile
rocess_io/TestProcessIO.py
rocess_io/input-file.txt
rocess_io/main.cpp
rocess_launch/Makefile
rocess_launch/TestProcessIO.py
rocess_launch/input-file.txt
rocess_launch/main.cpp
|
940b103224f3062578c7a7e6e76d8bf4a7956f2a |
23-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
Abtracted all mach-o and ELF out of ArchSpec. This patch is a modified form of Stephen Wilson's idea (thanks for the input Stephen!). What I ended up doing was: - Got rid of ArchSpec::CPU (which was a generic CPU enumeration that mimics the contents of llvm::Triple::ArchType). We now rely upon the llvm::Triple to give us the machine type from llvm::Triple::ArchType. - There is a new ArchSpec::Core definition which further qualifies the CPU core we are dealing with into a single enumeration. If you need support for a new Core and want to debug it in LLDB, it must be added to this list. In the future we can allow for dynamic core registration, but for now it is hard coded. - The ArchSpec can now be initialized with a llvm::Triple or with a C string that represents the triple (it can just be an arch still like "i386"). - The ArchSpec can still initialize itself with a architecture type -- mach-o with cpu type and subtype, or ELF with e_machine + e_flags -- and this will then get translated into the internal llvm::Triple::ArchSpec + ArchSpec::Core. The mach-o cpu type and subtype can be accessed using the getter functions: uint32_t ArchSpec::GetMachOCPUType () const; uint32_t ArchSpec::GetMachOCPUSubType () const; But these functions are just converting out internal llvm::Triple::ArchSpec + ArchSpec::Core back into mach-o. Same goes for ELF. All code has been updated to deal with the changes. This should abstract us until later when the llvm::TargetSpec stuff gets finalized and we can then adopt it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126278 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
ad626a7502d062279cfc824cf286e50f3330aa30 |
23-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
Don't enable thread safe logging as it currently deadlocks logging. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126260 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
212baf4460368cb2ea73f793491adecef3631c1d |
22-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
Make logs threadsafe (add the -t option) when logging API stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126257 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
2e8cb8a7342a2ea672792067d712a794e215a3a7 |
19-Feb-2011 |
Jim Ingham <jingham@apple.com> |
- Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting a Stream, and then added GetOutputData & GetErrorData to get the accumulated data. - Added a StreamTee that will tee output to two provided lldb::StreamSP's. - Made the CommandObjectReturn use this so you can Tee the results immediately to the debuggers output file, as well as saving up the results to return when the command is done executing. - HandleCommands now uses this so that if you have a set of commands that continue the target you will see the commands come out as they are processed. - The Driver now uses this to output the command results as you go, which makes the interface more reactive seeming. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@126015 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
lias_tests/TestAliases.py
reakpoint_command/TestBreakpointCommand.py
onditional_break/.lldb
|
14436445452e5a87513101fe2b6037ab9a21e1b8 |
16-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix clang++ warning building the executable for testing. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125682 91177308-0d34-0410-b5e6-96231b3b80d8
hreads/main.cpp
|
6a564a4732c69c5402e3d25305cdcad551a1a429 |
15-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Refactored the test driver to abstract out the Python sys.path specification for different build configurations. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125584 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
d9846b01d3a97959f2c35650caaff1360215a439 |
14-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
Added support for Xcode 4 build directories. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125522 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
30ef3ce280245920b105029d33224c641c073907 |
11-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Instead of self.runCmd(), do a stronger self.expect("process status") which also checks that the process is stopped due to breakpoint at the specified line no. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125400 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestConstStrings.py
|
b4ed28073fc8da864641ec75ab0a7134f883fca8 |
11-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix another typo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125323 91177308-0d34-0410-b5e6-96231b3b80d8
lugins/darwin.py
|
a1a61570034b793ef5b7bb67f78c6abdb833b82b |
11-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125322 91177308-0d34-0410-b5e6-96231b3b80d8
lugins/darwin.py
|
7872f75f9d3c18c21084db6b30a8bd3c2df7ee4d |
11-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestConstStrings.py under foundation dir for testing expression parser on objective-c strings and constant strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125320 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/Makefile
oundation/TestConstStrings.py
oundation/const-strings.m
|
0ece52676ccd90f23ad42b72788e4b439a43b31b |
10-Feb-2011 |
Sean Callanan <scallanan@apple.com> |
Fixes for two bugs: - Objective-C constant strings were being NULL-terminated erroneously. - Empty Objective-C constant strings were not being generated correctly. Also added the template for a test of these fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125314 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/const-strings.m
|
f29a08f9176c1a443942c08a999763e79b911f62 |
09-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
Patch from Kirk Beitz to make things compile on MinGW minus the putenv part. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125199 91177308-0d34-0410-b5e6-96231b3b80d8
hreads/main.cpp
|
c113489c350d0535a9e6e7d19335ba7efb4f52c6 |
08-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add new radar info for failed test. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125100 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
f20b8d96a112a6ad50925b90f3d6511050c4758e |
08-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make the assertion message about 32-bit process address byte size more clear. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125099 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
41950cc77813637e6c67b069e4ad2faf8c5f6fa7 |
04-Feb-2011 |
Caroline Tice <ctice@apple.com> |
Change "breakpoint list" command to default to brief output rather than full output. Modify test cases in test suite to either expect brief output or to pass -f for full output as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124905 91177308-0d34-0410-b5e6-96231b3b80d8
lias_tests/TestAliases.py
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_command/TestBreakpointCommand.py
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
reakpoint_locations/TestBreakpointLocations.py
lass_types/TestClassTypes.py
ead-strip/TestDeadStrip.py
num_types/TestEnumTypes.py
orward/TestForwardDeclaration.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
oad_unload/TestLoadUnload.py
et_values/TestSetValues.py
ignal/TestSendSignal.py
igned_types/TestSignedTypes.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
02fc32cf45db9025003836f6fff39db314c73eab |
04-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test_apropos_should_also_search_settings_description() to make sure that: apropos 'environment variable' searches all settings description and returns a topic related to: target.process.env-vars git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124841 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
4b1850a428ee4dd737bde68097cd15a8ccb2ecca |
04-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify test scripts to accomodate SBTarget.Launch() API change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124828 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
onditional_break/TestConditionalBreak.py
xpression_command/test/TestExprs.py
oundation/TestObjCMethods.py
oundation/TestSymbolTable.py
ello_world/TestHelloWorld.py
bjc-stepping/TestObjCStepping.py
ython_api/event/TestEvents.py
ython_api/frame/TestFrames.py
ython_api/symbol-context/TestSymbolContext.py
ource-manager/TestSourceManager.py
hreads/TestPrintStackTraces.py
|
7acdcec90c53da957f41709f263b72e83b80a39b |
03-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add teardown hook to clear image-search-paths after the test. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124806 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
c4bd46b2d0c525f58b70147a081b1477e24d05a2 |
03-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Parametrize make variable CC to also test with clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124764 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/Makefile
|
b294104e6cda0d1eab1681f6c09358a766c62be9 |
03-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Parametrize make variable CC to also test with clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124763 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/Makefile
|
4d661357f2d535c8243ae8433ba030058fb698c7 |
03-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case test_image_search_paths() to test lldb's ability to do image search paths substitutions in order to achieve file mappings. Modify CommandObjectTarget.cpp to properly set the status of the return object to make scripting like this: self.runCmd("target image-search-paths add %s %s" % (os.getcwd(), new_dir)) works. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124762 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
057f70627ce976dd7321c9df36b645ed836c9de4 |
02-Feb-2011 |
Caroline Tice <ctice@apple.com> |
Fix breakpoint id test to work with clang as well as gcc; added a few more test cases Fixed minor bug in the breakpoint id range translation code. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124729 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_ids/TestBreakpointIDs.py
|
270ac3950098a28e8266b316d9ad38a5dfec12df |
02-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix test function breakpoint_command_script_parameters()'s expect-pattern so that it passes when using clang as the compiler to build the inferior. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124707 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
|
df8e048a4b6aed1d4e444ca7141787b979bbf694 |
01-Feb-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add TestVirtual.py to go with test/cpp/virtual/main.cpp file, which tests C++ virtual function and virtual inheritance. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124642 91177308-0d34-0410-b5e6-96231b3b80d8
pp/virtual/Makefile
pp/virtual/TestVirtual.py
pp/virtual/main.cpp
|
98053bc0777938b0dd7618df5958a3875de21048 |
01-Feb-2011 |
Greg Clayton <gclayton@apple.com> |
Added a virtual C++ test case that catches some interesting cases that you run into with inheritance. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124619 91177308-0d34-0410-b5e6-96231b3b80d8
pp/virtual/main.cpp
|
2c162cf6ca2f37c5562940293440d388daf42abb |
31-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Test warning for pending breakpoints. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124600 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_ids/TestBreakpointIDs.py
|
49d5d12b7f3d8d6a0d96a3168794391142032c08 |
31-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Add test for breakpoint id ranges. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124598 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_ids/Makefile
reakpoint_ids/TestBreakpointIDs.py
reakpoint_ids/main.cpp
|
2e89e632545bda64a69665fc3f2eb262f68a23b7 |
31-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Add test for help on aliased commands. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124594 91177308-0d34-0410-b5e6-96231b3b80d8
lias_tests/TestAliases.py
|
52dae3d57893221925a7f4fea67eeda729388958 |
31-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Add a few more settings tests. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124589 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
d536233de27d7e55d2c61fd55bf5aa624201c8dc |
29-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Added comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124517 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
50bc638c63c838adf8f7ddf28430bba5cb136c50 |
29-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a "-D" option to the test driver which dumps the Python sys.path variable to be used for the test run. Could be useful for debugging the setup of the test environment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124516 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
989bc04d3e5aae5524cfa26ad0d9e20a0e35d056 |
29-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Use different log files for the two test cases in order not to confuse the logging subsystem. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124513 91177308-0d34-0410-b5e6-96231b3b80d8
ogging/TestLogging.py
|
6662f7c88cebec062a200ee7e9814ea99fb64149 |
29-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Add a test case to verify that the frame and breakpoint location are being properly passed down to script breakpoint commands. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124511 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
|
c8448dca15d526a8681954f5773981bb99923aff |
29-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Add a test case to check logging of command processing. Currently this test case works fine run by itself, but fails when run in the entire test suite; Johnny requested that I check it in so that he can look at it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124510 91177308-0d34-0410-b5e6-96231b3b80d8
ogging/Makefile
ogging/TestLogging.py
ogging/main.cpp
|
3f5e90a19881884408003ed01b04b4a29b3bd2fd |
28-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add "import sys" for sys.stdout. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124504 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_source/TestCommandSource.py
|
1ae2c3663ad8152c3d2d72c2146f8c41e7147845 |
28-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
The restoring of sys.stdout should happen right after: self.runCmd("script my.date()") In case the self.expect() fails, the restore would not be executed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124500 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_source/TestCommandSource.py
|
30e40931d2f7177be7d233cd06ed190bda889935 |
28-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Hardened the test_command_source() test case by actually capturing the output from running the "script my.date()" lldb command and comparing it against our expected result. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124499 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_source/TestCommandSource.py
|
b48dfa3f838a98bee8986b695ac154e7c6de55da |
28-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Add comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124495 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_io/TestProcessIO.py
|
47d3df1ed3e8b68de1664d5eaa473e9bcda9f438 |
28-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Remove comments I accidentally left in before. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124490 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_io/TestProcessIO.py
|
ebf1ece5e348b78dd9ceca812977a20321fe4e96 |
28-Jan-2011 |
Caroline Tice <ctice@apple.com> |
Add tests for 'process launch' I/O flags. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124489 91177308-0d34-0410-b5e6-96231b3b80d8
rocess_io/Makefile
rocess_io/TestProcessIO.py
rocess_io/input-file.txt
rocess_io/main.cpp
|
df0d76b890e20bca84ef2d093bafb1664a99ca8c |
28-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor comment change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124488 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
c6d591bfd5f7225c962da67d09a889c82b50fec2 |
27-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Some cleanup to plugins/darwin.py after the recent additions of '-A arch' and '-C compiler' command line options to the test driver. Replace TestBase.getRunSpec() with TestBase.getRunOptions(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124353 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/darwin.py
|
012cba1c671d65674f20830f1e42d1322c932cb4 |
26-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add "-A arch_spec" and "-C compiler_spec" options to the test driver. Example: $ ./dotest.py -A i386 -C clang -v -w -t -p TestObjCMethods.py $ ./dotest.py -A x86_64 -C gcc -v -w types git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124303 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
4b179b698d40cb791ce5a147fd20c7d3cb2e2cf7 |
25-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove the expectedFailure decorator for the fixed bug: rdar://problem/8435794 settings set target.process.output-path does not seem to work Also change the test case from test_set_output_path to test_set_error_output_path as it now exercises both setting target.process.error-path and target.process.output-path. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124198 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
ettings/main.cpp
|
95a581ceb0ed10028bf3cdb2caad14827ce5ae1a |
25-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong order of "import lldbutil" statement and its usage in the failure case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124196 91177308-0d34-0410-b5e6-96231b3b80d8
hreads/TestPrintStackTraces.py
|
5ec14f83253f65f51cc0aff15ac34c0f32750e5e |
23-Jan-2011 |
Greg Clayton <gclayton@apple.com> |
Deprecated old forms of SBTarget::Launch. There is not just one and no SWIG renaming done to work around deprecated APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124075 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
onditional_break/TestConditionalBreak.py
xpression_command/test/TestExprs.py
oundation/TestObjCMethods.py
oundation/TestSymbolTable.py
ello_world/TestHelloWorld.py
ldbtest.py
bjc-stepping/TestObjCStepping.py
ython_api/event/TestEvents.py
ython_api/frame/TestFrames.py
ython_api/symbol-context/TestSymbolContext.py
ource-manager/TestSourceManager.py
hreads/TestPrintStackTraces.py
|
d6228a99d1fff462a2ed861b41da0dae08d35aca |
21-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for the scenario of selecting a frame index while stopped, and then doing a thread step-out. This should lead us to the caller frame of the frame we just selected. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123984 91177308-0d34-0410-b5e6-96231b3b80d8
tepping/Makefile
tepping/TestThreadStepping.py
tepping/main.c
|
c4e747796600333b476069cdb9a11833adad509a |
20-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Remove the expectedFailure decorators. The bug: rdar://problem/8875425 Found mySource->isa local variable assertion failed has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123924 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/TestObjCStepping.py
|
27d098f5dc10bed7532500be5502c9dd3e9b90dc |
19-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add the cmdline to invoke the Python profile reporting module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123844 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
|
067022b780badba447f1e6991069fb8288df0520 |
19-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Print out the command line used to invoke the test suite so I don't get confused since different options can affect the run time. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123843 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
24af2969e3add2ef87b8f7287372c6c61e87d501 |
19-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix a typo in the comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123840 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
0de6ab53db8a87e6010a6cfcc18647b3bad6fbb6 |
19-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Added special logic to faciliate profiling the test suite run with the cProfile.py module. On my MBP running SnowLeopard: $ DOTEST_PROFILE=YES DOTEST_SCRIPT_DIR=/Volumes/data/lldb/svn/trunk/test /System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/cProfile.py -o my.profile ./dotest.py -v -w 2> ~/Developer/Log/lldbtest.log After that, I used the pstats.py module to browse the statistics recorded in the my.profile file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123807 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
otest.py
|
dcb3722c136f5fcd93741977abfff725549315d4 |
19-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
The test suite was unnecessarily doing a time.sleep() after performing the "process launch" or "run" interpreter command. Let's do the sleep only if the process launch failed. This saves about 135 seconds from the whole test suite run time. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123806 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
6465fa703afa3139872ba6f39895ac80379e01dd |
19-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Decorated two new expected failures: rdar://problem/8875425 Found mySource->isa local variable assertion failed git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123792 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/TestObjCStepping.py
|
03ff43534229991ec9bd71f4b79bf312f030a22c |
17-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Terminate the current process being debugged. The test framework was relying on detecting either "run" or "process launch" command to automatically kill the inferior. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123683 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
b01000fd063629facd45044f137446fb748ee179 |
17-Jan-2011 |
Greg Clayton <gclayton@apple.com> |
A few of the issue I have been trying to track down and fix have been due to the way LLDB lazily gets complete definitions for types within the debug info. When we run across a class/struct/union definition in the DWARF, we will only parse the full definition if we need to. This works fine for top level types that are assigned directly to variables and arguments, but when we have a variable with a class, lets say "A" for this example, that has a member: "B *m_b". Initially we don't need to hunt down a definition for this class unless we are ever asked to do something with it ("expr m_b->getDecl()" for example). With my previous approach to lazy type completion, we would be able to take a "A *a" and get a complete type for it, but we wouldn't be able to then do an "a->m_b->getDecl()" unless we always expanded all types within a class prior to handing out the type. Expanding everything is very costly and it would be great if there were a better way. A few months ago I worked with the llvm/clang folks to have the ExternalASTSource class be able to complete classes if there weren't completed yet: class ExternalASTSource { .... virtual void CompleteType (clang::TagDecl *Tag); virtual void CompleteType (clang::ObjCInterfaceDecl *Class); }; This was great, because we can now have the class that is producing the AST (SymbolFileDWARF and SymbolFileDWARFDebugMap) sign up as external AST sources and the object that creates the forward declaration types can now also complete them anywhere within the clang type system. This patch makes a few major changes: - lldb_private::Module classes now own the AST context. Previously the TypeList objects did. - The DWARF parsers now sign up as an external AST sources so they can complete types. - All of the pure clang type system wrapper code we have in LLDB (ClangASTContext, ClangASTType, and more) can now be iterating through children of any type, and if a class/union/struct type (clang::RecordType or ObjC interface) is found that is incomplete, we can ask the AST to get the definition. - The SymbolFileDWARFDebugMap class now will create and use a single AST that all child SymbolFileDWARF classes will share (much like what happens when we have a complete linked DWARF for an executable). We will need to modify some of the ClangUserExpression code to take more advantage of this completion ability in the near future. Meanwhile we should be better off now that we can be accessing any children of variables through pointers and always be able to resolve the clang type if needed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123613 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
0a185accbaa127802b3712d734f93f75fd7c7004 |
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123471 91177308-0d34-0410-b5e6-96231b3b80d8
bjc/Makefile
|
b3bd46318658e6adebe60c0999c614b25c6072ca |
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add makefile debugging rule for printing out the value of a variable. From http://blog.melski.net/tag/debugging-makefiles/. Example: [13:14:59] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CC CC=gcc origin = file flavor = recursive value = gcc [13:15:09] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-LD LD= g++ origin = file flavor = recursive value = $(call cxx_linker,$(CC)) [13:15:21] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CXX CXX= g++ origin = file flavor = recursive value = $(call cxx_compiler,$(CC)) [13:15:29] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123469 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
6c455d1262a945fb3e14c67d54f4a1a8fd92393c |
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Added comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123463 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
022d8299720d9fafe04ad57bea3bf0c029e653ec |
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make CC defaults to gcc. The cxx_compiler and cxx_linker functions rely on substituting "g++" for "gcc". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123461 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
1ec27e85d4d2b5664c826a3f03b4457e3980fdcb |
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add an expression command: expression (int)[nil_mutable_array count] within NSArray_expr() function and expect a return of 0. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123454 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods2.py
oundation/main.m
|
217dca58281065ddb3bde42b98004e1ce9c51465 |
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
The cxx_compiler function should not blindly return clang++ as the C++ compiler if $(CC) contains "clang". Instead, it should perform a textual replacement of $(CC) from "clang" to "clang++". The same is true for "llvm-gcc" to "llvm-g++" and for "gcc" to "g++". This way, we keep the path component of the $(CC) passed in from the user and do not end up with a mixed toolchains with different paths. Ditto for a newly added function called cxx_linker. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123451 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
0d62dfd4974eb23f550f992e594894b96c5696d1 |
14-Jan-2011 |
Greg Clayton <gclayton@apple.com> |
Fixed an error in the type map for "char **" that was a bad memory smasher. Anytime we had a valid python list that was trying to go from Python down into our C++ API, it was allocating too little memory and it ended up smashing whatever was next to the allocated memory. Added typemap conversions for "void *, size_t" so we can get SBProcess::ReadMemory() working. Also added a typemap for "const void *, size_t" so we can get SBProcess::WriteMemory() to work. Fixed an issue in the DWARF parser where we weren't correctly calculating the DeclContext for all types and classes. We now should be a lot more accurate. Fixes include: enums should now be setting their parent decl context correctly. We saw a lot of examples where enums in classes were not being properly namespace scoped. Also, classes within classes now get properly scoped. Fixed the objective C runtime pointer checkers to let "nil" pointers through since these are accepted by compiled code. We also now don't call "abort()" when a pointer doesn't validate correctly since this was wreaking havoc on the process due to the way abort() works. We now just dereference memory which should give us an exception from which we can easily and reliably recover. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123428 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
5fc81f3e1e3cdd5b1d85b0acc3966acc0fb94930 |
10-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong test case in main.c. Oops! git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123181 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/frame/TestFrames.py
ython_api/frame/main.c
|
80ef64d5707de121ab148b45dcf5dbf8a4996f95 |
08-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Blacklisted testclass STLTestCase for a known crasher <rdar://problem/8837118>. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123049 91177308-0d34-0410-b5e6-96231b3b80d8
lacklist.py
|
da4b9874ba75c4850f728162271c460a2237cddf |
07-Jan-2011 |
Greg Clayton <gclayton@apple.com> |
Added a recursive loop stress test for the unwinder. Not a real world test by any means, but something to stress test our unwinder with 260,000+ frames on a standard darwin thread. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123037 91177308-0d34-0410-b5e6-96231b3b80d8
ecurse/Makefile
ecurse/main.c
|
43ca9c1249e496802b26c66e3a945560ebfb908c |
07-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify disassemble_call_stack_python() to not rely on the "disassemble -n function_name" command to do the disassembly. Instead, use the Python API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123029 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypesDisassembly.py
|
108550d309c7ed60bcad2565d83b9846c8e7be68 |
07-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Print out a more meaningful exception message when/if CFBundleVersion matching failed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122985 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
26fd3898d4dfb4a3937ab4a03100a08c70c5ebac |
06-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Modify test_help_version() test case to be more precise in matching the version number string as found in the resources/LLDB-info.plist file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122930 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
c87fd49b6a338372fd6667ad09892b70d57b08fd |
05-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Properly indent the short description of the test case to make it align with the previously added ordinal number of the currently running test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122922 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
810042efba4eb9b02e5de1529ebfc01ed821cca5 |
05-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Enhance the test framework to be able to emit a counter value in verbose mode describing the ordinal number of the currently running test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122901 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
3ad01865d3ce941afe696e37bba1361c3a7fc0bf |
03-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix typo of the test method name. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122770 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/TestObjCStepping.py
|
0633400aca9dd36bba07c4c1e289c8df7c160bd5 |
03-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Updated comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122767 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
f2a3b41228d6975a596aa2ff44d9363ef768af27 |
24-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Uncomment the two failed 'expression' commands regarding fully qualified namespace variables. And decorate the test cases as @expectedFailure. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122525 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
902e018b7b7b16609099c656c97ec2c0cb115c00 |
23-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple command: 'version' to the command interpreter, and an accompanying test case test_help_version(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122515 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
0ace30fd52cd6004f0a010c009b910336a1d50eb |
23-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for the SBFrame APIs. In particular, it uses the frame API to get the argument values of the call stacks when stopped on the breakpoint. Radar has been filed for the expected failures: test failure: ./dotest.py -v -w -t -p TestFrames (argument values are wrong) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122460 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ython_api/frame/Makefile
ython_api/frame/TestFrames.py
ython_api/frame/main.c
|
ba1c82d1626866ef818c3b575c0cdb4eb74b89ac |
22-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
No need to pass an empty string as an arg or as an env string to the SBTarget.LaunchProcess() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122450 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
ython_api/event/TestEvents.py
ython_api/symbol-context/TestSymbolContext.py
|
17ac79bd57c1d89767bffccfec755df159205e2c |
22-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the breakpoint command function. Instead of fetching the command interpreter and run the "process continue" command, use the SBProcess.Continue() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122434 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/conditional_break.py
|
be9f0b914c4d23df32ce80d30d6d786572e50691 |
22-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modify one assertion message. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122428 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
|
ec8ebe991fbb6ac3381c18793bf6794bf8de38ce |
22-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix some typos in the docstrings and also update the test method names. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122382 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
69450cd06f316ce97667ffbb2405b87f20fb3e89 |
22-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases for registering a listener object with the broadcaster of a process and waiting for two expected state changed events to arrive: "running" followed by "stopped". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122380 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
0137f91079c4aab0fbdaf8db712899bb3a1f2668 |
21-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Rename the test methods to be more meaningful. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122352 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
c132a180f93f7586a105ad4dd2e1d5e69f13b1a8 |
21-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Set the debugger to asynchronous mode before using the Python API call to kill the process. The custom thread started before this point is running in a loop waiting for events to come. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122316 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
add437a7068b70b213511f93843ac0a2e2af002f |
21-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122306 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/TestEvents.py
|
ca4c7243ecd0a8dd1aea3009e512cd442c6c1233 |
21-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added python_api/event/TestEvents.py to get the listener object associated with the debugger and to exercise some event APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122304 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/event/Makefile
ython_api/event/TestEvents.py
ython_api/event/main.c
|
7add5992a2dbd7ca1f18e917247da0907c422afe |
20-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the test case test_set_prompt() to no longer require quotes around lldb2 in: # Set prompt to 'lldb2'. self.runCmd("settings set prompt lldb2") git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122272 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
2a99b2a5897e99af4f7027ea520dbee8f9fd6b13 |
17-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong test logic -- should pass "-s address" option to "image dump symtab" in order to sort the output by address. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122071 91177308-0d34-0410-b5e6-96231b3b80d8
rder/TestOrderFile.py
|
e404746f7d10a2e95111dbd294cfd7a52e884a1e |
16-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use SBModule.GetDescription(SBStream) API to get the module description to match against. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121989 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/symbol-context/TestSymbolContext.py
|
6c884d274767348941f41b37a14ca3cf3417e029 |
16-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Update the comment section of blacklist.py with the command line to reproduce the crash. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121986 91177308-0d34-0410-b5e6-96231b3b80d8
lacklist.py
|
002e8696020f084ce9425ff833099e9346454f2d |
16-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add python_api/symbol-context to test getting the symbol context while stopped on a frame and to exercise the methods of SBSymbolContext. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121941 91177308-0d34-0410-b5e6-96231b3b80d8
ython_api/symbol-context/Makefile
ython_api/symbol-context/TestSymbolContext.py
ython_api/symbol-context/main.c
|
cf660dbdaa7e58655c1dac1d63f968b2963eba11 |
15-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix one of the golden output of "frame variable -t *self" to be: "(MyString) *self" git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121907 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
b3e7181e269e8d26958efc47e362cb6189ecaaca |
15-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix typos in SBBreakpoint::GetThreadIndex()/GetThreadName(), and test sequences for the two API calls. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121898 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
fd570bab182e3abf507eae464dcf2981776d2019 |
15-Dec-2010 |
Jim Ingham <jingham@apple.com> |
Added a test for finding the correct values for ivars when a property causes the ivar offsets in the DWARF to be incorrect. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121894 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/Makefile
oundation/TestObjCMethods.py
oundation/main.m
oundation/my-base.h
oundation/my-base.m
|
ba23f58f7359b943d8d8ae7f05e15419c6918c6f |
15-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an entry for test case BasicExprCommandsTestCase.test_evaluate_expression_python, due to crashes while running the entire test suite with clang-126. To reproduce: CC=clang ./dotest.py -v -w 2> ~/Developer/Log/lldbtest.log To skip this test case: CC=clang ./dotest.py -b blacklist.py -v -w 2> ~/Developer/Log/lldbtest.log git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121887 91177308-0d34-0410-b5e6-96231b3b80d8
lacklist.py
|
d36f590c82bc8a69d67793450aecf48db73463d4 |
15-Dec-2010 |
Caroline Tice <ctice@apple.com> |
Add test cases to test various aspect of the 'alias' command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121879 91177308-0d34-0410-b5e6-96231b3b80d8
lias_tests/Makefile
lias_tests/TestAliases.py
lias_tests/main.cpp
|
c3b61d239a53271d013b82ffaba6ab4e92b7fcc1 |
15-Dec-2010 |
Greg Clayton <gclayton@apple.com> |
Fixed the "expression" command object to use the StackFrame::GetValueForExpressionPath() function and also hooked up better error reporting for when things fail. Fixed issues with trying to display children of pointers when none are supposed to be shown (no children for function pointers, and more like this). This was causing child value objects to be made that were correctly firing an assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121841 91177308-0d34-0410-b5e6-96231b3b80d8
orward/TestForwardDeclaration.py
oundation/TestObjCMethods.py
|
3cdf729d13ebc82807875125b69fbe6ba2b15f8a |
15-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modify the test case to run under ['gcc', 'llvm-gcc', 'clang'] x ['x86_64', 'i386'] combinations. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121818 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/TestAbbreviations.py
|
387fe61678a657a619ce27242e142d614438ed89 |
15-Dec-2010 |
Caroline Tice <ctice@apple.com> |
Add test cases to make sure the Command Interpreter is handling command completion properly (e.g. abbreviated commands, which are NOT the same as aliases). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121814 91177308-0d34-0410-b5e6-96231b3b80d8
bbreviation_tests/Makefile
bbreviation_tests/TestAbbreviations.py
bbreviation_tests/change_prompt.lldb
bbreviation_tests/main.cpp
|
1decbac946c030604f06d84c11fb9016e99bbf4c |
15-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Rearrange some statements so that the adding of teardown hook follows immediately after the statement it wants to revert the effect of. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121813 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
a50971fb1a2aa5bf3e826f0750f906f06a702de0 |
15-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the TestSettings.py test cases use different output filenames: o "output1.txt" for test_pass_host_env_vars() test case o "output2.txt" for test_run_args_and_env_vars_with_dsym() test case o "output2.txt" for test_run_args_and_env_vars_with_dwarf() test case and add teardown hook to test_pass_host_env_vars() in order to properly unset the host environment variables set while running the test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121811 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
ettings/main.cpp
|
ec882743f663e303afda1d2db3babd43e6b9b138 |
15-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Execute the test case teardown hooks in a LIFO (last in, first out) order. ALso add a teardown hook to the LoadUnloadTestCase.test_dyld_library_path() test case to have it restore the DYLD_LIBRARY_PATH environment variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121802 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
oad_unload/TestLoadUnload.py
|
b201736d1daeee3238a9e85947d93a1044d09439 |
14-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case LoadUnloadTestCase.test_dyld_library_path to test launching a process linked with a dylib which has been relocated by specifying the DYLD_LIBRARY_PATH environment variable. Test that the function name breakpoint defined in the dylib is resolved. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121796 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
oad_unload/d.c
oad_unload/main.c
|
a8e2ea75519c7c8c19741e7ac016a924cc46962d |
14-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modify test cases to accomodate Python API change: o SBFrame.LookupVar -> FindVariable o SBFrame.LookupVarInScope -> FindValue git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121782 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_conditions/TestBreakpointConditions.py
lass_static/TestStaticVariables.py
onditional_break/TestConditionalBreak.py
bjc-stepping/TestObjCStepping.py
|
d1a4796ee349f7233a9c766a4162d71e598c6327 |
14-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the golden output so that merely evaluating an existing persistent variable does not result in a newly created persistent variable. The old one is returned, instead. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121775 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/persistent_variables/TestPersistentVariables.py
|
427f290ff96f3ab9f2cf3a1af7001d2c560424c7 |
14-Dec-2010 |
Greg Clayton <gclayton@apple.com> |
Modified LLDB expressions to not have to JIT and run code just to see variable values or persistent expression variables. Now if an expression consists of a value that is a child of a variable, or of a persistent variable only, we will create a value object for it and make a ValueObjectConstResult from it to freeze the value (for program variables only, not persistent variables) and avoid running JITed code. For everything else we still parse up and JIT code and run it in the inferior. There was also a lot of clean up in the expression code. I made the ClangExpressionVariables be stored in collections of shared pointers instead of in collections of objects. This will help stop a lot of copy constructors on these large objects and also cleans up the code considerably. The persistent clang expression variables were moved over to the Target to ensure they persist across process executions. Added the ability for lldb_private::Target objects to evaluate expressions. We want to evaluate expressions at the target level in case we aren't running yet, or we have just completed running. We still want to be able to access the persistent expression variables between runs, and also evaluate constant expressions. Added extra logging to the dynamic loader plug-in for MacOSX. ModuleList objects can now dump their contents with the UUID, arch and full paths being logged with appropriate prefix values. Thread hardened the Communication class a bit by making the connection auto_ptr member into a shared pointer member and then making a local copy of the shared pointer in each method that uses it to make sure another thread can't nuke the connection object while it is being used by another thread. Added a new file to the lldb/test/load_unload test that causes the test a.out file to link to the libd.dylib file all the time. This will allow us to test using the DYLD_LIBRARY_PATH environment variable after moving libd.dylib somewhere else. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121745 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/Makefile
oad_unload/d.c
|
7a4512bdd87993a09c52c82239e4cdc14bac0e2c |
13-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add TestBreakpointIgnoreCount.py to exercise the breakpoint ignore count features, with both command line and Python API tests. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121717 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_ignore_count/Makefile
reakpoint_ignore_count/TestBreakpointIgnoreCount.py
reakpoint_ignore_count/main.c
ldbtest.py
|
5aa1ebc3ab10eb2bce9410d4997944a411a4bac4 |
13-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the test case SourceManagerTestCase.display_source_python stronger by also matching the source line number displayed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121706 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
e5791dd89688683c9e1ec874b0be6906517e6827 |
11-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test_display_source_python() test case to TestSourceManager.py which uses the lldb PyThon API SBSourceManager to display source files. To accomodate this, the C++ SBSourceManager API has been changed to take an lldb::SBStream as the destination for display of source lines. Modify SBStream::ctor() so that its opaque pointer is initialized with an StreamString instance. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121605 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
3f1696caef6b6f13bafde83a9c90302281cea7e9 |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make sure that @python_api_test is only used to decorate a test method, not the test class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121538 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
cc659ad4d604d198aac952cdea2a95a188184aff |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Do not specify both '-a' and '+a' at the same time. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121501 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
3ebdaccbbb3567d6de652b91083997fbf10079ba |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a '+a' command line option to the test driver to run only the Python API tests. Add an attribute __python_api_test__ (set to True) to the @python_api_test decorated test method to distinguish them from the lldb command line tests. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121500 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
ec953b506f22eea6bd66dbec25bcecba4aca7fcd |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add the @python_api_test decorator for two test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121499 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/TestObjCStepping.py
|
ad5518d3151d829470515ba41c4733793f1d1a0b |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix some typo in method names and docstrings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121494 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/TestObjCStepping.py
|
9ac4be9a7d8af74d761b6f1ce1fb1ba1822f1e3d |
10-Dec-2010 |
Jim Ingham <jingham@apple.com> |
Added some tests for ObjC stepping, step into ordinary and stret methods, and stepping through a KVO swizzled object's method calls. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121457 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/Makefile
bjc-stepping/TestObjCStepping.py
bjc-stepping/stepping-tests.m
|
0678f8e583d79475c574cfc89f77e616fa2468c5 |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add @python_api_test decorator to the remaining Test*.py files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121448 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_conditions/TestBreakpointConditions.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
onditional_break/TestConditionalBreak.py
oundation/TestSymbolTable.py
ello_world/TestHelloWorld.py
|
013c574ff1c4640d137b222baaff26c245780065 |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix a test method docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121446 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
4f93bf1b34e9828ff630eddb908adfb04e05aadf |
10-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an infrastructure to mark the Python APIs only test using a decorator. Example: @python_api_test def test_evaluate_expression_python(self): """Test SBFrame.EvaluateExpression() API for evaluating an expression.""" ... The opposite of Python APIs only test is an lldb command line test, which sends commands to the lldb command interpreter. Add a '-a' option to the test driver to skip Python API only tests. Modify TestExprs.py to mark a test as @python_api_test and remove an @expectedFailure decorator as the bug has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121442 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
xpression_command/test/TestExprs.py
ldbtest.py
|
5899a236ebddf84fac2c17fd147da2ce1400f0cf |
10-Dec-2010 |
Jim Ingham <jingham@apple.com> |
Added the source file for some ObjC stepping tests. No test yet. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121440 91177308-0d34-0410-b5e6-96231b3b80d8
bjc-stepping/stepping-tests.m
|
f8312226abff13305649464018c05ed3eb9d03e2 |
09-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more module docstring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121421 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
28e496637152dbbab821c442a0a788c975d4a989 |
09-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Minor docstring change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121419 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
88044a94e532f51895a33fe58c0b51b46f6dde4f |
09-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove unnecessary imports. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121393 91177308-0d34-0410-b5e6-96231b3b80d8
ource-manager/TestSourceManager.py
|
6f7abb0f208ce48636aa3bf0e885865d30e961f2 |
09-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test/source-manager directory for testing lldb core component SourceManager. Initial test case test_modify_source_file_while_debugging() in TestSourceManager.py tests the caching mechanism of the source manager. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121389 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ource-manager/Makefile
ource-manager/TestSourceManager.py
ource-manager/main.c
|
deaf884abce0117add8ed0e83491c10eeb8bf220 |
08-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more docstring for the lldb_iter() utility function which provides a compact way of iterating through an aggregate data structure. The added example usage is from an actual use in test/foundation/TestSymbolTable.py: 2. Pass a container of aggregate which provides APIs to get to the size and the element of the aggregate: # Module is a container of symbol table module = target.FindModule(filespec) for symbol in lldb_iter(module, 'GetNumSymbols', 'GetSymbolAtIndex'): name = symbol.GetName() ... git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121271 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
4d426c617189a62a1548e3ecb30c95b4625e0851 |
08-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modify the TestObjCMethods2.py test to fix a typo (should be str_id, not id). Also, add bug info for expected failures that remain: <rdar://problem/8741897> Expressions should support properties git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121268 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods2.py
oundation/main.m
|
8fd886cc389b95fa15d9f8da3b49ef9a0351c313 |
08-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
For SBTarget.Launch()/LaunchProcess(), there's no need to pass an empty string as the args and the envs to the launched process. o lldbtest.py: Forgot to check in some assertion messages changes for lldbtest.py. o dotest.py: Also add "api" category to the default lldb log option list. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121220 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_static/TestStaticVariables.py
lass_types/TestClassTypes.py
onditional_break/TestConditionalBreak.py
otest.py
oundation/TestSymbolTable.py
ello_world/TestHelloWorld.py
ldbtest.py
hreads/TestPrintStackTraces.py
|
a3a67d4bd57c5c4a6d0a6b05f55b57ffc9623f88 |
08-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test_evaluate_expression_python() to exercise SBFrame.EvaluateExpression() Python API. Launch the process with ['X', 'Y', 'Z'] as the args to make argc == 4 and verify that's the case, plus some other EvaluateExpression() calls. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121218 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
5045fdce8267fe6d5dee809fd45f66be4bf8feee |
08-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use Python raw string literal to avoid escaping the escape sequence and to make the command given to lldb command interpreter more readable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121199 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
94756b1afd3871f77e3de7949434bcf7ce97f827 |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the various expression command test sequences more strict by also verifying the results against our golden ones. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121185 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
6369bbb1bf3100e7788ef5bd210d564a3dbe18d6 |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test sequence for test_expr_commands_can_handle_quotes(self): # runCmd: command alias print_hi expression printf ("\n\tHi!") # output: self.runCmd('command alias print_hi expression printf ("\\n\\tHi!")') # This fails currently. self.runCmd('print_hi') and modify existing test sequences to escape the escape character '\ to prevent it from being interpreted by Python before passing on to the lldb command interpreter. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121183 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
6cdafd7da292cde69abd0f8716561509236157c4 |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove comment no longer applied. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121178 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
|
44c841d68a439da13e3f170427675bff8c7f2731 |
07-Dec-2010 |
Caroline Tice <ctice@apple.com> |
- Fix alias-building & resolving to properly handle optional arguments for command options. - Add logging for command resolution ('log enable lldb commands') - Fix alias resolution to properly handle commands that take raw input (resolve the alias, but don't muck up the raw arguments). Net result: Among other things, 'expr' command can now take strings with escaped characters and not have the command handling & alias resolution code muck up the escaped characters. E.g. 'expr printf ("\n\n\tHello there!")' should now work properly. Not working yet: Creating aliases with raw input for commands that take raw input. Working on that. e.g. 'command alias print_hi expr printf ("\n\tHi!")' does not work yet. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121171 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
|
0bbe13aa6ed83d2b5aca8b00e208680c9c34cd46 |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test/foundation/TestSymbolTable.py to exercise accessing the symbol table entries (including synthesized properties) through the lldb Python APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121168 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestSymbolTable.py
|
c418ec28f83f9bc3b09837d255c903f587c43e92 |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
'thread backtrace', not 'thread backtrac'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121151 91177308-0d34-0410-b5e6-96231b3b80d8
ignal/TestSendSignal.py
|
f9954b5db8e58d83580233e442e7344b3c01280a |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
The do_simple_disasm() also needs to be modified to accommodate the recent changes to main.m. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121150 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestFoundationDisassembly.py
|
61a000dd86f8fbdcd457b7c21414cf6ec36e4c29 |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add expect matching patterns for some self.expect() statements. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121077 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods2.py
|
265da226719ccfba9a723a0f66cd27e97e9da7f2 |
07-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add TestObjCMethods2.py to exercise more expression command sequences with objc. Mark NSArray_expr() and NSString_expr() as currently failing. Both are called from dsym and dwarf builds. So that makes the num of expected failures equal 4. ---------------------------------------------------------------------- Ran 6 tests in 19.856s OK (expected failures=4) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121068 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods2.py
|
e6eb9726f299e5084d42f033d71d329bf67c08cc |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Minor comment string change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121063 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
726cbce11cd3fc5846f9738a175699b173c8d981 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
More descriptive comment string. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121062 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
3ab6cf0cc47e8a34296da25aa87f1cf691e28b07 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modify Test_Selector's comment string, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121052 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
4f1ef9d52d5eb35d33a9742738ff1657a8610421 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Disambiguate the comment strings in order to be used from the .py test file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121051 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
e54840c3ddc03a2b5b3afdc94b8d5294e65b2bb9 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modified main.m and TestObjCMethods.py to unbreak the test/foundation directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121046 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
oundation/main.m
|
0bb9b5c35ccda8e51d961f476ed56cfa7ae99376 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Forgot to also check in this file with the previous r121036 change: /lldb/trunk/test/load_unload/TestLoadUnload.py git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121045 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/main.c
|
46ffd861e6342398f89f29f5086e6e9c0d5c6b90 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fail fast by raising an exception if the 'string_to_match' cannot be located within the file 'filename'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121039 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
55e1bdf472f3965243ebfd634c1d729bbed58353 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case test_lldb_process_load_and_unload_commands() for using lldb commands 'process load' and 'process unload' to load and unload shared library from lldb command lines. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121036 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
6e5d9e072ab43a33ab6183ca9de2658e22b9bc97 |
06-Dec-2010 |
Greg Clayton <gclayton@apple.com> |
Added more test case functions to cover more objective C functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121027 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
ecd834d482ef001989d4ce60042e4d018a5ac569 |
06-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add two test cases to exercise many expression commands: o test_many_expr_commands() o test_expr_commands_can_handle_quotes() Mark test_expr_commands_can_handle_quotes() as @expectedFailure: # rdar://problem/8686536 # CommandInterpreter::HandleCommand is stripping \'s from input for WantsRawCommand commands git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121019 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/TestExprs.py
|
9b0d14e0156ac150ed4e267983ae169ebd317c74 |
06-Dec-2010 |
Greg Clayton <gclayton@apple.com> |
Use full command to avoid "expr" alias. Add bug number for current expected failures. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120976 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/main.cpp
|
363527c45f68c2903cda5af8a9195483d5fed638 |
06-Dec-2010 |
Greg Clayton <gclayton@apple.com> |
Added a simple test case that can be used to test out the expression parser more completely. Example expressions are in the comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120975 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/test/Makefile
xpression_command/test/main.cpp
|
fee88866dea96fc619f0b54c055ba4009c8be54e |
04-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test method test_pass_host_env_vars to 'class SettingsCommandTestCase(TestBase)' which tests the recently added lldb feature of automatically passing the host environment variables to the launched process. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120871 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
ettings/main.cpp
|
1ad9e990c23105d6facda85d090118e209bd1671 |
04-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Forgot to also check in this file along with the TestBreakpointConditions.py change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120861 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
7c9a8b57ba1b3ba36061dba07d3d2b440162f0c4 |
04-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Test that "breakpoint modify -c ''" clears the condition for the last created breakpoint, so that when the breakpoint hits, val = 1 instead of 3. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120859 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
7d6d84435a99d8cc59523b0c1985a8eb4f2af5bf |
03-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add the '-F' option to the test driver, which makes the running of test suite failfast. As soon as an error or a failure is encountered, it stops the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120837 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
58bf344ecda295b7be24c3fe1d4d00a17a0cc475 |
03-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Log just the thread name, not process/thread id for easier human reading. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120751 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
19eee0d65fb6b1c216701c664bf68cb74dae91bd |
02-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
When logging, enable process and thread ID recordings. Also add 'state' to the lldb log-categories, so it now becomes "event process expr state". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120745 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
7ab8c85f52db89ea952587ef689f112fe671b619 |
02-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
For lldb loggings, prepend log lines with a timestamp. And change the default log options: o lldb => event process expr o gdb-remote => packets process git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120725 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
21c7c21234079dbd52ed25e9a121212663ba242d |
02-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
On second thought, inserting a delay of 1.0 second slows down the test suite for the types directory quite a bit and masking out potential problems. Enable the delay via an environment variable, instead. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120719 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
118d742036e0a8b04c5efb65a39fa6bbf461aa2f |
02-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
GenericTester.generic_type_expr_tester(): Don't overwhelm the expression mechanism. Previously, there was no delay between successive invocations of 'expression' command. The test suite run has experienced 'Resume timed out' or similar error messages. Now we currently add a sleep of 1.0 second before issuing the next 'expression' command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120626 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
0eaaf322dd9b8ffb6289f1bb3d0fec982546fbaa |
02-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a mechanism of overwriting the default 1.0 second wait time between test cases when specifying '-w' to the test driver, by using an environment variable LLDB_TIME_WAIT_BETWEEN_TEST_CASES. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120625 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
c95fe320ae4b923ae0164e4dda4139e202c225a7 |
02-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove @expectedFailure decorator as the bug has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120624 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
ecfc3cf9799f488b905bbcc095379a10152bda8e |
02-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
TestBase.setUp() needs to make sure lldb.blacklist is not None before iterating on it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120623 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
82e6b1ef7cdb39c0d0c93142b195969b2dee63f0 |
01-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a '-b blacklistFile' option to the test driver to take a file specifying the test classes or test cases to be excludued from the test suite. Check in an example blacklist file: blacklist.py: """ 'blacklist' is a Python dictionary, it stores the mapping of a string describing either a testclass or a testcase, i.e, testclass.testmethod, to the reason (a string) it is blacklisted. Following is an example which states that test class IntegerTypesExprTestCase should be skipped because 'This test class crashed' and the test case FoundationTestCase.test_data_type_and_expr_with_dsym should be skipped because it is 'Temporarily disabled'. blacklist = {'IntegerTypesExprTestCase': 'This test class crashed', 'FoundationTestCase.test_data_type_and_expr_with_dsym': 'Temporarily disabled' } """ blacklist = {} An example of invoking the test driver and specifying a blacklist file: ./dotest.py -b blacklist.py -v types This runs the tests under 'types' directory but excludes the tests specified in balcklist.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120620 91177308-0d34-0410-b5e6-96231b3b80d8
lacklist.py
otest.py
ldbtest.py
|
cfc53a2f9524a8063811cf8adac987ca3154e632 |
01-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test cases to test that: 1. 'help image du sym' is ambiguous. 2. 'help image du line' is not ambiguous. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120587 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
a2b1ac89c292850836b74bec0f655dc18e65ffab |
01-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure decorator as the bug has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120515 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
61eb4f1a4361cc4774016acf66b40cd1d188ba83 |
01-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add @expectedFailure decorator for a known bug: rdar://problem/8689814 test failure: test/macosx/universal (the i386 slice does not break?) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120505 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
8bf15e25b2bdf6019f3ff6a3e590075f4c190775 |
01-Dec-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add expectedFailure decorator for test_help_image_dump_symtab_should_not_crash(). Possibly due to http://llvm.org/viewvc/llvm-project?rev=120484&view=rev. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120503 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
0d037c93753f0daae4265f4f090a5ce69adc1861 |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove @skip decorators for fixed crashes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120479 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
xpression_command/radar_8638051/Test8638051.py
oundation/TestObjCMethods.py
amespace/TestNamespace.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
85c697b211925554297b5ff367e4551bac8af9a6 |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Skip two test classes due to: rdar://problem/8710994 Assertion failed: (reg_info) GDBRemoteRegisterContext.cpp, line 199 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120462 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
12c32c16be1fa4e5112689c765da8fb275e5138a |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Entire test class skipped due to: rdar://problem/8710994 Assertion failed: (reg_info) GDBRemoteRegisterContext.cpp, line 199 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120434 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
0381063b5ecc7242c0e8054c14f4b695b561e07c |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Entire test class skipped due to: rdar://problem/8710994 Assertion failed: (reg_info) GDBRemoteRegisterContext.cpp, line 199 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120432 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_8638051/Test8638051.py
|
a707b02126d51e4aac0093dc976978e043c7c0be |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Skipped two test cases due to seg fault while hadnling command: Application Specific Information: HandleCommand(command = "expression self->str") radar:8711052 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120431 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
677228ad66c9ff13629770f803c4f23c2fdc0efe |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Entire test class skipped due to: rdar://problem/8710994 Assertion failed: (reg_info) GDBRemoteRegisterContext.cpp, line 199 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120430 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
6bdc124f3c27c26c127c9da30b1e5a2b45aeb4d0 |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add comment for a branch of test logic which applies to ['clang', 'llvm-gcc'] only. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120355 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/TestStaticVariables.py
|
b1349b626c8df3e6b832629ed46a7eba9da35760 |
30-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Minor comment fix. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120352 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
24f43bef1f1b7ef23d32d36f47f3dd51b1241876 |
29-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an expect() statement within breakpoint_conditions() method which tests that the process status is indeed 'stopped' before invoking 'frame variable -t val' command to inspect the frame variable. When I run the test suite, it sometimes emits an output like: runCmd: frame variable -t val runCmd failed! error: you must be stopped in a valid stack frame to view frame variables. The expect() statement inserted is to make sure that the process is stopped and we have a valid frame. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120318 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
ldbtest.py
|
458a67ec9118ec5e6ef8d5dc0d407aa0c7ac695e |
29-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the variable TestBase.timeWait to the more descriptive timeWaitNextLaunch. Increase the delta between successive test cases, enabled with the '-w' option to the test driver, from 0.5 to 1.0 second, to arrive at a cleaner state before the next test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120315 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
d6e7ca2be8c5f4afa94059851a9617d3b950396a |
29-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120295 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
360dd372c413c82f651775320bfd4052c31eec00 |
29-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
When looping through the test suite more than once (repeat count > 1), we should ignore and not enforce the signleton pattern for the LLDBTestResult class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120294 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
a5cf463b820e1ed97947ee0dd962bece5e111b8e |
19-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add TestSignedTypes.py to test that variables with signed types display correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119836 91177308-0d34-0410-b5e6-96231b3b80d8
igned_types/Makefile
igned_types/TestSignedTypes.py
igned_types/main.cpp
|
c35750a4869c3698ffb888ba5896fc56313583cc |
19-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fill in more test sequences for Python API SBFrame.LookupVarInScope(name, scope). Change SBFrame::LookupVarInScope() to also work with "global" scope in addition to "local" and "parameter" scope. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119811 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/TestStaticVariables.py
lass_static/main.cpp
|
742825b622d0fbed79f977598c6d06e05bc5d94f |
19-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add Python API tests for file and class static variables, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119758 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/TestStaticVariables.py
|
3c3f9a34ce2482da7b6ca50e952eedcc16daa4bf |
18-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test for displaying file and class static variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119734 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/TestStaticVariables.py
lass_static/main.cpp
|
ed1e2980346003c46fd59e1aca03edde2526137d |
18-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove whitespace chars. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119732 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
3ae449a5c3b4f51afc0da22cfeaef00c303c0acc |
17-Nov-2010 |
Jim Ingham <jingham@apple.com> |
Added an "Interrupted" bit to the ProcessEventData. Halt now generates an event with the Interrupted bit set. Process::HandlePrivateEvent ignores Interrupted events. DoHalt is changed to ensure that the stop even is processed, and an event with the Interrupted event is posted. Finally ClangFunction is rationalized to use this facility so the that Halt is handled more deterministically. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119453 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
6b22756bafa6fb4b168805e4683c2e8424f31cb7 |
17-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the string matching for 'frame variable' more stringent with respect to output from clang and llvm-gcc compiled program; both generate the correct debug info with respect to the typedef scoped inside a namespace. Add a TestBase.getCompiler(self) method which returns the compiler in effect the test suite is now running with. Subclasses (like TestNamespace) can use it to distinguish among different compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119445 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
amespace/TestNamespace.py
lugins/darwin.py
|
d2acdb38ed0f756e8dd846e65fa149bd49a872c3 |
16-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an option '-# count' to run the specified test suite for a said number of times. This is not to be used during normal test suite run, but to be used to stress test specific test sequences repeatedly. Example: ./dotest.py -# 3 -v breakpoint_conditions will repeat the test suite 3 times for tests under the breakpoint_conditions directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119399 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
95c3bbd91ed067fda224533b9af771af57851c96 |
16-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Disambiguate the name lookup for the data type of anon_uint variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119353 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/main.cpp
|
5962c5501da76bb1a63f42396fae85b5629f2397 |
15-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Check in a test case for rdar://problem/8668740: 'frame variable' output for namespace variables look wrong git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119172 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
35c837d727355e52a6f97126ce70a99048c71d33 |
15-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add radar info for failed expression command test sequences which are now commented out. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119171 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
0611df82cbfd36217a062a6f2d97ac9013393004 |
15-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Also add a test for "frame variable '(anonymous namespace)::i'", plus expression command using fully qualified names. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119168 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
ecc5be2aa69a72ed0e6b1b0a4ddcbbf6644d9e19 |
15-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test sequences for 'frame variable' address-of operator and 'frame variable' fully-qualified name variable. Also add some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119165 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
amespace/TestNamespace.py
|
d02f9699d1e6d0029f2bba4a31d670ac5ef5cc63 |
15-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test sequence for 'frame variable this' and 'expression this' when stopped inside a ctor. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119162 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
3d97b0655156d7bb0291da45761bb6718a9370a1 |
15-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure decorator and uncomment 'expression -- i + j" test, as both rdar://problem/8659840 and rdar://problem/8660275 have been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119160 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
b5037af312160b2f396aad579e45619af3126e4a |
15-Nov-2010 |
Greg Clayton <gclayton@apple.com> |
Added quotes around names that are being lookup up or inspected in the expression logging. Added some properties to the "objc" test. The expression parser can currently display properties that are backed by the default functions "expr myStr.string" will work. But it won't currently work when the property is backed by a different function such as "expr myStr.date". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119103 91177308-0d34-0410-b5e6-96231b3b80d8
bjc/main.m
|
9b557e5f60829f7204a456bde44d0b8613c8eca3 |
15-Nov-2010 |
Greg Clayton <gclayton@apple.com> |
Fixed the initWithNSString: function to properly initialize self. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119091 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
e75254647771aa32347106309be98e270842f1f9 |
12-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Implement TODO's of using expression command to set vaiables and to verify that they are displayed correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118930 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
|
e0eb5cdcf2149d998e4e5bcf36b3ad21085d0c3c |
12-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add information for two bugs exposed by this test file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118869 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
710dfe0828ccda4a9bd2eba0d86c6e916440dd64 |
12-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Run commands 'expression self->str' and 'expression self->date'. They should not fail. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118868 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
d08406f3879fe9b89f1ee3628d24a660d67fc5af |
12-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix the @expectedFailure usage error and add a commented out section of code to exercise 'expression' command on namespaced variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118867 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
6cea1c8718f7965bbf3d91e1e0697fcdf6594cf6 |
12-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add @expectedFailure decorator for test_with_dwarf_and_run_command() test method: rdar://problem/8659840 test failure: ./dotest.py -v -t -f NamespaceTestCase.test_with_dwarf_and_run_command git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118861 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
|
b527f2619ca17e11bfa23fb7c252302aa208b9d3 |
12-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
The session log entry containing the command to rerun the same test now also includes the architecture and compiler specs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118860 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/darwin.py
|
ef7a5fcb438a83dd90cf9781e50965c32c13cbb7 |
12-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add TestNamespace.py to exercise printing of anonymous and named namespace variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118856 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/TestNamespace.py
amespace/main.cpp
|
b7c59ceca1e5e8f36c00f41a2d5c3cf878d55876 |
11-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Simplify Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118851 91177308-0d34-0410-b5e6-96231b3b80d8
amespace/Makefile
|
a85859f87fe7e6170af5e120b9b049f60410742d |
11-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add help message for the scenario of using lldb.py module distributed by Xcode4 to invoke the test driver. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118847 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
7235a5e1c8e61f7132d48b80dddc04f6354eb916 |
11-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make clang happy. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118839 91177308-0d34-0410-b5e6-96231b3b80d8
ignal/main.c
|
9e974ff1c562a78ffeec77623d0765333fde3ebd |
11-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed compilation warnings emitted by clang. Plus make finding the break line number in main.cpp more robust. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118832 91177308-0d34-0410-b5e6-96231b3b80d8
hreads/TestPrintStackTraces.py
hreads/main.cpp
|
917b09a69115826eb7ab6f855ce6ccf858957eb5 |
11-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a simple test for: rdar://problem/8651752 don't crash trying to ask clang how many children an empty record has git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118820 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
e8587d04103f6e9c0efbf0678dd66ab7a928222c |
11-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Some rewordings of the assert messages for process stopped due to breakpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118739 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
634c86f379f84e4b8536e5bc4318e26bedc6c32c |
11-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Slight changes to how to phrase the assert for Python API thread.GetStopReason(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118731 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_types/TestClassTypes.py
ello_world/TestHelloWorld.py
|
631c45d2606e491efeef1913fd6df326ca285c7a |
10-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Finish adding the actual stop reason as part of the assert message when asserting: thread.GetStopReason() == lldb.eStopReasonBreakpoint git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118713 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_types/TestClassTypes.py
ello_world/TestHelloWorld.py
|
c82ac7686f69e265e75d616856ccbe877f37e3bb |
10-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add the actual stop reason to an assert message for bitfields_variable_python() test method when asserting: thread.GetStopReason() == lldb.eStopReasonBreakpoint git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118711 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
ldbtest.py
|
b1a3d9ce55450fd8357f4bebed1de1547f1a080f |
10-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove @skip decorator: @unittest2.skip("rdar://problem/8648070 'expression *bar_ptr' seg faults") It has been fixed by r118672. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118695 91177308-0d34-0410-b5e6-96231b3b80d8
orward/TestForwardDeclaration.py
|
26be4532bee7111b52ae4bba6628efed17cd23db |
10-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more comments on LLDBTestResult class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118655 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
47c47c4a961f37e3db8052999414e9adebbacd49 |
10-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Rephrase the output message about session information; make it both "session logs". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118650 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
55c1bfd1a91113dfc62ce912952d6ddc7e54e3ca |
09-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
When dumping the session log for a failed/errored test, also emit the command to invoke the test driver to rerun the very same test. Example output: /Volumes/data/lldb/svn/trunk/test $ tail 2010-11-09-14_51_34/ExpectedFailure-TestSettings.SettingsCommandTestCase.test_set_output_path.log Traceback (most recent call last): File "/Volumes/data/lldb/svn/trunk/test/settings/TestSettings.py", line 136, in test_set_output_path "'stdout.txt' exists due to target.process.output-path.") AssertionError: False is not True : 'stdout.txt' exists due to target.process.output-path. To rerun this test, issue the following command from the 'test' directory: ./dotest.py -v -t -f SettingsCommandTestCase.test_set_output_path git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118646 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
e24f7cbbc1495ccefeeb4c17d78b3afcc93208e1 |
09-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @skip decorator for the whole class: @unittest2.skip("rdar://problem/8641483 ./dotest.py -v -t -w forward seg faults") and add a @skip decorator for test_with_dwarf_and_run_command() method: @unittest2.skip("rdar://problem/8648070 'expression *bar_ptr' seg faults") git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118632 91177308-0d34-0410-b5e6-96231b3b80d8
orward/TestForwardDeclaration.py
|
573335b1205e3b4c6b7a5327cca68fc8fa24cb8d |
09-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
We should make the class name of test cases which emphasize expression command be different than the class name which uses frame variable command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118602 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
05efcf78a322a40aa8fca51bfa298eb2e392e400 |
09-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Distinguish between the assert messages for runCmd and expect. The former now takes the form: "Command '%s' returns successfully" % str and the latter takes the form: "'%s' returns expected result" % str or "'%s' matches expected result" % str git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118599 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
5ef1c4b77471e89c24f6964d196fcf4559ad0b37 |
09-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Move the persistent_variables directory under expression_command directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118591 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/persistent_variables/Makefile
xpression_command/persistent_variables/TestPersistentVariables.py
xpression_command/persistent_variables/main.c
ersistent_variables/Makefile
ersistent_variables/TestPersistentVariables.py
ersistent_variables/main.c
|
b883d17a9b85c07bf47a55d40b7f6061778f0fc7 |
09-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test for expression parser crash which has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118590 91177308-0d34-0410-b5e6-96231b3b80d8
xpression_command/radar_8638051/Makefile
xpression_command/radar_8638051/Test8638051.py
xpression_command/radar_8638051/main.c
|
4b1c6251c0a829973d466df76ab682bd7ff39fc0 |
09-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the specification of relative directory more robust. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118511 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
1a6e92aaa153eb78494ee877fd4512917b94b73e |
08-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Better wording of the help text for the '-f testclass.testmethod' option usage. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118438 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
d529f6b1c63f7a2ab7a86aa61c092ceefbf33991 |
08-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Let's also emit the informational message for where to find the session logs for failed/errored tests at the start of the test run, in case the test run crashes for any reason. That way, it is easy to locate the session logs for accumulated failures/errors. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118427 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
a3e693193ac27763df20e4b6ad0237c951082df0 |
08-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Skipped due to rdar://problem/8641483 ./dotest.py -v -t -w forward seg faults. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118415 91177308-0d34-0410-b5e6-96231b3b80d8
orward/TestForwardDeclaration.py
|
a224cd19e4dbefdcb6c3769619133c155c185dd8 |
08-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the test driver so that simply specifying '-f testclass.testmethod' means that we want to run just the instance of testclass-testmethod combination and nothing else. Specifying '-g' now will admit the whole .py test module if it does not contain a matching testclass-testmethod combination at all. This option arrangement adheres to the RISC principle of making the common cases fast. :-) rdar://problem/8584914 Can the default for dotest.py's "-g" flag be switched? git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118392 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
51d6b1cb2a35d172ad52cca8a7113ad87602eac4 |
06-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the type of session log part of the filename itself. It allows for easier identification of the test failures/errors by human beings as well as automatic processings. The prefix which identifies the type can be: Error, Failure, or ExpectedFailure. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118315 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
e625092023f6639352636a6aba22c32f0e41a732 |
05-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118285 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
d96b568e6e43bb028e5bf20cd6a81b33db0d6f3c |
05-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add comment about iterating over possible architecture and compiler combinations. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118279 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
db60f8df714961e1f8d771df0acac3fe2548d483 |
04-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @skip decorators for assertion aborts. Jim fixed them in r118255. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118265 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
orward/TestForwardDeclaration.py
|
95fcc92c9813b02307596608e55cb781fb6ac2ab |
04-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add one @skip decorator for assertion abort: @unittest2.skip("rdar://problem/8630601 Assertion failed: (result_valobj_sp.get()), function EvaluateExpression, file CommandObjectExpression.cpp, line 227.") git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118252 91177308-0d34-0410-b5e6-96231b3b80d8
orward/TestForwardDeclaration.py
|
56a814d77ce31c37ddb02ed0599cf2cf059291db |
04-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add two @skip decorators for assertion abort: @unittest2.skip("rdar://problem/8630601 Assertion failed: (result_valobj_sp.get()), function EvaluateExpression, file CommandObjectExpression.cpp, line 227.") git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118251 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
b1ba4070951ac61366402cd768ac90eb5a759af0 |
03-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix an incorrect comment in main.c and TestConditionalBreak.py. It should be c's parent frame being a instead of the other way around. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118198 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
onditional_break/main.c
|
2c8d1596ec40c321d6d39c2b32c33fd662b66c11 |
03-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test for Python API SBValue.GetValueType() inside TestArrayTypes.py for a local variable and an argument variable. Add ValueTypeString() utility function into lldbutil.py which converts the enum into a human readable string. Modify TestBase.DebugSBValue() to also dump the value type of an SBValue object. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118197 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
ldbutil.py
|
dd2bb2c033f9bca22443faa53f0b769b59f95b8f |
03-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Now that the test suite has very few expected failures remaining (2), it is a good idea to also dump the session information for expected failures in addition to failures and errors (tests with unexpected exceptions). Modify the LLDBTestResult class which derives from unittest2.TextTestResult to intercept the addExpectedFailure() method in order to mark the test instance as needing its session information dumped. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118185 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
3a89ffed7890ad0d0e90d0bc61624b31faeb4c51 |
03-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Really remove the @expectedFailure decorator this time. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118180 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
b120412736f8b54e92f192aa28b1d18bbde5a3b7 |
03-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure decorator. The bug rdar://problem/8508987 has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118179 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
ddeba7487755403383b9afe628564f621bf027e0 |
03-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more comment for dumpSessionInfo(self) method. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118129 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
66a03531e5199f13482e46777f350312a2b950c1 |
02-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Clean up the test case by removing the filtering code related to fixed radars. Also modify the: self.runCmd("expr %s" % var) to be: self.runCmd("expression %s" % var) since 'expr' is an alias of expression. And fix the assert message to be either 'frame variable -t %s' or 'expression %s'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118085 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
51287a1b5f1524f2e6b14254b41a80908b060668 |
02-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
The remaining reference-related variable display failures have been fixed. Comment out the filtering code. The next check in will clean up the test case by wiping off the filtering related logic. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118081 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
c93ecd4f3c7671b7104ef3ed4b5c0400153c9ca6 |
02-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for a bug fixed: rdar://problem/8464339 test/types directory: b basic_type.cpp:171 does not work, while gdb does work It tests that 'breakpoint set -f basic_type.cpp:176' works when int.cpp #include's basic_type.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118038 91177308-0d34-0410-b5e6-96231b3b80d8
nlined_breakpoints/Makefile
nlined_breakpoints/TestInlinedBreakpoints.py
nlined_breakpoints/basic_type.cpp
nlined_breakpoints/int.cpp
|
19edbc5223c7ace86c983c3cc6bd9e610cd329c8 |
02-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the reference-related variable displays that now pass from the 'notnow' set. The failures that remain are: # rdar://problem/8620735 test/types: frame variable -t a_class_ref.m_b fails # The reference type related failures that remain are: notnow = set(['a_class_ref.m_b', 'a_struct_ref.b', 'a_union_nonzero_ref.u.a']) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118021 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
f3ffc34f5ea4640a19afa5dd7234756306052a8b |
02-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove 8 @expectedFailure decorators, the following bug has been fixed: # rdar://problem/8482903 # test suite failure for types dir -- "long long" and "unsigned long long" git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118017 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
9f018b012caace1486caef7ded12c782a62a0cd3 |
01-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add comment on test class failing for clang as well as llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117962 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
|
2986764e71353f106b2bf0f3fd8082f375d9ce50 |
01-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Replace the two call sites of inspect.getsource(obj) with a utility function getsource_if_available(obj) which also handles the exception if it occurs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117949 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
12fc1dce2fd85f2e38e469a0859475f5044fc1f2 |
01-Nov-2010 |
Johnny Chen <johnny.chen@apple.com> |
Python API changes: SBValue.IsPtrType() -> SBValue.IsPointerType(). SBFrame print representation: idx: 0 -> #0 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117924 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
|
41fae8144e39661bb884f4b5f1c9d4e9793306bb |
30-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add some comment about the default session dir name which is a timestamp. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117730 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
63c2cba24d3dd924211a4ea7a9ef3ff64555cfbb |
30-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The informational message for where to find the session logs for failed/errored tests should be near the test summary message, instead of way up in the beginning. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117726 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
bcb3dd61fc05cb9743556539f8f986c67b1e3024 |
29-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure as the following bug is fixed with newer clang bits with lldb r117700: rdar://problem/8584431 Assert in clang while evaluating expression git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117705 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
61c1b8be0532dbd06317ef4c5c4f3e4c4268f13f |
29-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The r117616 check in broken these two test cases: 1. FoundationDisassembleTestCase.test_simple_disasm_with_dsym; and 2. FoundationDisassembleTestCase.test_simple_disasm_with_dwarf the reason being the test was issuing 'disassemble' command to disassemble the current frame function when stopped. The 'disassemble' command worked previously but it was a result of bad option specification. Fix the disassemble command so that it will require 'disassemble -f' for disassembly of the current frame function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117688 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestFoundationDisassembly.py
|
95adafcd9da588fd3d12fc6d510c227983dd22dc |
29-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The r117641 check in removed the SBValue's print description of type and size. Change the test case to not check it for an SBVariable's print description. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117668 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
60881f6c2e8b66715e0b6d3a896e2790b201e7d0 |
28-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add comment on passing the assert message to self.runCmd(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117604 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
05dd893b94eb3b488740956ad7f43d6f900ecf5a |
28-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
If TestBase.expect() is passed an assert message, pass it along when delegating to TestBase.runCmd() to execute the debugger command. This will result in a more semantic assert message than just the command failed message like before: AssertionError: False is not True : Command 'thread list' returns successfully And now, we will have: AssertionError: False is not True : Process state is stopped due to breakpoint git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117569 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
76bd010e52f06f58df46dd0fb3ca2470a818470e |
28-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix the test driver as part of the fix for http://llvm.org/bugs/show_bug.cgi?id=8493 File name "2010-10-19-14:10:49.059609" is non-portable. Do not use ':' in the pathname as it is not permitted on windows platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117556 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
ad5fd40cb92070593d248b8f44b9902be0bcb4bf |
25-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Only prints out the stop reason if it is not invalid. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117287 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
2c9966be65e4c38bab6c7c061750fdb8952eb203 |
25-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Also prints out the stop reason string for lldbutil.PrintStackTrace(thread). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117281 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
a0be7f9b25daf20f973ec56ef7ff16ccf8ecd5f5 |
25-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Skip this test module for the time being until we get a newer clang on lldb tot. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117278 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
607b7a1bb97215f2fe4ccfb6a27fb4932761df5f |
23-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more docstring for the lldbtest.TestBase class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117175 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
168a61a9d1551d407240395942dc9e005c47ba30 |
22-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Comment heading changes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117152 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
960e5b0851110fccd95c80cb7be50d9815f71b10 |
22-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add text about test class cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117148 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
ettings/TestSettings.py
|
5492fc7f35d503f160ed4df251152d4e6a6d4816 |
22-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Comment out the debug statement for printing the SBBreakpoint object. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117140 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
5c3e598543f20144b4ac9629297caca4f6302de5 |
22-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The test should remove 'output.txt' if it exists before launching the inferior process which is supposed to create the file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117136 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
|
9656ab2a9777e78799ed5df55fcd17eace5f597e |
22-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add some more usage text. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117129 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
0601a295d9df20410ba1ff1edcf670aee67c030a |
22-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add test case for using SBBreakpointLocation to set break condition. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117116 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
ldbtest.py
|
a04dc9a10a690d320033863eeb7f8a551400fe5c |
22-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix misnamed test method names. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117101 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
|
1aabaac9827104aecfad61e9b12412d8a89e66a0 |
21-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Mark these test methods to be eligible for running only under the 'darwin' platform. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117071 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/Makefile
ypes/TestFloatTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypes.py
ypes/TestIntegerTypesExpr.py
|
66d2c2d326631d5e7a64c690771c8098294c5238 |
21-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Rewording of output message. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117030 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
125fc2b1ea49af439e86bbf8f32fce8bbd5a7cdd |
21-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an option '-s session-dir-name' to overwrite the default timestamp-named directory used to dump the session info for test failures/errors. Example: /Volumes/data/lldb/svn/trunk/test $ ./dotest.py -s jason -v array_types Session info for test errors or failures will go into directory jason ---------------------------------------------------------------------- Collected 4 tests test_with_dsym_and_python_api (TestArrayTypes.ArrayTypesTestCase) Use Python APIs to inspect variables with array types. ... ok test_with_dsym_and_run_command (TestArrayTypes.ArrayTypesTestCase) Test 'frame variable var_name' on some variables with array types. ... ok test_with_dwarf_and_python_api (TestArrayTypes.ArrayTypesTestCase) Use Python APIs to inspect variables with array types. ... ok test_with_dwarf_and_run_command (TestArrayTypes.ArrayTypesTestCase) Test 'frame variable var_name' on some variables with array types. ... FAIL ====================================================================== FAIL: test_with_dwarf_and_run_command (TestArrayTypes.ArrayTypesTestCase) Test 'frame variable var_name' on some variables with array types. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Volumes/data/lldb/svn/trunk/test/array_types/TestArrayTypes.py", line 27, in test_with_dwarf_and_run_command self.array_types() File "/Volumes/data/lldb/svn/trunk/test/array_types/TestArrayTypes.py", line 62, in array_types 'stop reason = breakpoint']) File "/Volumes/data/lldb/svn/trunk/test/lldbtest.py", line 594, in expect self.runCmd(str, trace = (True if trace else False), check = not error) File "/Volumes/data/lldb/svn/trunk/test/lldbtest.py", line 564, in runCmd msg if msg else CMD_MSG(cmd, True)) AssertionError: False is not True : Command 'thread list' returns successfully ---------------------------------------------------------------------- Ran 4 tests in 3.086s FAILED (failures=1) /Volumes/data/lldb/svn/trunk/test $ ls jason TestArrayTypes.ArrayTypesTestCase.test_with_dwarf_and_run_command.log /Volumes/data/lldb/svn/trunk/test $ head -10 jason/TestArrayTypes.ArrayTypesTestCase.test_with_dwarf_and_run_command.log Session info generated @ Thu Oct 21 09:54:15 2010 os command: [['/bin/sh', '-c', 'make clean; make MAKE_DSYM=NO']] stdout: rm -rf "a.out" "a.out.dSYM" main.o main.d cc -arch x86_64 -gdwarf-2 -O0 -c -o main.o main.c cc -arch x86_64 -gdwarf-2 -O0 main.o -o "a.out" stderr: None retcode: 0 /Volumes/data/lldb/svn/trunk/test $ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117028 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
otest.py
ldbtest.py
|
fdde5f231c37688c1d5eea14d66065e52d3dfc87 |
21-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Get rid of the microsecond field in the timestamp directory name used to dump the session information files to. This makes the directory name less intimidating. Currently, the directory only gets created if there are failures/errors while running the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116982 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
6ad7e5e815daf24afc345eed219226d52d0e1dcd |
21-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an example of option combination for running a single test method to the help text. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116980 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
c958be48bdf79ce5b731e42b56793686f7fa559f |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more bug info. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116950 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
72bc92e92df0e8464217df10d7e6d0c3c56e640f |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the two @expectedFailure decorators as the bug has been fixed on tot. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116941 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
f6bdb19538f490f754a5c052f6553b411c378ebb |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the breakpoint condition test more robust with regard to checking the correct parent call frame information. And comment out the check for stop reason for the time being. The stop reason disappeared from the "thread backtrace" output for breakpoint stop with condition. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116939 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_conditions/main.c
ldbtest.py
|
73a8710e6c7bceda0abeacea054c4aa6d5572d44 |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Clean up the teardown logic to make it more robust and to record the additions and invocations of them into session object. Remove a debug statement. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116938 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
a720ff4065a51f2a2545634faaf8c90a71fe9d2a |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix wrong test logic with regard to hit count and resolved status of disabled/enabled breakpoints. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116936 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_locations/TestBreakpointLocations.py
|
705737b6810d30f488f1586f10e888861a34d91c |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Restoring the original setting should be done more robustly by adding a hook function to be run during tearDown() to effect the restore action instead of executing it inline during the test method, because the test may already fail and bailout before the inline restore action. Fix test_set_output_path() and pass_run_args_and_env_vars() to use this mechanism. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116881 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ettings/TestSettings.py
|
eb4f7a82d7ce143f77bbf49f68b552bfb5e75494 |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add Python doc string for setTearDownCleanup() method. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116874 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
76545500174d38e0571d5018515a632b07e7a462 |
20-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
test_set_output_path() should restore the original setting of target.process.output-path after running the program. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116873 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
ee8e3ee93a60a733dbf217e5c7f6c2afd1bd835d |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more descriptive messages to expect() instead of using the default assert messages. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116850 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
db9cbe9c676593789606d840d51f348e73032bd7 |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a little helper function SETTING_MSG(setting) to be used from TestSettings.test_set_output_path(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116847 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ettings/TestSettings.py
|
0e4a2bd6a59a724f78b15177b08db26ab6c21493 |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the two @skip decorators now that we are not seeing the hang while running the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116844 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
d29652114aad69d29e4781bd54e3f923b177b726 |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the environment variable name to be more descriptive from LLDB_TIME_WAIT to LLDB_TIME_WAIT_NEXT_LAUNCH. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116809 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
43eefcecc3494285e95dd51dfaf242270a71576d |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modify the command passed to command interpreter from 'expr' (which is an alias of 'expression') to 'expression' to avoid cases where 'expr' has been unaliased. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116780 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
orward/TestForwardDeclaration.py
oundation/TestObjCMethods.py
ersistent_variables/TestPersistentVariables.py
|
ce68146871cf9fe802f41a33102edbe39bd85fa1 |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modify the test driver and lldbtest.TestBase so that the dumping of session info now goes into a timestamp-specific directory instead of the previous .session-* files. [17:24:34] johnny:/Volumes/data/lldb/svn/trunk $ ls -l test/2010-10-18-16:56:12.935342 total 48 -rw-r--r-- 1 johnny admin 1695 Oct 18 16:56 TestArrayTypes.ArrayTypesTestCase.test_with_dsym_and_run_command.log -rw-r--r-- 1 johnny admin 1652 Oct 18 16:56 TestArrayTypes.ArrayTypesTestCase.test_with_dwarf_and_run_command.log -rw-r--r-- 1 johnny admin 2967 Oct 18 16:56 TestBreakpointCommand.BreakpointCommandTestCase.test_with_dsym.log -rw-r--r-- 1 johnny admin 1648 Oct 18 16:56 TestClassTypes.ClassTypesTestCase.test_with_dwarf_and_run_command.log -rw-r--r-- 1 johnny admin 1665 Oct 18 16:56 TestClassTypesDisassembly.IterateFrameAndDisassembleTestCase.test_with_dsym_and_python_api.log -rw-r--r-- 1 johnny admin 3873 Oct 18 16:58 TestFloatTypesExpr.FloatTypesTestCase.test_float_types_with_dsym.log [17:24:37] johnny:/Volumes/data/lldb/svn/trunk $ Also, the dumping happens when a test errored in additioned to when it failed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116778 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
6bc0b6b09502840e4b0d230344423d4da6268077 |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an assert that 'output.txt' exists before opening it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116775 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
|
810150499cacd0ed032dc89fe5628c3b6fc0a513 |
19-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Uncomment the @skip decorator to reproduce the hang while running the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116763 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
d4e53a91b31563ca601ca7dfcb0c15dc6ab6df82 |
18-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove out-dated comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116748 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
ea1282574ed15b2b008306df5800ea5d474dd305 |
18-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a case to test that after 'set auto-confirm true', manual confirmation should not kick in. Also add a more useful assert message for test_set_output_path(), which is currently decorated with @expectedFailure. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116718 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
59b8477b020651df9b215396864e2e161a007d8c |
18-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Also change the utility functions in lldbutil.py, too, to correspond to the StateType representation change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116706 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
8a87d5244a61570e06f9b48b9bc04773e82e301e |
18-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The StateType representation has been changed. Modify the test cases to accommodate. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116705 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_command/TestBreakpointCommand.py
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
onditional_break/TestConditionalBreak.py
ead-strip/TestDeadStrip.py
num_types/TestEnumTypes.py
orward/TestForwardDeclaration.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
oad_unload/TestLoadUnload.py
et_values/TestSetValues.py
ignal/TestSendSignal.py
tl/TestStdCXXDisassembly.py
hreads/TestPrintStackTraces.py
nsigned_types/TestUnsignedTypes.py
|
5486d0797413d6d763725ede369e0c6f2b808403 |
16-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Missed this spot where module.cleanup() can be passed a test instance to facilitate session recording. This happens inside an instance method where the test instance is well known. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116649 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
1b7d629b11af2ac7a20d899ee1404ef7cd5d4268 |
16-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Some re-achitecturing of the plugins interface. The caller is now required to pass in a 'sender' arg to the buildDefault(), buildDsym(), buildDwarf(), and cleanup() functions. The sender arg will be the test instance itself (i.e., an instance of TestBase). This is so that the relevant command execution can be recorded in the TestBase.session object if sender is available. The lldbtest.system() command has been modified to pop the 'sender' arg out of the keyword arguments dictionary and use it as the test instance to facilitate seesion recordings. An example is in test/types/AbstractBase.py: def generic_type_tester(self, atoms, quotedDisplay=False): """Test that variables with basic types are displayed correctly.""" # First, capture the golden output emitted by the oracle, i.e., the # series of printf statements. go = system("./a.out", sender=self) There are cases when sender is None. This is the case when the @classmethod is involved in the use of these APIs. When this happens, there is no recording into a session object, but printing on the sys.stderr is still honored if the trace flag is ON. An example is in test/settings/TestSettings.py: @classmethod def classCleanup(cls): system(["/bin/sh", "-c", "rm -f output.txt"]) system(["/bin/sh", "-c", "rm -f stdout.txt"]) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116648 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/darwin.py
ypes/AbstractBase.py
|
16a4fef6da0f6df45f7722f2dd4f7b18d3bd92a0 |
16-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use line_number() utility function to find the number from main.c to test against instead of using hard-coded line number. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116646 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
onditional_break/main.c
|
895c2c552e9fc15755554820b12f759e2992231c |
16-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure decorators, as rdar://problem/8542091 is supposed to be fixed. Also change the expected matching pattern of the 'expr -o -- my' output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116645 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
ed5f04ef51b18d6bedbc8589fa06544491977b9c |
16-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Don't wrap StringIO inside a with statement. It is not a context manager. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116643 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
2078efa5be899497c677222f9e51d1e0592f5a30 |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make sure to close the string buffer when finished. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116621 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
e33ea6b675284ec60834e957a123c86a58b052ef |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @skip("Skip due to deadlock?") decorators. Change the command to 'breakpoint delete 1' from 'breakpoint delete'. With 'breakpoint delete', the command interpreter was asking for a confirmation from the user, which there isn't any. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116610 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
8ce3cfbb07e07b3518c590f55fb02eac282a03fa |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add two @expectedFailure decorators for: # rdar://problem/8557478 # test/class_types test failures: runCmd: expr this->m_c_int git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116609 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
31cf8e24815c4a99d74b5bea50900ac8dfa2f40d |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for exercising breakpoint conditions using the lldb command: breakpoint modify -c 'val == 3' 1 after: breakpoint set -n c which sets a breakpoint on function 'c'. The breakpoint should only stop if expression 'val == 3' evaluates to true. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116607 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_conditions/Makefile
reakpoint_conditions/TestBreakpointConditions.py
reakpoint_conditions/main.c
ldbtest.py
|
c55dacea88aaf68ce767d7bd40214f2a0107557c |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a const string for assert message. Remove extra printing of newlines from the session recordings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116596 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
314a145be16f1061ad9a2c8432f14ea6c1629513 |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116583 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
7c565c8c2caad110f91817fbe5531f45a539f3ee |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Be more specific about cases whenthe runCmd() check flag is False, meaning there is no need to check the return status of the command execution, and an error status is not deemed a failure in the test. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116582 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
595c9d7f8a264fc997e8258665ce2ba6fb7fdc73 |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Simply use the TestBase.markFailure() callback method to set the __failed__ flag. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116559 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
|
84a6d6f10f3010accf9b717b2995f9acb6bee60c |
15-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
This is an initial version of test driver enhanceent to be able to dump the session info after a test case failure, allowing more direct inspection of debugger session which leads to the test failure. For a simple usage scenario: [18:06:26] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v . 2> ~/Developer/Log/lldbtest.log ... [18:14:43] johnny:/Volumes/data/lldb/svn/trunk/test $ ls -l .session-* -rw-r--r-- 1 johnny admin 1359 Oct 14 18:06 .session-TestArrayTypes.ArrayTypesTestCase.test_with_dwarf_and_run_command -rw-r--r-- 1 johnny admin 2054 Oct 14 18:07 .session-TestClassTypes.ClassTypesTestCase.test_with_dsym_and_expr_parser -rw-r--r-- 1 johnny admin 2055 Oct 14 18:07 .session-TestClassTypes.ClassTypesTestCase.test_with_dwarf_and_expr_parser -rw-r--r-- 1 johnny admin 1351 Oct 14 17:57 .session-TestClassTypes.ClassTypesTestCase.test_with_dwarf_and_run_command [18:14:51] johnny:/Volumes/data/lldb/svn/trunk/test $ The test case which failed will have its recorded session info dumped to a .session-* file in the current working directory. For test suite using relocated directory, expect to find the .session-* files there. In this checkin, I also add @skip decorator to the two test methods in test/foundation/TestObjCMethods.py as it looks like the test suite is deadlocking when running the tests. More investigations are needed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116552 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
oundation/TestObjCMethods.py
ldbtest.py
ldbutil.py
|
bf8e42b9da0e1c6349a727d644ad37610b00d556 |
15-Oct-2010 |
Greg Clayton <gclayton@apple.com> |
Fixed an expression parsing issue where if you were stopped somewhere without debug information and you evaluated an expression, a crash would occur as a result of an unchecked pointer. Added the ability to get the expression path for a ValueObject. For a rectangle point child "x" the expression path would be something like: "rect.top_left.x". This will allow GUI and command lines to get ahold of the expression path for a value object without having to explicitly know about the hierarchy. This means the ValueObject base class now has a "ValueObject *m_parent;" member. All ValueObject subclasses now correctly track their lineage and are able to provide value expression paths as well. Added a new "--flat" option to the "frame variable" to allow for flat variable output. An example of the current and new outputs: (lldb) frame variable argc = 1 argv = 0x00007fff5fbffe80 pt = { x = 2 y = 3 } rect = { bottom_left = { x = 1 y = 2 } top_right = { x = 3 y = 4 } } (lldb) frame variable --flat argc = 1 argv = 0x00007fff5fbffe80 pt.x = 2 pt.y = 3 rect.bottom_left.x = 1 rect.bottom_left.y = 2 rect.top_right.x = 3 rect.top_right.y = 4 As you can see when there is a lot of hierarchy it can help flatten things out. Also if you want to use a member in an expression, you can copy the text from the "--flat" output and not have to piece it together manually. This can help when you want to use parts of the STL in expressions: (lldb) frame variable --flat argc = 1 argv = 0x00007fff5fbffea8 hello_world._M_dataplus._M_p = 0x0000000000000000 (lldb) expr hello_world._M_dataplus._M_p[0] == '\0' git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116532 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
|
0910eb32b94bd67b0357d34d0951aad197742569 |
14-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make calling the super class's setUp() method less fragile. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116490 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_command/TestBreakpointCommand.py
reakpoint_locations/TestBreakpointLocations.py
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
num_types/TestEnumTypes.py
oundation/TestObjCMethods.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
acosx/universal/TestUniversal.py
et_values/TestSetValues.py
ignal/TestSendSignal.py
tl/TestSTL.py
tl/TestStdCXXDisassembly.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
6b6f5badb95266c1e22e9581eec3859109376c76 |
14-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the call within lldb.py to 'SBDebugger.Initialize()' from 'lldb.SBDebugger.Initialize()'. Inside the lldb module, there's no need (and as a matter of fact, incorrect) to specify the 'lldb' module name. Comment out the call to lldb.SBDebugger.Initialize() within the test driver itself, since it is already done when we import the lldb.py module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116485 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
5b33af2605f4589038ad0612a5675ff023e7d53f |
14-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add more comments and wait a little bit after resuming the inferior process before sending it a signal. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116481 91177308-0d34-0410-b5e6-96231b3b80d8
ignal/TestSendSignal.py
|
d7a4eb073d08bf632154b74189e36a28726cefaa |
14-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add an initial version of test that exercise the lldb commands: 'process signal' and 'process handle'. The test suite would like to control the asynch/sync execution of the interpreter during the middle of the test method, so the CommandInterpreter::SetSynchronous(bool value) is modified to allow the mode to be changed more than once. In practice, it would be advisable to control the process and to set the async/sync mode from a single thread, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116467 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ignal/TestSendSignal.py
|
34f99221dcb055d3a35b6174e0d818fdb73da878 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix these comments and the commented out code about 'frame variable -t', too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116420 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
c401e37b99cca3482bacb7bc98cc09d69a1cd2ac |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Apply (query-replace "frame variable" "frame variable -t") and fix a comment about 'expr var', not 'frame variable var'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116419 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
reakpoint_command/TestBreakpointCommand.py
lass_types/TestClassTypes.py
orward/TestForwardDeclaration.py
oundation/TestObjCMethods.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
et_values/TestSetValues.py
ypes/AbstractBase.py
nsigned_types/TestUnsignedTypes.py
|
71f3befd5bc3763c302a78d1147d4f203eac71c1 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case for the test/forward directory with @expectedFailure decorator for test_with_dwarf_and_run_command(self). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116416 91177308-0d34-0410-b5e6-96231b3b80d8
orward/TestForwardDeclaration.py
|
fb7c51c07c249bd611051c76e4ff491f1a17cf2d |
13-Oct-2010 |
Greg Clayton <gclayton@apple.com> |
Fixed C++ class clang type creation and display by making sure we omit artifical members (like the vtable pointer member that shows up in the DWARF). We were adding this to each class which was making all member variables be off by a pointer size. Added a test case so we can track this with "test/forward". Fixed the type name index in DWARF to include all the types after finding some types were being omitted due to the DW_AT_specification having the DW_AT_declaration attribute which was being read into the real type instances when there were forward declarations in the DWARF, causing the type to be omitted. We now check to make sure any DW_AT_declaration values are only respected when parsing types if the attribute is from the current DIE. After fixing the missing types, we ran into some issues with the expression parser finding duplicate entries for __va_list_tag since they are built in types and would result in a "duplicate __va_list_tag definition" error. We are now just ignoring this name during lookup, but we will need to see if we can get the name lookup function to not get called in these cases. Fixed an issue that would cause an assertion where DW_TAG_subroutine_types that had no children, would not properly make a clang function type of: "void (*) (void)". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116392 91177308-0d34-0410-b5e6-96231b3b80d8
orward/Makefile
orward/README.txt
orward/foo.c
orward/foo.h
orward/main.c
|
2014e8062cf74c78c2e9fe5f2e9ae748347478f0 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line numbers for breakpoints 1-5 during setUp(). Use a pattern to match the output from both gcc-compiled and clang-compiled binary. This finishes the conversion of the test suite to avoid hardcoded line numbers when setting breakpoints with either the lldb command: breakpoint set -f filename -l lineno or the Python API: target.BreakpointCreateByLocation(filename, lineno) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116378 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
et_values/main.c
|
4b5bd22a577c800e52323098844f418908e9e550 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). Use a pattern to match the output from both gcc-compiled and clang-compiled binary. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116374 91177308-0d34-0410-b5e6-96231b3b80d8
nsigned_types/TestUnsignedTypes.py
nsigned_types/main.cpp
|
dc3f4f60710cfb29b81c8def996ecb8c900b5020 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on as well as the line number of the first executable statement during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116369 91177308-0d34-0410-b5e6-96231b3b80d8
truct_types/TestStructTypes.py
truct_types/main.c
|
45ac7ac0a0cea43c3874d986da8b107695d630c1 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116363 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestStdCXXDisassembly.py
|
d906f7f499f16fd0ecf0172ce28307923c37838c |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Update the comment with reagard to a bug filed against possible clang-generated debug info which results in the breakpoint locations of 3, instead of 1 (as in gcc). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116361 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
5acb0e34e2845e0c4be34c83802e7296c4b103e1 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116358 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
tl/main.cpp
|
7b54cf43d0686af5e4456a46a4d8189fffff8a55 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116356 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
acosx/universal/main.c
|
dffb7dbb25a709e467a2e98b18b3e52db68a5e11 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). Also modify main.c to use g_file_static_cstr within main() so clang does not optimize this variable out. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116355 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
lobal_variables/main.c
|
143914211a7e009c90a7d88e7584513d7a4af67f |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116352 91177308-0d34-0410-b5e6-96231b3b80d8
unction_types/TestFunctionTypes.py
unction_types/main.c
|
2016d3d9871b54e7ad5eb1c220a35db746624f82 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116350 91177308-0d34-0410-b5e6-96231b3b80d8
num_types/TestEnumTypes.py
num_types/main.c
|
7bafa919529dd7e3d87e9c3649179029d0158978 |
13-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116349 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
lass_types/main.cpp
|
75be6166543b25f9fb0f7e65d2fdab832424958d |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116346 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_locations/TestBreakpointLocations.py
reakpoint_locations/main.c
|
83626d4cce923e23253eea188a355f5d62fd40bb |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116344 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
reakpoint_command/main.c
|
4b6630eee66eb4ec0778c890e61d82017dc4a059 |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix an obvious cut-and-paste error. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116343 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
953864aaa9c9e7313ee5ac935891c8a7a6a22f12 |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added the capability for the test driver to split the sys.stderr/sys.stdout into different configuration-based files using the config file. For example: sys.stderr = open("/tmp/lldbtest-stderr", "w") sys.stdout = open("/tmp/lldbtest-stdout", "w") compilers = ["gcc", "llvm-gcc"] archs = ["x86_64", "i386"] split_stderr = True # This will split the stderr into configuration-specific file split_stdout = True # This will split the stdout into configuration-specific file will produce: /tmp/lldbtest-stderr /tmp/lldbtest-stderr.arch=i386-compiler=gcc /tmp/lldbtest-stderr.arch=i386-compiler=llvm-gcc /tmp/lldbtest-stderr.arch=x86_64-compiler=gcc /tmp/lldbtest-stderr.arch=x86_64-compiler=llvm-gcc /tmp/lldbtest-stdout /tmp/lldbtest-stdout.arch=i386-compiler=gcc /tmp/lldbtest-stdout.arch=i386-compiler=llvm-gcc /tmp/lldbtest-stdout.arch=x86_64-compiler=gcc /tmp/lldbtest-stdout.arch=x86_64-compiler=llvm-gcc as a result of splitting stderr and stdout. In addition, each configuration can have its individual top level relocated directory to house the test files as well as the intermediate files by using '-r dir' to relocate the tests into a new relocated directory instead of running the tests in place. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116341 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
f8c0af35d459658f38b7e1fb6b9a4f55173305e2 |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Forgor to also check in this change with r116337. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116340 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
ee52fa2871080a9fb9dcdf83812fb9aae03d200a |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Update the @expectedFailure decorator with additional bug info: rdar://problem/8542091 test/foundation: expr -o -- my not working? Add an additional test for 'frame variable *self' when stopped in '-[MyString initWithNSString:]' and move the 'expr -o -- self' to after MyString has been constructed and change it to 'expr -o -- my'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116337 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
018236c557f262a037a7e5073aebc4b80cecf77c |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The 'regexp-break' command now prints out the command that results from expanding the regular expression command. So change the more stringent: self.expect(..., startstr = matching_string) to: self.expect(..., substrs = [matched_string]) to pass the test. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116331 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestFoundationDisassembly.py
oundation/TestObjCMethods.py
|
79723356800fbab9bf7c7727ef5dfcbf53c3931e |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Update comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116309 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
0659e34c38cdebb36e96bdd8ce0517c700ef06cc |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid using hardcoded line number to break on. Use the line_number() utility function to get the line number to break on during setUp(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116275 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
itfields/main.c
ldbtest.py
|
1490600eca184bb22cdfb83b8c6718055d8006c9 |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a utility function to lldbtest.py to return the line number of a matched string within a file. This is to be used within the test case to avoid hardcoded line number. array_types/TestArrayTypes.py is modified first to use this pattern. Other test modules to follow. rdar://problem/8537816 Testsuite: don't set breakpoints by exact file & line number git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116270 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
rray_types/main.c
ldbtest.py
|
548aefd19076bf9205c75cb19b0c54544c2b967b |
12-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added the capability for the test driver to relocate the tests and the intermediate files to a different top level directory than those specified on the command line. When relocated, the test clanups normally performed afterwards after each test method and after each test class will not be exercised at all. This allows for an easier postmortem analysis of test failures. Example: ./dotest.py -v -t -r /tmp/lldbtest types will create a /tmp/lldbtest directory which houses the types directory and its supported files. Files modified: o dotest.py, lldbtest.py: Add logic to process '-r dir' option to support relocating the tests to a different top level directory instead of exected in place. o darwin.py, test/types/Makefile: The 'make clean' should only clean the minimum .o and .d files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116255 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
lugins/darwin.py
ypes/Makefile
|
46be75d9c1c6fd4fb2e7e7b2cc2b3ddbae2e3cd4 |
11-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Help text modification. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116206 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
c12b6b40b93687539b0ca303f64eb77b6af6924d |
11-Oct-2010 |
Greg Clayton <gclayton@apple.com> |
Added a new test case to test signals with. Added frame relative frame selection to "frame select". You can now select frames relative to the current frame (which defaults to zero if the current frame hasn't yet been set for a thread): The gdb "up" command can be done as: (lldb) frame select -r 1 The gdb "down" command can be done as: (lldb) frame select -r -1 Place the following in your ~/.lldbinit file for "up" and "down": command alias up frame select -r 1 command alias down frame select -r -1 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116176 91177308-0d34-0410-b5e6-96231b3b80d8
ignal/Makefile
ignal/main.c
|
4d72c746131d8ae86217dfb35edc2e4417330b7b |
10-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the generator adaptor to a Python function instead of a class definition, with the function name 'lldb_iter'. Example: def disassemble_instructions (insts): from lldbutil import lldb_iter for i in lldb_iter(insts, 'GetSize', 'GetInstructionAtIndex'): print i git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116171 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
164bf887534ab18c939dc46525efb3db9de2613d |
09-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a generator adaptor class named 'Iterator' which turns lldb aggregate data structures into an iterable Python object. Example: def disassemble_instructions (insts): from lldbutil import Iterator for i in Iterator(insts, 'GetSize', 'GetInstructionAtIndex'): print i git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116137 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
54d099e6801ccb37f0079ef479f357669c9e6dd6 |
09-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Update do_conditional_break() method impl to use all lldb Python APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116117 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
|
584f9da686d5707476309660dfd3acf9973c7179 |
09-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Wrap the rest of file reading operations inside a with block and convert a assertTrue() usage to self.expect() which is more descriptive. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116115 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
ettings/TestSettings.py
|
8a73f5ed948abd25aac5bd328856b58a70380be3 |
08-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Convert two instances of assertTrue() and string matching usages to self.expect() which is more descriptive. And wrap the file open operation inside a with block so that close() is automatically called upon exiting the block. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116096 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
8e468594632a43f2062d5a364224ac15fddfdef2 |
08-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
o TestStdCXXDisassembly.py: Update the expected match string. o lldbtest.py: Indicate when a command fails, even if there is nothing in the error stream. o TestHelp.py: Add a regression test case for 'help image dump symtab'. o CommandObjectHelp.cpp: Some of the logic branches with successful help command results were not tagged with a Success Status. They are fixed now. This is important for Python interaction. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116062 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
ldbtest.py
tl/TestStdCXXDisassembly.py
|
dee30473022a0131917e206467f34c7320d7e194 |
08-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Pass '-f' option to rm command so that it won't report an error if the file to be removed does not exist for any reason. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116025 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
|
160baedd27933a3522ea64aff8740efad924487d |
08-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The expected term-width output string should be put within a list, not as a list of characters. Also uncomment the cleanup of "stdout.txt" file as part of the class cleanup routine even though test_set_output_path() is failing right now. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116023 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
be683bc054db1f6c7fbe2bbf712266f9f70c6389 |
08-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Move the enum to string utility functions from lldbtest.py to lldbuti.py and update the affected API clients. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115995 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
ldbtest.py
ldbutil.py
hreads/TestPrintStackTraces.py
|
b51d87d4b31ca2bf024633d03aeeba8e095745e3 |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case which uses the SBProcess and SBThread APIs to iterate through the threads and print their stack traces when stopped on a breakpoint. Add a PrintStackTraces(process) utility function into the lldbutil.py module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115983 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
hreads/Makefile
hreads/TestPrintStackTraces.py
hreads/main.cpp
|
30425e9677342cff9995cd4937fdc12354b6b24b |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a keyword argument string_buffer (with a default value of False) to the PrintStackTrace(thread) function. If string_buffer is True, PrintStackTrace() will return the content of the stack trace as a string, instead. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115960 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
e479abb120ccfadc4d5b6f4891a45eb7044f88c6 |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Minor cleanup with added comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115955 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
|
8e4f356d37170205a4a4c115f41de066b309eb2e |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Clean up the StateType and StopReason enums now that they reside in the lldb module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115922 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_types/TestClassTypes.py
ello_world/TestHelloWorld.py
ldbtest.py
|
c8904337f0edfc6da193b2855b98351f6fa77111 |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated expected match strings because the print representations of SBProcess, SBThread, SBBreakpoint, and SBFrame have changed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115918 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
f11f705bf2d2441d5814e3e6ed273e313d62f152 |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use the updated process launch API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115917 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
ce2212c3fe761b7abf670f332e4556dba4fdb6f1 |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fix logic error of the option processing loop. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115916 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
e47649c441e7abe1dc5158ec36bba1bb66fcbb08 |
07-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
o SBtarget.cpp/.h: Temporarily commenting out the deprecated LaunchProcess() method. SWIG is not able to handle the overloaded functions. o dotest.py/lldbtest.py: Add an '-w' option to insert some wait time between consecutive test cases. o TestClassTypes.py: Make the breakpoint_creation_by_filespec_python() test method more robust and more descriptive by printing out a more insightful assert message. o lldb.swig: Coaches swig to treat StateType as an int type, instead of a C++ class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115899 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
otest.py
ldbtest.py
|
b62436b4682bb67397213a2cdd0e11f81f5bed49 |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Enhance the test driver with a '-f filterspec' option to specify the testclass.testmethod to be run and with a '-g' option which instructs the test driver to only admit the module which satisfy the filterspec condition to the test suite. Example: # This only runs the test case under the array_types directory which has class # name of 'ArrayTypesTestCase' and the test method name of 'test_with_dwarf_and_run_command'. /Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v -f 'ArrayTypesTestCase.test_with_dwarf_and_run_command' -g array_types ---------------------------------------------------------------------- Collected 1 test test_with_dwarf_and_run_command (TestArrayTypes.ArrayTypesTestCase) Test 'frame variable var_name' on some variables with array types. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.353s OK # And this runs the test cases under the array_types and the hello_world directories. # If the module discovered has the 'ArrayTypesTestCase.test_with_dwarf_and_run_command' # attribute, only the test case specified by the filterspec for the module will be run. # If the module does not have the said attribute, e.g., the module under hello_world, # the whole module is still admitted to the test suite. /Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v -f 'ArrayTypesTestCase.test_with_dwarf_and_run_command' array_types hello_world ---------------------------------------------------------------------- Collected 3 tests test_with_dwarf_and_run_command (TestArrayTypes.ArrayTypesTestCase) Test 'frame variable var_name' on some variables with array types. ... ok test_with_dsym_and_run_command (TestHelloWorld.HelloWorldTestCase) Create target, breakpoint, launch a process, and then kill it. ... ok test_with_dwarf_and_process_launch_api (TestHelloWorld.HelloWorldTestCase) Create target, breakpoint, launch a process, and then kill it. ... ok ---------------------------------------------------------------------- Ran 3 tests in 4.964s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115832 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
ea863924a2a7e7de1e6a5552a73eae4098f897e8 |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @expectedFailure decorator since the SBTarget.LaunchProcess() race condition has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115826 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
57c5709181b7d120a6ca6ecfec1f2a5762a130df |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use the SBTarget process launch API for api testings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115822 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
6e81fa35eae0a3c6ca8aee19c4bb2f231b6ab912 |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the regular expression used to grok the data type associated the output of expression parser in light of the recent check ins. Example: runCmd: expr a output: (double) $0 = 1100.12 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115821 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
385c39ba5d1dbeb42ea37ed12d5c1f10b254a442 |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Change the expected term-width output string to be a substring instead of a startstring for the test case test_set_term_width() after the recent changes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115820 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
a4274f1a3f5230342e71ce53881cdf528c910db5 |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modification of the expected start strings for simple 'expr' output involving persistent variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115819 91177308-0d34-0410-b5e6-96231b3b80d8
ersistent_variables/TestPersistentVariables.py
|
0573742dd0f10d466b4ce83af2fa178f67875bdd |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modification of the expected pattern for 'expr this->m_c_int' output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115818 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
780f5775bd16de032d6356b3b2f975f9101f7be8 |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modification of the expected substrings for the print representations of SBProcess and SBThread. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115804 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
be95581858829cd850b2b333676353c80f5c4d51 |
06-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modified to accomodate gcc, llvm-gcc, and clang as compilers. Add a comment for 'breakpoint set -M C' not working correctly for clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115712 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
lass_types/TestClassTypesDisassembly.py
|
10cd823ddc9ef4124fafdb43ca24da28f5c8fa32 |
05-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test class to call lldb 'disassemble -n function' command on each call frame when stopped on C's ctor. This is not a long running test so it shall always be exercised. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115653 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypesDisassembly.py
|
5349ee278c7162bfa1accea79ed1a07f31f5568c |
05-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make the test module with unique name instead of just the generic name TestDisassembly. Add a utility function to lldbtest.py to get the native pointer size of the host os. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115652 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestDisassembly.py
oundation/TestFoundationDisassembly.py
ldbtest.py
tl/TestDisassembly.py
tl/TestStdCXXDisassembly.py
|
0ac2b923ba8f6775ae9aba5d253b6b5a034f984d |
05-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Filename renamings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115636 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestDisassemble.py
oundation/TestDisassembly.py
tl/TestDisassemble.py
tl/TestDisassembly.py
|
0cae7e2dc760e71caf9644725a494f83ec0357c6 |
05-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Move two files to the 'attic'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115579 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
ttic/dotest.pl
ttic/tester.py
otest.pl
ester.py
|
54e1ea473d083dc3d2b4a0363448f45f9faabea0 |
05-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Do 'disassemble -s start_addr -e end_addr' on stdc++ library function entries. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115574 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestDisassemble.py
tl/TestDisassemble.py
|
90d73bc3549f1b1c64446bb3b43f5676e52ee707 |
04-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Initial version of a test case meant to disassemble each and every function from the stdc++ library module. Right now, it doesn't do any disassembly at all. It merely locates the stdc++ library. Also tests the SBProcess object description and verifies it is in a 'Stopped' state. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115536 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestDisassemble.py
|
14df3d469f2deb5eeaf19b37fe3ffb379907ce83 |
04-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove file:lineno from the expected substrings. Matching 'a_function, i.e., the {function.name}, is sufficient for this test case. Plus added @expectedfailure decorator for a filed bug. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115517 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
7e3449d23029d76b360ebc3fb5ea4149dd6c4577 |
04-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove file:lineno from the expected substrings. Matching 'a.out`string_not_empty', i.e., ${module.file.basename}{`${function.name}, is sufficient for this test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115514 91177308-0d34-0410-b5e6-96231b3b80d8
unction_types/TestFunctionTypes.py
|
2b4b9ad77ceb522c581abd026d4ccc706bc0e049 |
04-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
The 'thread list' command no longer displays the file:lineno after the recent check-in. Remove file:lineno from the expected substrings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115512 91177308-0d34-0410-b5e6-96231b3b80d8
ead-strip/TestDeadStrip.py
|
bf76c9627c1fd87fb922a3ee61049bcb44bbe026 |
02-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove the @skip() and @expectedFaiure decorators, the previously affected tests have now all passed. rdar://problem/8502549 and rdar://problem/8493023 are fixed git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115399 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
609fb486b1a69aa488571cac9125907ef9e55cdb |
02-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use a more robust regexp to search for the 'Code' symbol. Plus compile the regexp once and use it within the for loop for some speedup. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115397 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestDisassemble.py
|
a77534eca8527ad5bf9e97ad3328ae2c632a18dc |
02-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
I committed too fast. Both "struct objc_selector *" and "SEL" are possible, depending on the compiler used. Former if gcc/llvm-gcc, and latter if clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115380 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
56bdc28e244dadbc4165a1a14e56fba3d3b68091 |
02-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated the expected match string when stopped on an objc instance method from: ARG: (struct objc_selector *) _cmd to ARG: (SEL) _cmd The change most likely resulted from an update from the llvm tot with a newer clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115372 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
a20392faaf3febd1b5e0a21a0a3c1ecfe71bb06e |
02-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Commented out two debug prints. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115369 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestDisassemble.py
|
41998197e9d81cba31ac4645c1ec5f0ba7ca1668 |
02-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
o Added a new feature to the test framework to skip long running tests conditionally. To not skip long running tests, pass '-l' to the test driver (dotest.py). An example: @unittest2.skipIf(TestBase.skipLongRunningTest(), "Skip this long running test") def test_foundation_disasm(self): ... o Added a long running disassemble test to the foundation directory, which iterates the code symbols from Foundation.framework and kicks off a disassemble command for for the named function symbol. Found a crasher: rdar://problem/8504895. o Plus added/updated some comments for the TestBase class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115368 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
oundation/TestDisassemble.py
ldbtest.py
|
91de12941cd4dec066e8e8a2d39810c12fe64e9d |
01-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Only skip the test cases which are currently crashing, instead of the whole class. Also, the break by location needs to be modified after changees made to the main.cpp source code. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115320 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
e9048a205c5cbf64d29e89f60acdc4edf90bf6c5 |
01-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added bug number to the @skip decorator. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115317 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
677a86bb05e43eb6627b4f3b0c9059f084a238dd |
01-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
These currently crash (from running 'expr' command). Disable the entire class for the time being. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115316 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
90e325d6aefb5e85c31982a745c4147b50dcac3c |
01-Oct-2010 |
Greg Clayton <gclayton@apple.com> |
Added correct C++ method declarations for destructors and for conversion operators. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115290 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/main.cpp
|
c3bfbd18b6210065a0763c48b5f7b7d4d9582de6 |
01-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple test for the lldb 'disassemble' command. The initial version just sets some breakpoints and invokes 'disassemble' when the breakpoint hits, which just disassembles the bytes in the current function, i.e., frame #0's function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115249 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestDisassemble.py
oundation/main.m
|
64db5873b2b4c98eb087208853f246ef98c0859e |
01-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated to remove most of the @expectedFailure decorators for: # rdar://problem/8493023 # test/types failures for Test*TypesExpr.py: element offset computed wrong and sign error? Two failures remain for test_short* test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115229 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
c8f5e40431efad12d90c49a53498a59c40ddda09 |
01-Oct-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modification required to test clang, gcc, and llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115216 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_locations/TestBreakpointLocations.py
reakpoint_locations/main.c
|
94f21c0a325b51a17f17186b91ad4e3d41c4f883 |
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a more complex test scenario for breakpoint locations, with breakpoint enable/disable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115202 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_locations/Makefile
reakpoint_locations/TestBreakpointLocations.py
reakpoint_locations/main.c
|
594a381aa02909647a112751e4ca3d66f652c51b |
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Test new feature with r115115: Add "-o" option to "expression" which prints the object description if available. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115182 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
18a921fbdc01dfa8caff65a7006f5b5ae31ab683 |
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Stop using LLDB_CC/LLDB_ARCH in the plugins for test configurations. Use make friendly CC and ARCH, instead. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115169 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ake/Makefile.rules
lugins/darwin.py
|
cc03f68596a778d888a27fe5f563770298e31719 |
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
These prints should go to stderr as well. Plus add a global assert string. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115167 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/TestBreakpointCommand.py
|
72afa8d39f44fc99f388d0e7e62b19821c5304d5 |
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
These prints should go to stderr as well. Plus add a global assert string. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115166 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
0e0491a50b1fc56c7fde9c3f1cc050c9e7b80d37 |
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add extra value string to self.expect(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115150 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
|
ffd5229059669201ba31768f69dfc9f93ae28303 |
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a utility function to return the counterpart C++ compiler of $(CC) and use it inside Makefile.rules to return clang++ on clang and llvm-g++ on llvm-gcc. Removed CPLUSPLUSFLAGS which is simply wrong and CPPFLAGS which is unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115125 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
cdf15137e61a3302c038ee92211cb6ec77a5b04e |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Simple refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115075 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
5fed90a7c7f5b496bc6e7453b7aaec2ff8e6399d |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Wrapped the regexp grokking of data type within a try:expect: instead of letting the Python runtime take over in case there isn't a match. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115073 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
5a3a3d968116e73a80b917a8d9c54ccdd92e2a8c |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added an example 'frame variable' output to demonstrate how the generic_type_tester groks the data type of the variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115070 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
16939abc22b3fef3a8cb174f3d8d289850803d2d |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added @expectedFailure decorators for test suite failures: # rdar://problem/8493023 # test/types failures for Test*TypesExpr.py: element offset computed wrong? git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115065 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
bbeb60e635279b68aa70c512cac5127d4c1f1348 |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Turn on generic type tester for expression parser; preparing to file bugs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115063 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
9507ca1bb58185891406a51f1b765a72425badb4 |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the two @skip class decorators. The assert failures have been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115055 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
0bebf9ab704a87a6b172a2341f0bc4cc18494107 |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated the comment section for running 'expr self->string' and 'expr self->date'. The failures are similar in nature to the radar already filed: # rdar://problem/8492646 # test/foundation fails after updating to tot r115023 # self->str displays nothing as output git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115052 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
7d08aae22addeaf6dea33e2906504089cfb5a32c |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added two @expectedFailure decorators for test_data_type_and_expr_with_dsym() and test_data_type_and_expr_with_dwarf(). rdar://problem/8492646 test/foundation fails after updating to tot r115023: self->str displays nothing as output git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115050 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
93d576dd0d6184c3771a83685b3d4efea4065e69 |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated to reflect the updated tot r115023. Will be filing a bug next. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115046 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
af25e196fac1146ffa32be861e5f8fe042b18181 |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the two @expectedFailure decorators for expression parser, they have been fixed. Also chnaged the expected string for 'frame variable this' from '(class C *const) this =' to 'C *const) this =' for the time being, while investigating the different output for tot r115023. runCmd: frame variable this output: (struct C *const) this = 0x0000000100000c2e git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115042 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
605e916015e7f3186e4720f9c56b9462abc07cbe |
29-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the @expectedFailure decorator from test_persistent_variables(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115000 91177308-0d34-0410-b5e6-96231b3b80d8
ersistent_variables/TestPersistentVariables.py
|
b6c15f5bcdf67d4912a29623f1a24fb0316de69f |
28-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added TestIntegerTypesExpr.py and TestFloatTypesExpr.py which exercise 'expr' command on the various basic types, similar to TestIntegerTypes.py and TestFloatTypes.py, which exercise 'frame variable' on the various basic types. Right now, they don't employ the self.expect() facility to compare against the golden output. They just invoke the self.runCmd() method to run the 'expr' command. Decorated the two classes with @unittest2.skip decorators for the time being. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114987 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/TestFloatTypesExpr.py
ypes/TestIntegerTypesExpr.py
|
22faf18df2e423ca44fe9bbb2b087953e127b1c0 |
28-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Sanity check the print representations of SBThread, SBFrame, and SBValue. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114970 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
560a77c79a0909c49398155f01a1e75add622632 |
28-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Trivial assert message modification. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114927 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
|
51a9e00e10d29ba01af7bc2d5efbcf31ec1f76a4 |
28-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use a better name for the abstract base class which contains the generic_type_tester() method. Renamed it to be AbstractBase.py, which contains the GenericTester class that both IntegerTypesTestCase and FloatTypesTestCase inherit from. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114926 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/AbstractBase.py
ypes/TestBasicTypes.py
ypes/TestFloatTypes.py
ypes/TestIntegerTypes.py
|
7c52ff1d83ec262f35c9a825af107735913e7225 |
28-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added "float" and "double" to types/TestBasicTypes.py. Abstracted the generic type tester method into its own abstarct base class 'AbstractBase'. And added TestIntegerTypes.py and TestFloatTypes.py. Added an option "-p reg-exp-pattern" to the test driver to specify a regular expression pattern to match against eligible filenames as our test cases. An example: /Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v -p "TestFloat.*" types ---------------------------------------------------------------------- Collected 4 tests test_double_type_with_dsym (TestFloatTypes.FloatTypesTestCase) Test that double-type variables are displayed correctly. ... ok test_double_type_with_dwarf (TestFloatTypes.FloatTypesTestCase) Test that double-type variables are displayed correctly. ... ok test_float_type_with_dwarf (TestFloatTypes.FloatTypesTestCase) Test that float-type variables are displayed correctly. ... ok test_float_types_with_dsym (TestFloatTypes.FloatTypesTestCase) Test that float-type variables are displayed correctly. ... ok ---------------------------------------------------------------------- Ran 4 tests in 5.592s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114923 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ypes/TestBasicTypes.py
ypes/TestFloatTypes.py
ypes/TestIntegerTypes.py
ypes/double.cpp
ypes/float.cpp
|
8caee983abdc573f5a1278971d40fe625fd0bb18 |
27-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modified doc string. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114875 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestBasicTypes.py
|
044bc3687d7892703468742ccf0fec689ff6ec38 |
27-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added @expectedFailure decorator for the "long long" and "unsigned long long" test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114872 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestBasicTypes.py
|
8ba13e6dda85f15dcd83f14d32edbbd99eed2405 |
27-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added "long long" and "unsigned long long" to the TestBasicTypes.py. Added a special "clean" target to the types/Makefile to clean up all the *.o/.d files. The generic_type_tester() method is modified to take a set of atoms, instead of type string as a required parameter, for example: o unsigned int => set(['unsigned', 'int']) o unsigned long long => set(['unsigned', 'long long']) o long long => set(['long long']) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114871 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
ypes/Makefile
ypes/TestBasicTypes.py
ypes/long_long.cpp
ypes/unsigned_long.cpp
ypes/unsigned_long_long.cpp
|
0a39c7d35881c1dbb8c5b8a80adbb1737c48ccd2 |
27-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated test case to "settings set prompt 'lldb2'" since the '-o' option is gone. Also added "settings set -r prompt" to reset the prompt afterwards. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114846 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
55e16329fc1ef032feddf1df0e94f11547ebcc66 |
25-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Commented out a debug stmt. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114770 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestBasicTypes.py
|
4ec97859ca68e299b5b2beb0313fffeea9d0119e |
25-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added 'char'/'unsigned char'/'short'/'unsigned short' to the test suite. Extended generic_type_tester() method to take an additional keyword argument quoteDisplay (default to False) to facilitate comparison with frame variable display output of character types. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114769 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestBasicTypes.py
ypes/char.cpp
ypes/short.cpp
ypes/unsigned_char.cpp
ypes/unsigned_short.cpp
|
40fc10ff95386164b3263259d5c05cc0383c31c1 |
24-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added comments about the usage of int(string, 0) and long(string, 0) which pass a base of 0 so that the radix of the string is determined based on the contents of string. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114764 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
|
757396a950315670e3400b97b51a081a8dcb4fc3 |
24-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added two new .cpp files to be tested via TestBasicTypes.py for correct display of various combinations of data structures with unsigned int or unsigned long builtin types. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114756 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/TestBasicTypes.py
ypes/long.cpp
ypes/unsigned_int.cpp
ypes/unsigned_long.cpp
|
f353183c6e6136e38a06dac082f3611030b7523f |
24-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Made 'frame variable' printing of unsigned types more readable, like gdb. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114739 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
et_values/TestSetValues.py
nsigned_types/TestUnsignedTypes.py
|
091bb1de9d5cd0f974b91da621e638a22f5b03b5 |
24-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a generic_type_tester() to the TestBasicTypes class to be used for testing various combinations of displaying variales of basic types. The generic_type_tester() works by first capturing the golden output produced by the printf stmts of ./a.out, creating a list of (var, value) pairs, and then running the a.out to a stop point, and comparing the 'frame variable var' output against the list of (var, value) pairs. Modified int_type() and added long_type() to use generic_type_tester(). Also modified TestBase.expect() such that substring matching also return ok if the substring starts at the 0-th position. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114708 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ypes/TestBasicTypes.py
ypes/basic_type.cpp
ypes/int.cpp
ypes/long.cpp
|
832ad6ec43d2839ccd1c1b26cf742a7204ad4183 |
23-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a typo in member name; should be m_b, not b_a. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114660 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/basic_type.cpp
|
397636ec9b675f4d917765400419d6b4805bb8a3 |
23-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed 'frame variable' output to match '(const char *)' instead of '(char const *)'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114652 91177308-0d34-0410-b5e6-96231b3b80d8
unction_types/TestFunctionTypes.py
|
84495e1e9748501b30232b8b63d3970abf738fcd |
23-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed 'frame variable' output to match '(const char *)' instead of '(char const *)'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114649 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
|
0b3ee55c77954ce4359499af2a0c27f1f75c10f1 |
23-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Checked in an initial template for the types directory. Right now, it doesn't actually test-and-compare anything yet. The lldbtest.TestBase has an added method setTearDownCleanup(dictionary=None) to facilitate running the cleanup right after each data type test is run. The test case can pass a dictionary object when registering the test case cleanup. There is currently only int_type test in the repository. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114600 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
lugins/darwin.py
ypes/TestBasicTypes.py
|
93fda3d51b807911821f4a37cb38c1245b26053b |
22-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed to facilitate 'breakpoint set -n Puts', then 'thread step-out' to workaround rdar://problem/8464339 test/types directory: b basic_type.cpp:171 does not work, while gdb does work. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114557 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/basic_type.cpp
|
785275c80c685b58d29619a21a73ea937a075dcf |
22-Sep-2010 |
Greg Clayton <gclayton@apple.com> |
Added the start of a test case that will test all basic types and all the variety of ways they can be displayed in variable views. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114530 91177308-0d34-0410-b5e6-96231b3b80d8
ypes/Makefile
ypes/basic_type.cpp
ypes/int.cpp
|
9421d4e22d5f9d39d7314478c9ab53389640e0ee |
22-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Sanity check the print representation of lldb.SBProcess object. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114513 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
585ff0e8b52e9c841c79006f321cc166f0c31f3b |
22-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Trivial change of a trace output string. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114505 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
8e06de96e9d13418a0ea0d4f3311c61c2fa4fa40 |
22-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a subtest to exercise the capability of lldb Python objects to print themselves. Right now, it tests a breakpoint both before and after it has been resolved. Updated lldbtest.TestBase.expect() with an additional keyword argument 'exe' ( default to True), which if set to False, will treat the mandatory first argument as just the string to be matched/or not-matched against the golden input. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114501 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
|
93ae604fb1c82c5400c495f5c6283637a9c31b7d |
22-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Wrapped the subclass-specific cleanup call within a try:except: clause. And removed the informational output from the conditional_break test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114493 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
onditional_break/conditional_break.py
ldbtest.py
|
2d899751069605306521f226144f7287be7ab2d1 |
21-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a more complex test case of breakpoint commands, which executes a sequence of 'breakpoint command add/list/remove' commands to set breakpoint callbacks, list them, and then remove one. Modified the lldbtest.TestBase.expect() method to add two additional keyword arguments: o matching (default to True), which, if set to False, reverses the semantics of 'expect' to 'expect not' o patterns (default to None), which specifies a list of regexp patterns to match against the output from running the command TestBreakpointCommand.py uses the matching=False and the patterns=[...] expect() API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114480 91177308-0d34-0410-b5e6-96231b3b80d8
reakpoint_command/Makefile
reakpoint_command/TestBreakpointCommand.py
reakpoint_command/main.c
ldbtest.py
|
06f0efabba3bf63dab9b8ced81d7d993ab985c90 |
21-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Decorated PersistentVariablesTestCase.test_persistent_variables() with @expectedFailure as of r114384. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114466 91177308-0d34-0410-b5e6-96231b3b80d8
ersistent_variables/TestPersistentVariables.py
|
f032d90a4fb11c4b3ba129b05d720f445e2cf0ba |
21-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed the order of two assignment stmts. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114381 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
b40056bb26656a2f23bc6a7668b64213176c20f2 |
21-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added the capability to source the configFile specified via the "-c" option in order to customize the running of the test suite. For the time being, the supported customizations are: o redirecting stdout and/or stderr o specifying a list of compilers to build the test programs o specifying a list of architectures to build the test programs for Also checked into the examples/test directory some example files which demonstrate the usage for the above customizations. $ ./dotest.py -v -c ~/.lldbtest-config persistent_variables $ cat ~/.lldbtest-config sys.stderr = open("/tmp/lldbtest-stderr", "w") sys.stdout = open("/tmp/lldbtest-stdout", "w") compilers = ["gcc", "llvm-gcc"] archs = ["x86_64", "i386"] $ cat /tmp/lldbtest-stderr ---------------------------------------------------------------------- Collected 1 test Configuration: arch=x86_64 compiler=gcc test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase) Test that lldb persistent variables works correctly. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.397s OK Configuration: arch=x86_64 compiler=llvm-gcc test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase) Test that lldb persistent variables works correctly. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.282s OK Configuration: arch=i386 compiler=gcc test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase) Test that lldb persistent variables works correctly. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.297s OK Configuration: arch=i386 compiler=llvm-gcc test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase) Test that lldb persistent variables works correctly. ... ok ---------------------------------------------------------------------- Ran 1 test in 1.269s OK $ cat /tmp/lldbtest-stdout $ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114380 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
lugins/darwin.py
|
5b7f4352f4a78398ac25eee4489683670da4a510 |
21-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed this breakpoint callback function to print to the stdout instead of stderr so as not to disrupt the information emitted by the unittest framework. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114377 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/conditional_break.py
|
5bc8c97d62b2e399bd90fb7e00c903d7887412ab |
20-Sep-2010 |
Caroline Tice <ctice@apple.com> |
Add UserSettings to Target class, making Target settings the parent of Process settings; add 'default-arch' as a class-wide setting for Target. Replace lldb::GetDefaultArchitecture with Target::GetDefaultArchitecture & Target::SetDefaultArchitecture. Add 'use-external-editor' as user setting to Debugger class & update code appropriately. Add Error parameter to methods that get user settings, for easier reporting of bad requests. Fix various other minor related bugs. Fix test cases to work with new changes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114352 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
cd0279daf515ee3d4d6727140987a1554803ea50 |
20-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
More modularizations. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114333 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
49f2f7a02b97be46f2cfbb1236b0645ede3d9ec0 |
20-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114332 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
068a34f4d0dadb689e270a1f74a836ba4d8033da |
20-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed lldb 'settings set term-widt 70' command not working. rdar://problem/8449849 git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114328 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
cfaa3f64cbe8fbe3955bc79bd8a460b037c2d7b5 |
19-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added @expectedFailure decorator for test_set_term_width(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114307 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
9c504f2cfd982f4333c2a3d6806351a994861e1f |
19-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the @expectedFailure decorators; it was fixed with r114258. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114305 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
9fdb0a9dd07ac6cf826d9f90f5457b571adedff5 |
18-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a hook for the test driver to take an optional config file to customize the running of the test suite. Right now, it doesn't do anything with the config file. Pass "-c myConfigFile" to specify the config file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114245 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
ee975b827a1bb99c5eae39ff5c90cf1b0de8ac2c |
18-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a typo and supplied a more appropriate assert message. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114232 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
ldbtest.py
|
9792f8ebb5a011b130a6ef63860a63561856b00e |
18-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added test cases to FoundationTestCase to exercise lookup of objc data types and to evaluate expressions. Marked with @expectedFailure decorators for the time being. Enhanced the lldbtest.TestBase.expect() API to allow an additional keyword arg named "error". If the client passes "error=True", it signifies that an error while running the command is expected. The golden input is then compared against the return object's error output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114228 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
ldbtest.py
|
5b07b251a0de0dc96ff8acda31c5bcb1e6929815 |
17-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed test case method names. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114210 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
321301d29227e4856bb08fd034bab48e1a2e7b2b |
17-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added extra test scenarios to break on a selector with: (lldb) breakpoint set -S description and a compilation unit defined instance method with: (lldb) breakpoint set -n '-[MyString initWithNSString:]' git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114134 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
oundation/main.m
|
cc7c097a64bf1fad261684f6328346c6b12b6639 |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed wrong doc strings from cut-and-paste. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114120 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/TestObjCMethods.py
|
ee263596db76d4090d63c89f7294c3ed599099d1 |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a simple test case to set breakpoints on objc class/instance methods. Modified Makefile.rules to allow for overwriting the ARCH make variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114118 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/Makefile
oundation/TestObjCMethods.py
oundation/main.m
ake/Makefile.rules
|
517c705a8dd9bf6a0b26446b6161eaa1c6697b2f |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case for the settings command which sets process.output-path and checks that the launched process writes its standard output there. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114102 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ettings/TestSettings.py
|
af149a01d06804575de17ceb9c4a4827bbae7046 |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Cleaned up the option processing logic and added a '-i' option to ignore the build tree relative search path in order to locate the lldb.py module. When '-i' is present, the test driver relies on the PYTHONPATH environment variable to locate the lldb.py module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114094 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
872aee15367f49a091d2d327f123cfba3eaacc48 |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114081 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/conditional_break.py
otest.py
|
d3521cc25e3e30f86d6c9298937ad22fde22d7de |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Provided a mechanism for the test class to cleanup after itself once it's done. This will remove the confusion experienced when previous test runs left some files (both intermediate or by-product as a result of the test). lldbtest.TestBase defines a classmethod tearDownClass(cls) which invokes the platform-specific cleanup() function as defined by the plugin; after that, it invokes a subclass-specific function classCleanup(cls) if defined; and, finally, it restores the old working directory. An example of classCleanup(cls) is in settings/TestSettings.py: @classmethod def classCleanup(cls): system(["/bin/sh", "-c", "rm output.txt"]) where it deletes the by-product "output.txt" as a result of running a.out. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114058 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ersistent_variables/Makefile
ersistent_variables/TestPersistentVariables.py
ersistent_variables/main.c
lugins/darwin.py
ettings/TestSettings.py
|
d00cfb721761c7c789dae3f9fccbd2bbe0f79cc8 |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Simplied main() and emits a message to the standard out. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114033 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/main.cpp
|
6b5f988566b0cc5c73b54107bcebd7a2c3eea524 |
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added two test cases to TestSettings.py which exercise the lldb's: (lldb) settings set process.run-args A B C (lldb) settings set process.env-vars ["MY_ENV_VAR"]=YES commands. The main.cpp checks whether A, B, C is passed to main and whether the $MY_ENV_VAR env variable is defined and outputs the findings to a file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114031 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/Makefile
ettings/TestSettings.py
ettings/main.cpp
|
c202c465167e3411515fd61cc8d2801b07a819b4 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Also added BuildAndIntegration to the directories to search for an existing lldb.py module. The priorities to search for are Debug, Release, then BuildAndIntegration. You can always override this with a valid PYTHONPATH environment variable before running the test driver. For example: $ PYTHONPATH=/Find/My/LLDB/Module/Here ./dotest.py -v . Python runtime will try to locate the lldb.py module from /Find/My/LLDB/Module/Here first before trying the Debug, Release, and then BuildAndIntegration directories. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113991 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
5f3b98c29a1e406d33b6189c4f81a35620e86185 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed to a more informative message. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113989 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
0c30ad87ad12e06c341a95ca99a9f23b28841fab |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
We believed the intermittent process launch failure while running the test suite has been fixed by r113947. But just in case it still fails, emits a prominent message always. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113986 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
f01fca10761569fa0c76dc40b262b6bf8e56ce81 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the @expectedFailure decorator for test_with_dwarf() test case. It has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113981 91177308-0d34-0410-b5e6-96231b3b80d8
num_types/TestEnumTypes.py
|
c805a67a422b86c48137ed0fe405a59544705d30 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed typo in the doc strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113906 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
c181067bdc5cefc7d0c15b94b9b8623d8f5fed54 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added two test cases to exercise 'expr this->m_c_int' with @expectedFailure decorators for the time being. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113905 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
ldbtest.py
|
d084c4b5bcb4b26dea7d66879b3862f03f3e09e7 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated to add a printf() stmt. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113901 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/main.cpp
|
61ea8ac67279cb46800237546384cf2e85180d1b |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Test order file with both dsym and dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113884 91177308-0d34-0410-b5e6-96231b3b80d8
rder/TestOrderFile.py
|
96ac889c62614d2efde97a64960a9dd8f7101ec1 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Need to call self.buildDefault() before running the test logic. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113881 91177308-0d34-0410-b5e6-96231b3b80d8
rder/TestOrderFile.py
|
493cad45aea34f9cd95206912944c0dcf6cc70da |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
More appropriate headings for the traceoutput: stdout & stderr. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113879 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
fde69bccb31c88b1fbb52c9ceadbd399bff104c7 |
15-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the expectedFailure decorator from test_with_dwarf_and_run_command() test case as it now passes. Added some extra tests to breakpoint_creation_by_filespec_python(). More clarification for the "os command" output and error as defined in lldbtest.system() function. Cleaned up the option processing of the test driver (dotest.py) and fixed the comment about enabling gdb-remote logging. Example: $ GDB_REMOTE_LOG=/tmp/log.txt ./dotest.py -v -t enum_types git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113868 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
otest.py
ldbtest.py
|
8dbb6e84dd0595ae90656b6146ca19edcb0a54d0 |
14-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed an error in Debugger::UpdateExecutionContext() where an invalid index ID 0 was used to set the selected thread if none was selected. Use a more robust API to accomplish the task. Also fixed an error found, while investigating, in CommandObjectThreadSelect:: Execute() where the return status was not properly set if successful. As a result, both the stl step-in test cases with expectedFailure decorators now passed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113825 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
4890405466389954b07c10ab45b1d035c573ce34 |
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Extend the build mechanism to allow for specifying the compiler used to build the binaries. If the build* function is passed the compiler argument, for example, 'llvm-gcc', it is passed as a make variable to the make command. Otherwise, we check the LLDB_CC environment variable; if it is defined, it is passed as a make variable to the make command. If neither the compiler keyword argument nor the LLDB_CC environment variable is specified, no CC make variable is passed to the make command. The Makefile gets to define the default CC being used. -------------------------------------------------------------------------------- Example usage follows: o Via the keyword argument: class ArrayTypesTestCase(TestBase): mydir = "array_types" @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") def test_with_dsym_and_run_command(self): """Test 'frame variable var_name' on some variables with array types.""" self.buildDsym(compiler='llvm-gcc') self.array_types() ... o Via LLDB_CC environment variable: $ LLDB_CC=llvm-gcc ./dotest.py -v -t array_types ---------------------------------------------------------------------- Collected 4 tests test_with_dsym_and_python_api (TestArrayTypes.ArrayTypesTestCase) Use Python APIs to inspect variables with array types. ... os command: [['/bin/sh', '-c', 'make clean; make MAKE_DSYM=YES CC=llvm-gcc']] output: rm -rf "a.out" "a.out.dSYM" main.o main.d llvm-gcc -arch x86_64 -gdwarf-2 -O0 -arch x86_64 -gdwarf-2 -O0 -c -o main.o main.c llvm-gcc -arch x86_64 -gdwarf-2 -O0 main.o -o "a.out" /usr/bin/dsymutil -o "a.out.dSYM" "a.out" ... git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113781 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ake/Makefile.rules
lugins/darwin.py
|
53b66eb5019c63e596217fe8049f1dd146cb2207 |
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated the expected matching strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113756 91177308-0d34-0410-b5e6-96231b3b80d8
rder/TestOrderFile.py
|
94a07652c23f55a20f856550a1ceed549b6b8cd7 |
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated the expected matching strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113755 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
|
081d30d39085127b21a302d273f0cf5a77ec5769 |
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated the expected matching strings, and added a radar comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113753 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
|
ec3d29fd07d4552091a1808b048dbc26d2f1ad14 |
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated the expected matching strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113751 91177308-0d34-0410-b5e6-96231b3b80d8
nsigned_types/TestUnsignedTypes.py
|
471d67268cfe7be110cc57f21b8ac6cb873d2f1a |
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the two expectedFailure decorators from the test cases. They have been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113750 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
|
0efdf0d9b9960a8a026ef0978f11f5bc63b98eec |
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated the expected matching string after the recent flurry of check ins. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113748 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
|
cb0272fa09cd1dd1cfd5d4903185b587ad95ec86 |
13-Sep-2010 |
Greg Clayton <gclayton@apple.com> |
A few modifications to the class arrays test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113732 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/main.cpp
|
ba9f4cccd9fbc452d443f49e5a2a072ca383461f |
13-Sep-2010 |
Greg Clayton <gclayton@apple.com> |
I made this example after noting that I was unable to display an unsized static class array. It turns out that gcc 4.2 will emit DWARF that correctly describes the PointType, but it will incorrectly emit debug info for the "g_points" array where the following things are wrong: - the DW_TAG_array_type won't have a subrange info - the DW_TAG_variable for "g_points" won't have a valid byte size, so even though we know the size of PointType, we can't infer the actual size of the array by dividing the size of the variable by the number of elements. We want to make sure clang and llvm-gcc handle this correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113730 91177308-0d34-0410-b5e6-96231b3b80d8
lass_static/Makefile
lass_static/main.cpp
|
b81ed0d482fa374fd90e8bb591d0d9c28180559c |
11-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added [-o <one-liner>] to the "breakpoint command add" lldb command to be able to specify a one-liner (either scripting or lldb command) inline. Refactored CommandObjectBreakpointCommandAdd::Execute() a little bit and added some comments. Sn now, we use: breakpoint command add -p 1 -o "conditional_break.stop_if_called_from_a()" to specify a Python one-liner as the callback for breakpoint #1. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113672 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/.lldb
|
a51d59146f0612d61c76ce39129a1333ef20e251 |
10-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
These two files should have been in r113596. Oops! git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113598 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/.lldb
onditional_break/conditional_break.py
|
d1c2dcac1c8509a77e6d9227c1285f96cbfadeb3 |
10-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added the capability to specify a one-liner Python script as the callback command for a breakpoint, for example: (lldb) breakpoint command add -p 1 "conditional_break.stop_if_called_from_a()" The ScriptInterpreter interface has an extra method: /// Set a one-liner as the callback for the breakpoint command. virtual void SetBreakpointCommandCallback (CommandInterpreter &interpreter, BreakpointOptions *bp_options, const char *oneliner); to accomplish the above. Also added a test case to demonstrate lldb's use of breakpoint callback command to stop at function c() only when its immediate caller is function a(). The following session shows the user entering the following commands: 1) command source .lldb (set up executable, breakpoint, and breakpoint command) 2) run (the callback mechanism will skip two breakpoints where c()'s immeidate caller is not a()) 3) bt (to see that indeed c()'s immediate caller is a()) 4) c (to continue and finish the program) test/conditional_break $ ../../build/Debug/lldb (lldb) command source .lldb Executing commands in '.lldb'. (lldb) file a.out Current executable set to 'a.out' (x86_64). (lldb) breakpoint set -n c Breakpoint created: 1: name = 'c', locations = 1 (lldb) script import sys, os (lldb) script sys.path.append(os.path.join(os.getcwd(), os.pardir)) (lldb) script import conditional_break (lldb) breakpoint command add -p 1 "conditional_break.stop_if_called_from_a()" (lldb) run run Launching '/Volumes/data/lldb/svn/trunk/test/conditional_break/a.out' (x86_64) (lldb) Checking call frames... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start c called from b Continuing... Checking call frames... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start c called from b Continuing... Checking call frames... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start c called from a Stopped at c() with immediate caller as a(). a(1) returns 4 b(2) returns 5 Process 20420 Stopped * thread #1: tid = 0x2e03, 0x0000000100000de8 a.out`c + 7 at main.c:39, stop reason = breakpoint 1.1, queue = com.apple.main-thread 36 37 int c(int val) 38 { 39 -> return val + 3; 40 } 41 42 int main (int argc, char const *argv[]) (lldb) bt bt thread #1: tid = 0x2e03, stop reason = breakpoint 1.1, queue = com.apple.main-thread frame #0: 0x0000000100000de8 a.out`c + 7 at main.c:39 frame #1: 0x0000000100000dbc a.out`a + 44 at main.c:27 frame #2: 0x0000000100000e4b a.out`main + 91 at main.c:50 frame #3: 0x0000000100000d88 a.out`start + 52 (lldb) c c Resuming process 20420 Process 20420 Exited a(3) returns 6 (lldb) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113596 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
|
88866ac481cd5533c18e00233aeced2eb1fce42b |
09-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added GetStackFrames(thread) utility function. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113460 91177308-0d34-0410-b5e6-96231b3b80d8
ldbutil.py
|
1605cf6d06d95bfe381693ced84a216899ecac6f |
09-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a lldbutil.py module, which contains utility functions which can be used from scripting applications. An example usage from TestConditionalBreak.py is: import lldbutil lldbutil.PrintStackTrace(thread) ./dotest.py -v conditional_break ---------------------------------------------------------------------- Collected 2 tests test_with_dsym (TestConditionalBreak.ConditionalBreakTestCase) Exercise some thread and frame APIs to break if c() is called by a(). ... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start ok test_with_dwarf (TestConditionalBreak.ConditionalBreakTestCase) Exercise some thread and frame APIs to break if c() is called by a(). ... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start ok ---------------------------------------------------------------------- Ran 2 tests in 7.803s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113432 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
ldbutil.py
|
91960d3b4f1c8ccbc7b2087bc82fe2cc24b45f5a |
08-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added '-d' option to the test driver to spit out the process id and do a delay of 10 seconds in order for the debugger to attach. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113407 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
4eb0ef946cb6a560a7b6bc550ea4b06b2edf105d |
08-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Minor tweak to add expected matching strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113327 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/TestConditionalBreak.py
|
a773049adceb70a82b6d2df926e30cdaa67b0303 |
08-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case which exercises some thread and frame APIs to break only when the call site of c() is a(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113325 91177308-0d34-0410-b5e6-96231b3b80d8
onditional_break/Makefile
onditional_break/TestConditionalBreak.py
onditional_break/main.c
|
dbe0d4ac5a351cf434e5ab289cc5450ae4a18502 |
08-Sep-2010 |
Greg Clayton <gclayton@apple.com> |
Added an objective C test that creates some NSString, NSArray and NSDictionary objects and populates them so we can test making expression calls with these objects. We will need to make this test case more complete as time goes on to make sure we can evaluate all functions. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113314 91177308-0d34-0410-b5e6-96231b3b80d8
bjc/Makefile
bjc/main.m
|
c6fe11ffec7bdcda3fa68343522addc8ec14b9d6 |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
The output for term-width setting has single quotes around the (int) value. And added a trace output for the stop function name to breakAfterLaunch() method. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113251 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
ettings/TestSettings.py
|
072a32a01648449d446f54c1a198337bca779f0d |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestUnsignedTypespy and TestStructTypes.py to Dsym/Dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113244 91177308-0d34-0410-b5e6-96231b3b80d8
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
301f2b19b1dd78b12a0201fa044f00168cb7bbc9 |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestSTL.py to Dsym/Dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113241 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
ae1446c8cdd50911fb48469faa90743c932fd577 |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestSetValues.py to Dsym/Dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113238 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
|
e0428c34d7981c0590eca2f3bff09d5083ab5597 |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case for setting term-width, too. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113219 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
24dd18aeb447c2d06195a6898838706172e8d893 |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113214 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
6c88f892a987941c29cbd384fb2eef0c7cafb29f |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a simple test case for the "settings set" command for instance variable 'prompt'. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113211 91177308-0d34-0410-b5e6-96231b3b80d8
ettings/TestSettings.py
|
40daa872d1be66fd3f8b79ffa6fea8e8cc028df3 |
07-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
LLDB command "set term-width 0" needs to be changed to "settings set term-width 0" after the recent checkin. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113206 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
821a8c478a14484c3fd560db3354825b2dc49b99 |
04-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a default build phase at the beginning of test_load_unload() test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113039 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
ff4e1d8e276b6e330f78ac145712274a7c36a484 |
04-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Marked test_process_launch_for_universal() test case as requiring 'darwin' and 'i386' in order to be run. And added a default build phase at the beginning of the method. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113037 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
acosx/universal/TestUniversal.py
lugins/darwin.py
|
b064e8985a2e015cabc5949b2fc234baec645ce8 |
04-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestGlobalVariables.py to Dsym/Dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113030 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
|
d9ed552026a5d2842d95b2852f33346e867e9799 |
04-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestFunctionTypes.py to Dsym/Dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113029 91177308-0d34-0410-b5e6-96231b3b80d8
unction_types/TestFunctionTypes.py
|
9aaaf4a2aa1fc8460acf58d380f46d3812357001 |
04-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestEnumTypes.py to Dsym/Dwarf combination. Marked test_with_dwarf() as expectedFailure where 'image lookup -t days' returns nothing. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113028 91177308-0d34-0410-b5e6-96231b3b80d8
num_types/TestEnumTypes.py
|
c5b15db9b9e17233c4dc35c9ff3539a0266465f0 |
04-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed an lldb infrastructure bug, where the debugger should reaaly update its execution context only when the process is still alive. When running the test suite, the debugger is launching and killing processes constantly. This might be the cause of the test hang as reported in rdar://problem/8377854, where the debugger was looping infinitely trying to update a supposedly stale thread list. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113022 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
59ea45fc85deacf0b8ca8250f116b7cc7b3691a5 |
03-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added comments regarding the two mechanisms of process cleanup to lldbtest.py. Also changed the expected strings to be matched since "thread list" changed its output format. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112880 91177308-0d34-0410-b5e6-96231b3b80d8
ead-strip/TestDeadStrip.py
unction_types/TestFunctionTypes.py
ldbtest.py
|
72a14344a1c445fc201e1887115b1952da12588e |
02-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Moved the process cleanup of Script-Bridge-based APIs into TestBase.tearDown() method where they belong. Also fixed a logic error in maintaining the command interface flag (runStarted) indicating whether the lldb "run"/"process launch" command has been issued. It was erroneously cleared. Modified the test cases to take advantage of the refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112863 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
ello_world/TestHelloWorld.py
ldbtest.py
|
8b09b32b95810a2dc617148271ed0dd6281259a8 |
02-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
(query-replace "variable list" "frame variable") git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112824 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_types/TestClassTypes.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
ello_world/TestHelloWorld.py
et_values/TestSetValues.py
nsigned_types/TestUnsignedTypes.py
|
f083e68212454d5fea5c0ff3759bc54fab682c88 |
02-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112750 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
c202b4929eb8dacd9b3951694525441cb815aee9 |
02-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Put the little dances done after SBTarget.LaunchProcess() into the base class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112749 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
ldbtest.py
|
1c42e8684d26e1473f92c799eeae65a3eec991d6 |
01-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed the test case class names to be noun-like instead of verb-like. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112732 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_types/TestClassTypes.py
ommand_source/TestCommandSource.py
ead-strip/TestDeadStrip.py
num_types/TestEnumTypes.py
xample/TestSequenceFunctions.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
ello_world/TestHelloWorld.py
elp/TestHelp.py
oad_unload/TestLoadUnload.py
acosx/universal/TestUniversal.py
rder/TestOrderFile.py
ersistent_variables/TestPersistentVariables.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
acb708d91e0ba6bbd59f2b6b29b34f9b98413cf5 |
01-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated to add plugins directory to PYTHONPATH. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112688 91177308-0d34-0410-b5e6-96231b3b80d8
otest.pl
|
21f33412530d5127c636da2a6de263eafb670a84 |
01-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Avoid killing the inferior process twice by passing a setCookie=False keyword argument when issuing a "run" lldb command within the test case meant to exercise the Python APIs, but is using the command interface due to certain reason (such as target.LaunchProcess() does not reliably bring up the inferior). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112682 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
ldbtest.py
|
8521c58d8dbfad446f12d5fe9b7ba3fed3ab9e28 |
01-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestDeadStrip.py to Dsym/Dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112670 91177308-0d34-0410-b5e6-96231b3b80d8
ead-strip/TestDeadStrip.py
|
25faa357f362f8679ea59743b0295eef23a386f1 |
01-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestClassTypes.py to Dsym/Dwarf combination. Marked one test case as expectedFailure because in dwarf format, "variable list this" returns an error. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112660 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
|
a0e077ff9244ef68511c37f0a8eec5a3162925de |
31-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestBitfields.py to Dsym/Dwarf combination. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112646 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
|
433cc8d542060763e257f30cdce6616032052966 |
31-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Updated to reflect the "plugins" directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112607 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
|
9de4edee4cb4371813d0281f662a7cf1468cee66 |
31-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed the buildDsym()/buildDwarf() TestBase methods to use a plugin framework to delegate the building of binaries to a sys.platform-sepcific plugin. Modified the dotest.py test driver to add the "plugins" directory to the PYTHONPATH as well. darwin.py is the Mac OS X plugin module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112606 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
lugins/darwin.py
|
32caf6a07e2cb834a9ef0c9d86b1b28d1096f9a5 |
31-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added doc strings to the array_types test cases. And terminate the current process being debugged in the TestBase.tearDown() instead of letting it continue and finish. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112556 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
|
1acaf6372d30c4334c00b9d98be5ebe776d429ab |
31-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted TestArrayTypes.py to Dsym/Dwarf combination, and added verbose output of os command to lldbtest.TestBase.system() method. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112547 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
|
eef7a86859d40eb77a5e2e31980c6502a64bafb8 |
31-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added buildDsym() and buildDwarf() methods to lldbtest.TestBase class, and call them from test cases instead of issuing "make clean; make ..." os command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112542 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
ldbtest.py
|
a1cc883954b8db13af7268f1fe3b96eb0c41b401 |
30-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a system() method to the TestBase class of lldbtest.py, which is actually taken from Python 2.7's subprocess.check_output() convenience function. The purpose of this method is to run the os command with arguments and return its output as a byte string. Modified hello_world/TestHelloWorld.py to have two test cases: o test_with_dsym_and_run_command o test_with_dwarf_and_process_launch_api with the dsym case conditioned on sys.platform.startswith("darwin") being true. The two cases utilize the system() method to invoke "make clean; make MAKE_DYSM=YES/NO" to prepare for the appropriate debugging format before running the test logic. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112530 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
ldbtest.py
|
4eb7b11c8f854d8305d8a4f354fb426d44a990c9 |
28-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fail early, fail fast. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112328 91177308-0d34-0410-b5e6-96231b3b80d8
ersistent_variables/TestPersistentVariables.py
|
1bb9f9a3917c7ac7228d0a81a0ff8a225165800a |
28-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case test_breakpoint_creation_by_filespec_python() which creates a breakpoint by FileSpec and line number and exercises some FileSpec APIs. Also, RUN_STOPPED is a bad assert name, RUN_SUCCEEDED is better. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112327 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
lass_types/TestClassTypes.py
ead-strip/TestDeadStrip.py
num_types/TestEnumTypes.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
ldbtest.py
oad_unload/TestLoadUnload.py
acosx/universal/TestUniversal.py
ersistent_variables/TestPersistentVariables.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
44ea31f0182a03b6a5dc2de26ddd337708a7d5ac |
28-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a typo in the method name. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112311 91177308-0d34-0410-b5e6-96231b3b80d8
ello_world/TestHelloWorld.py
|
0dd10392049cfcb203723600bf002be9396be3a8 |
27-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Trivial doc string mod. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112293 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
6264bc6bd486a321c375cf852e6c9041eb49be7b |
27-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added TestHelloWorld.py which exercises the Python APIs for target, breakpoint, and process. Added comment within the file about issues of using LaunchProcess of SBTarget to launch a process (rdar://problem/8364687). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112276 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
ello_world/Makefile
ello_world/TestHelloWorld.py
ello_world/main.c
ldbtest.py
|
9c10c1875cc1a62c5122459356b12228fe0a4a56 |
27-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case to bitfields which uses the Python APIs from lldb.py. Added a utility method to TestBase class to debug print an SBValue object. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112247 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
itfields/TestBitfields.py
ldbtest.py
|
54c9e115eb69a80296e0d99e1e1317fc9de908a6 |
27-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modified method doc string for verbose test description output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112236 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
115523dee5b972907fe7de6c9057e8eaccd1c91d |
27-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed from dbg.GetCurrentTarget() to dbg.GetSelectedTarget(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112231 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
c39aadc8fe525c563079218cb673bc59468fe2f5 |
26-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added comment about target.LaunchProcess() not working. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112226 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
f4ce288a3cf556cdafb78c37b301f6f99779f274 |
26-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a utility function EnvArray() to lldbtest.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112223 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
|
b4d1ffffde48b4b250886df30c12480f034142e4 |
26-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
o Added a test case for array_types which uses the Python APIs from lldb.py, with the only exception of launching the process from SBTarget which is under investigation. o build-swig-Python.sh should also checks the timestamp of ${swig_input_file} for update eligibility. Also, once an update is in order, there's no need to check the remaining header files for timestamps. o Coaches swig to treat StopReason as an int type, instead of a C++ class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112210 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
|
d8473bc7d468937d9d979d43ac6485e4c96b65b9 |
26-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Minor doc string modification. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112103 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
a8b3cdd691771ec347420ed625d7306574eedd4f |
26-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added logic to TestUniversal.py to exercise the python APIs: o SBDebugger.GetCurrentTarget() o SBTarget.GetProcess() o SBProcess.GetAddressByteSize() in order to make sure that, indeed, 64-bit, followed by 32-bit processes have been launched. Added invoke() method to TestBase to factor in the tracing logic in one place. This method allows an object to call a method with no arg reflectively. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112102 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
acosx/universal/TestUniversal.py
|
22b95b26168812fa0e36463c50aeb6ae0a3c1507 |
25-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a logic error in the expect() method. If the start string does not match, there's no point matching further sub strings; the expect() already fails. Also cleaned up the assert message for VARIABLES_DISPLAYED_CORRECTLY. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112074 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
65572489e377b4341f57dc6177e7a36cee65d359 |
25-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Allow command retries in case of process launch failures. This recovery mechanism seems to work fine on my MacBook Pro in some limited test cases. The default maxLaunchCount and timeWait variables used in the scheme can be overridden by the env variables LLDB_MAX_LAUNCH_COUNT and LLDB_TIME_WAIT. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112071 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
3f3fb13b82f9081941b95074eb32378c840839e2 |
25-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
More descriptive trace messages for the matchings of start and sub strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112000 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
8bd8e425ca5b1bcd3a2624d3964361a96f9fa39e |
25-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed the @unitest2.expectedFailure decorator. The i386 process launch works correctly after all. It was my own configuration error (I was building x86_64 only). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111992 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/TestUniversal.py
|
4917e102e01da14496df098ebe8fe6c1096f1610 |
25-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test for launching a universal binary. Launch of i386 architecture currently fails: rdar://problem/8349784. Forgot to check in lldbtest.py in the previous commit r111958. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111975 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
acosx/universal/TestUniversal.py
|
fd2384177bc523c0a1890bfd0405267cf686726e |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted to Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111961 91177308-0d34-0410-b5e6-96231b3b80d8
nlines/Makefile
|
d682fbd5afdc81fc629468bce63b55bff1a19d95 |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
More descriptive method doc string. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111960 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
|
6220759936a394ab6a6fb971b9767b48126c2d5c |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case which uses "image lookup" command on an enum data type. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111958 91177308-0d34-0410-b5e6-96231b3b80d8
num_types/TestEnumTypes.py
|
d1985db2ba93d7381eac3edd49d4c8ff49871960 |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Need a better method name. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111939 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
|
38b6b37638a5f35cf0191336e5d99976c03e59ea |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted to Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111938 91177308-0d34-0410-b5e6-96231b3b80d8
num_types/Makefile
|
36fc28d0ac64857baff9ed66bc9bf9a463722e1f |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added test case TestBitfields.py for rdar://problem/8348251, where "variable list bits" display bits variable correctly, but not "variable list". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111937 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/TestBitfields.py
|
fd54cd2022083d9ccf6b9612210c2b5f3ace846c |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted to Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111928 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/Makefile
|
7a7d2b3619403914f302c005ca649fe586fc8826 |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Generates the .d prerequisite file for dylib as well. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111920 91177308-0d34-0410-b5e6-96231b3b80d8
ake/Makefile.rules
|
8f24cd14c5c86dabbe35bd8a04ea9fea581797f4 |
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Makefile refactoring for the test suite. Added a make directory under test, which hosts the Makefile.rules and modified most of the Makefiles under each test case directories to utilize Mekefile.rules. Added a description of 'make' directory into README-TestSuite file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111868 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
rray_types/Makefile
lass_types/Makefile
ead-strip/Makefile
unction_types/Makefile
lobal_variables/Makefile
ake/Makefile.rules
rder/Makefile
et_values/Makefile
tl/Makefile
truct_types/Makefile
nsigned_types/Makefile
|
d0c24b2232303d012c41244af5aba2fb60440bb2 |
23-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed the keyword argument for runCmd()/expect() from 'verbose' to 'trace', which, defaults to False, and if set to True, will trace lldb command execution and result. Added "-t" command option to the test driver dotest.py which sets the LLDB_COMMAND_TRACE environment variable to "YES" and as a result always turns on command tracing regardless of the 'trace' keyword argument to runCmd()/expect(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111811 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
ldbtest.py
tl/TestSTL.py
|
029acae0cafa565e876eb8cbce1231310eef5356 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Print the verbose output of runCmd()/expect() to stderr instead of stdout. And converted the rest of the test cases to runCmd()/expect(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111677 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
oad_unload/TestLoadUnload.py
rder/TestOrderFile.py
ersistent_variables/TestPersistentVariables.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
|
e8b02f35e6242e2dae14395427073dbf567c6df0 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Changed TestBase.expect() to allow default 'msg' arg. Converted TestHelp.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111671 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
ldbtest.py
|
ead35c8cdac14f526baa42c1c09f4b862b8b2eb6 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added more verbose output when string match fails. Converted TestGlobalVariables.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111666 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
ldbtest.py
|
4f995f0718299696719089084a622835b6a7b4b8 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added verbose option to runCmd()/expect() in lldbtest.py. Converted TestFunctionTypes.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111658 91177308-0d34-0410-b5e6-96231b3b80d8
unction_types/TestFunctionTypes.py
ldbtest.py
|
84e8179c4d8c5ce9aa3dbdd875f09d06517e7366 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted some more test cases to use runCmd()/expect(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111652 91177308-0d34-0410-b5e6-96231b3b80d8
lass_types/TestClassTypes.py
ommand_source/TestCommandSource.py
ead-strip/TestDeadStrip.py
ldbtest.py
|
7c254167412bdce7508ddc6b781af4f5d4fd7588 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Converted to use runCmd() and expect() for more abstraction. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111593 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
|
5236fc046944559ba6fe525025364c52b6d5a4e0 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use cmd.startswith("run") instead of string equivalence test. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111587 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
8df95eb37a2e76c83432bc2b83cda8cb35e59337 |
20-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Abstracted the running of command through the command interpreter and checking its return status into lldbtest.TestBase.runCmd(); and runCmd() in combination with checking the output against matching substrings (including startswith) into lldbtest.TestBase.expect(). TestUnsignedTypes.py is refactored to use the abstracted APIs. Other test cases to be modified later. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111572 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
nsigned_types/TestUnsignedTypes.py
|
c359370e24c6baec8a17e8bc535d535b9cf9f4c0 |
19-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added more informational assert message strings. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111536 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
ead-strip/TestDeadStrip.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
elp/TestHelp.py
oad_unload/TestLoadUnload.py
rder/TestOrderFile.py
ersistent_variables/TestPersistentVariables.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
2c624b34ccd5d2bc4b717d2b080b1914b10ecb83 |
18-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Simplify the assert matched-string criterion. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111429 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
028fefdff7195287c7a71d585f25df4cb4088132 |
18-Aug-2010 |
Jim Ingham <jingham@apple.com> |
Added call stacks with inlined functions higher on the stack, and non-inlined functions at the bottom. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111379 91177308-0d34-0410-b5e6-96231b3b80d8
nlines/inlines.c
nlines/inlines.h
|
840d8e3a4c867768d2bee72e6b5252fce3362ea7 |
18-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Write out the informational message about the total number of test cases to be run to stderr, instead of stdout. The same as what the unittest framework uses. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111319 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
otest.py
|
4e6c888b71f97bb9dc7a3bfe64fbf9f94e3193a8 |
17-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add the ability to specify logging options for lldb and gdb-remote through two additional env variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111295 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
9b92c6eba4e32c3084d2c9d6b2f342040a9c8bf7 |
17-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Specify a more meaningful assert message for TestDeadStrip.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111294 91177308-0d34-0410-b5e6-96231b3b80d8
ead-strip/TestDeadStrip.py
ldbtest.py
|
1a43726befcd013a92ee2dd67eed775fef8379a6 |
17-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added logging for process.gdb-remote by defining an environment variable named GDB_REMOTE_LOG which specifies the log file pathname. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111198 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
ffde4fc256fbb2b486fbce219f5c4f15a90fb8fe |
16-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Factored the "continue" command execution of the inferior process as part of the cleanup before finish into the test fixture in lldbtest.TestBase.tearDown(). Derivatives of TestBase is responsible for setting self.runStarted to True if an inferior process has been started. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111188 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
ead-strip/TestDeadStrip.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
elp/TestHelp.py
ldbtest.py
oad_unload/TestLoadUnload.py
rder/TestOrderFile.py
ersistent_variables/TestPersistentVariables.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
83f6e51363d5ccb37933147be00da1c74f0b1351 |
14-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a workaround for test suite hang while terminating by checking env variable LLDB_TESTSUITE_FORCE_FINISH and, if defined, kill the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111056 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
741bf6cd88224b4525f1e359260d3c14a31abd36 |
13-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case to exercise persistent variables in combination with the "expr" command. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111035 91177308-0d34-0410-b5e6-96231b3b80d8
ersistent_variables/TestPersistentVariables.py
|
27707b3a139fce5a9bd9f7f3fdaff3f8a4d6a930 |
12-Aug-2010 |
Jim Ingham <jingham@apple.com> |
Test files (but no test cases yet) for handling Universal files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110893 91177308-0d34-0410-b5e6-96231b3b80d8
acosx/universal/Makefile
acosx/universal/main.c
|
0007dfff776edec41a108a57d0a0924b1068977b |
12-Aug-2010 |
Jim Ingham <jingham@apple.com> |
Few little fixes to reading in inlined functions. Also added a test case with some inlining. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110892 91177308-0d34-0410-b5e6-96231b3b80d8
nlines/Makefile
nlines/inlines.c
|
01f2a6a3cea331ed92178bf5bc990022e872e93d |
10-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Call lldb.SBDebugger.Terminate() at the end of test suite run through the atexit handler similar to what's happening for the individual test case run. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110719 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
d85dae5a089177582aff128c897c78332167fe08 |
10-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Modified the remaining test cases to display more meaningful assert messages. Added a generic message generator to the lldbtest.py base module. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110625 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
ommand_source/TestCommandSource.py
ead-strip/TestDeadStrip.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
elp/TestHelp.py
ldbtest.py
oad_unload/TestLoadUnload.py
rder/TestOrderFile.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
96f08d5c8666f2381ab723093c1e1e82b6a462cf |
10-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added some commonly used assert messages to the lldbtest.py module which houses the TestBase. Modified TestArrayTypes.py to use the assert messages. Other files to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110611 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
ldbtest.py
|
7987ac9e8b880c5a172afe280a72d2dcb4b77830 |
09-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Install the SIGINT (control-c) handler before invoking the text test runner. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110595 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
6ead27f35c821dbde81b96601353e7721b8f4004 |
07-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Commented out "import traceback". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110497 91177308-0d34-0410-b5e6-96231b3b80d8
ldbtest.py
|
877c7e4a4af2dd95b3999c1d7381b661787155cb |
07-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Putting out messages about the number of test cases to be run before running the whole test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110487 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
3acc73a9b96189ab769929b374457b0e3b610d65 |
06-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added more comments about unittest2. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110470 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
|
16fc6947e8a725f6720b8f7375f8bd571066d586 |
06-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added description about unittest2. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110400 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
|
75e28f942c1b9f9c6d5a0d5f2efd037cbbc9fc74 |
06-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
o Added unittest2 which has added the new features in unittest for Python 2.7 backported to Python 2.3+. Some of the features desired include better verbose reporting in unittest2.TextTestRunner and decorator support for skipping tests and expected failures. http://pypi.python.org/pypi/unittest2 o Modified the existing .py tests to use unittest2 and decorated TestSTL.test_step_into_stl(), which is known to always fail currently, with @unittest2.expectedFailure. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110397 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
ommand_source/TestCommandSource.py
ead-strip/TestDeadStrip.py
otest.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
elp/TestHelp.py
ldbtest.py
oad_unload/TestLoadUnload.py
rder/TestOrderFile.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nittest2/__init__.py
nittest2/__main__.py
nittest2/case.py
nittest2/collector.py
nittest2/compatibility.py
nittest2/loader.py
nittest2/main.py
nittest2/result.py
nittest2/runner.py
nittest2/signals.py
nittest2/suite.py
nittest2/test/__init__.py
nittest2/test/dummy.py
nittest2/test/support.py
nittest2/test/test_assertions.py
nittest2/test/test_break.py
nittest2/test/test_case.py
nittest2/test/test_discovery.py
nittest2/test/test_functiontestcase.py
nittest2/test/test_loader.py
nittest2/test/test_new_tests.py
nittest2/test/test_program.py
nittest2/test/test_result.py
nittest2/test/test_runner.py
nittest2/test/test_setups.py
nittest2/test/test_skipping.py
nittest2/test/test_suite.py
nittest2/test/test_unittest2_with.py
nittest2/util.py
nsigned_types/TestUnsignedTypes.py
|
88f8304a5b7864ce3c6966bc0250fa3b7069aef0 |
05-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
When running a single test case, lldb.SBDebugger.Terminate() is not being called because unittest.main() calls sys.exit() before returning. Fixed by registering an exit handler for this situation. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110379 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
ommand_source/TestCommandSource.py
ead-strip/TestDeadStrip.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
elp/TestHelp.py
ldbtest.py
oad_unload/TestLoadUnload.py
rder/TestOrderFile.py
et_values/TestSetValues.py
tl/TestSTL.py
truct_types/TestStructTypes.py
nsigned_types/TestUnsignedTypes.py
|
6be30df96c248b2c395a0a6658f2c297ea518ec0 |
04-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added README file for the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110160 91177308-0d34-0410-b5e6-96231b3b80d8
EADME-TestSuite
|
960d6a40711f05effe6fcc5b66f0952450f79ea2 |
03-Aug-2010 |
Greg Clayton <gclayton@apple.com> |
Added support for objective C built-in types: id, Class, and SEL. This involved watching for the objective C built-in types in DWARF and making sure when we convert the DWARF types into clang types that we use the appropriate ASTContext types. Added a way to find and dump types in lldb (something equivalent to gdb's "ptype" command): image lookup --type <TYPENAME> This only works for looking up types by name and won't work with variables. It also currently dumps out verbose internal information. I will modify it to dump more appropriate user level info in my next submission. Hookup up the "FindTypes()" functions in the SymbolFile and SymbolVendor so we can lookup types by name in one or more images. Fixed "image lookup --address <ADDRESS>" to be able to correctly show all symbol context information, but it will only show this extra information when the new "--verbose" flag is used. Updated to latest LLVM to get a few needed fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110089 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/main.m
|
068d9a84a3cb6990e04b8ce349324bec8be8c310 |
02-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110066 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
eefdff0b16eb15f1f03c0a98c92f375e92ae5ac2 |
02-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Cleanup of test case. Added more comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110064 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_source/TestCommandSource.py
|
60dde64d699c71807dc95d75b40f5b777d167cc4 |
31-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
We can do better when reporting the status of one-liner script execution. Change the prototype of ScriptInterpreter::ExecuteOneLine() to return bool instead of void and take one additional parameter as CommandReturnObject *. Propagate the status of one-liner execution back appropriately. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109899 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_source/TestCommandSource.py
|
c48dc6fc780a31c1c431835e3b74a5474caede81 |
29-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case to test that lldb command "command source" works correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109806 91177308-0d34-0410-b5e6-96231b3b80d8
ommand_source/.lldb
ommand_source/TestCommandSource.py
ommand_source/my.py
|
032caaa8e59feebf54eaa10e4854c81c2bf2d10c |
29-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed redundant import statement. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109803 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
e310624f7009878ae23ee5f1f84bb6f1d505ae3b |
29-Jul-2010 |
Greg Clayton <gclayton@apple.com> |
Added an objective C test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109798 91177308-0d34-0410-b5e6-96231b3b80d8
oundation/Makefile
oundation/main.m
|
61bfb3e00fc2972141dca32f2a663184dfaef14f |
29-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed debug stmts checked into the previous commit. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109712 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
d6a87dcc978701521e4f51830550ab74a20734e4 |
29-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add some comment about possible related bug info. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109678 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
f07c46a00b1d6f2c265a3ed8341568f5bfa3f376 |
28-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case to test that we can successfully step into an STL function. This test case currently always fails. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109674 91177308-0d34-0410-b5e6-96231b3b80d8
tl/TestSTL.py
|
d03d3c2f73005fedcf9938cd4f0f9828a8cb6241 |
28-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case to test that break on a struct declaration has no effect. Instead, the first executable statement is set as the breakpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109552 91177308-0d34-0410-b5e6-96231b3b80d8
truct_types/TestStructTypes.py
|
5cc51171e786add0808d0f18b5932f82b5fc3965 |
27-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a test case for showing variables of unsigned types. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109545 91177308-0d34-0410-b5e6-96231b3b80d8
nsigned_types/TestUnsignedTypes.py
|
5e2bf0deb83903d4b9f3c824a668f72db249e465 |
27-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Renaming from TestOrder.py to TestOrderFile.py. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109540 91177308-0d34-0410-b5e6-96231b3b80d8
rder/TestOrder.py
rder/TestOrderFile.py
|
3097439ac52d25909e706503afe5c0772f2aead2 |
27-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed typos from cut-and-paste errors. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109539 91177308-0d34-0410-b5e6-96231b3b80d8
ead-strip/TestDeadStrip.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
oad_unload/TestLoadUnload.py
rder/TestOrder.py
et_values/TestSetValues.py
|
a9e8960ef1355f89552c89e89f947f8ff1545dc9 |
08-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test case (incomplete) to check that settings and readings of program variabes work. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107914 91177308-0d34-0410-b5e6-96231b3b80d8
et_values/TestSetValues.py
|
4340b4c1719761c7ebfbd0aba7a27a76604e6ddb |
08-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Test that debug symbols have the correct order as specified by the order file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107844 91177308-0d34-0410-b5e6-96231b3b80d8
rder/TestOrder.py
|
993f554c21d30212bb04e795f87891834a002c6f |
08-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed typos in the comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107829 91177308-0d34-0410-b5e6-96231b3b80d8
rder/main.c
|
843f689fd76344aa6921b94576a92d4ff7bba609 |
07-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Test that breakpoint by symbol name works correctly dlopen'ing a dynamic lib. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107812 91177308-0d34-0410-b5e6-96231b3b80d8
oad_unload/TestLoadUnload.py
|
6af53ca82934b14603330164b19eab12f6c7c340 |
07-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Enable a test clause since rdar://problem/8163668 is fixed by http://llvm.org/viewvc/llvm-project?rev=107729&view=rev. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107733 91177308-0d34-0410-b5e6-96231b3b80d8
ead-strip/TestDeadStrip.py
|
f8f1b0a7c96be2db0314dba1426a0a64df6f07eb |
07-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
if -1 => evaluates to True oops! git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107724 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
|
3348d2cb04475f4c4aeab2f888e4cec70c5cbb99 |
07-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Test that breakpoint works correctly in the presence of dead-code stripping. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107719 91177308-0d34-0410-b5e6-96231b3b80d8
ead-strip/TestDeadStrip.py
ead-strip/main.c
|
f8c723bbc3fed0e4338c5404fffc9ac3c91a4f92 |
03-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Make it fail fast if 'mydir' attribute is not overridden by subclasses of lldbtest.TestBase. Also removed some debug prints. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107575 91177308-0d34-0410-b5e6-96231b3b80d8
unction_types/TestFunctionTypes.py
ldbtest.py
|
a1affab962b9f57b64d798ea7fa93dc71d4cc0b1 |
03-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Abstracted the lldb-specific unittest.TestCase.setUp()/tearDown() in a separate module lldbtest.py and refactored the existing test cases to derive from the abstract base class lldbtest.TestBase. MOdified the test driver (dotest.py and dotest.pl) to set up additional PYTHONPATH component for locating the lldbtest module, which sits in the same directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107563 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
otest.pl
otest.py
unction_types/TestFunctionTypes.py
lobal_variables/TestGlobalVariables.py
elp/TestHelp.py
ldbtest.py
|
fce55e0f97822a11a92cacb556c38bf69c79af25 |
03-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Test variable with function ptr type and that break on the function works. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107545 91177308-0d34-0410-b5e6-96231b3b80d8
unction_types/TestFunctionTypes.py
|
70b053bc18c3b43b1fefc8b663442c9eade6a8a6 |
03-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Also verified the values of global variables. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107525 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
|
fc21078f0e9327800637a74d4127c666f88c9a88 |
03-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add a test to show global variables and to verify that they do display as having global scopes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107522 91177308-0d34-0410-b5e6-96231b3b80d8
lobal_variables/TestGlobalVariables.py
|
797674b6ff11d78ed4d6958a4b935585facb855a |
02-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed logic error; checking return status and raising exception should only be done if the environment variable LLDB_LOG is defined. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107508 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
60d45c53a78bf373e0ea29fc3f055b93878bd6af |
02-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
A dumber way to invoke the test suite. Use this script to visit each python test case under the specified directory and run python unittest.main() on each test case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107447 91177308-0d34-0410-b5e6-96231b3b80d8
otest.pl
|
909e5a62b93f6b0462996d35390665339d442f8b |
02-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Turn on logging for debugging purposes if ${LLDB_LOG} environment variable is is defined. Use ${LLDB_LOG} to specify the log file. Create a singleton SBDebugger in the lldb namespace, that gets used when running the entire test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107445 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
otest.py
elp/TestHelp.py
|
47c6773805c40d9aad52c0ed74b297355c0c1699 |
01-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed most of the time delay introduced in the test scripts. Left some and added some print statements for debugging purpose. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107386 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
|
d0ab3cd44098139181a843daed148d51fa946bad |
01-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added some delay (100 ms) after executing each 'command interpreter' command; this seems to alleviate the intermittent failure observed while running the whole test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107357 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
elp/TestHelp.py
|
0b1d8032c771efeecc9df4ff16e8b314be26f31a |
01-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107333 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
|
2a1db80c1b5bf994bdd59c48d68f4a5bf5fba359 |
01-Jul-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added TestClassTypes.py to test setting a breakpoint on a class constructor and do 'variable list this' command when stopped. Applied some cleanup on TestArrayTypes.py. In particular, specify the absolute path to the object file in order not to confuse the debugger. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107330 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
lass_types/TestClassTypes.py
|
c42855dc8acca034e8656b662e88c06287cb228d |
30-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107318 91177308-0d34-0410-b5e6-96231b3b80d8
itfields/main.c
|
16b97476e2496aa6c64d0c72e2faad83040acde5 |
30-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Add some delay before calling SBDebugger.Terminate(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107221 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
elp/TestHelp.py
|
58f9392cf71468cefaeeda34324cdef38f66f1dc |
30-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added TestArrayTypes.py for test/array_types directory. Also modified dotest.py so that it sets the LLDB_TEST environment variable so that individual test cases can locate their supporting files correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107220 91177308-0d34-0410-b5e6-96231b3b80d8
rray_types/TestArrayTypes.py
rray_types/main.c
otest.py
elp/TestHelp.py
|
1bfbd41ff54438ab23c55637efb37d6a1db0b977 |
29-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
For the time being, let's bracket the test runner within the lldb.SBDebugger.Initialize()/Terminate() pair. Change TestHelp.py to use synchronous debugging, which is easier to work with. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107198 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
elp/TestHelp.py
|
6b8fc82805ce2f121b7884555f26dead02058e3c |
28-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added test for a previously fixed bug where invoking lldb command from an emacs shell and issuing 'help' would hang (was actually infinitely looping). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107066 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
|
a85d7eefef64b72eec99a91524dc3942d9683705 |
26-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
No need to add the test script containing directory to sys.path more than once. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106929 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
896f31ffff17a38d941835af158d1add8234ee9d |
26-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Removed debug print statements. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106913 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
|
d839997da0e3a25c4332be764a5ccea4f9537274 |
26-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Use lldb.SBDebugger.Create() factory method to create an instance first. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106910 91177308-0d34-0410-b5e6-96231b3b80d8
ester.py
|
64845fdabf8d3675bcad878ba394111e4247d10d |
26-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
A simple test of 'help' command and its output. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106909 91177308-0d34-0410-b5e6-96231b3b80d8
elp/TestHelp.py
ester.py
|
9707bb6e50715489119bd756f208d3e9b7072848 |
25-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
A simple testing framework for lldb using python's unit testing framework. Tests for lldb are written as python scripts which take advantage of the script bridging provided by LLDB.framework to interact with lldb core. A specific naming pattern is followed by the .py script to be recognized as a module which implements a test scenario, namely, Test*.py. To specify the directories where "Test*.py" python test scripts are located, you need to pass in a list of directory names. By default, the current working directory is searched if nothing is specified on the command line. An example: [14:10:20] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v example test_choice (TestSequenceFunctions.TestSequenceFunctions) ... ok test_sample (TestSequenceFunctions.TestSequenceFunctions) ... ok test_shuffle (TestSequenceFunctions.TestSequenceFunctions) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106890 91177308-0d34-0410-b5e6-96231b3b80d8
otest.py
xample/TestSequenceFunctions.py
|
6d758cce806f23c3096c95d59da64751029be54d |
22-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Left a debug statement in the previous checkin. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106510 91177308-0d34-0410-b5e6-96231b3b80d8
ester.py
|
1a838b53e1fc13bdc78a2ee2d7f9dab0916cc54b |
22-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Remove stale reference to the lldb path component. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106509 91177308-0d34-0410-b5e6-96231b3b80d8
ester.py
|
24943d2ee8bfaa7cf5893e4709143924157a5c1e |
08-Jun-2010 |
Chris Lattner <sabre@nondot.org> |
Initial checkin of lldb code from internal Apple repo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105619 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
rray_types/Makefile
rray_types/cmds.txt
rray_types/main.c
itfields/Makefile
itfields/main.c
lass_types/Makefile
lass_types/cmds.txt
lass_types/main.cpp
ead-strip/Makefile
ead-strip/cmds.txt
ead-strip/main.c
num_types/Makefile
num_types/main.c
unction_types/Makefile
unction_types/main.c
lobal_variables/Makefile
lobal_variables/a.c
lobal_variables/cmds.txt
lobal_variables/main.c
oad_unload/Makefile
oad_unload/a.c
oad_unload/b.c
oad_unload/c.c
oad_unload/cmds.txt
oad_unload/main.c
amespace/Makefile
amespace/cmds.txt
amespace/main.cpp
rder/Makefile
rder/cmds.txt
rder/main.c
rder/order-file
rint-obj/Makefile
rint-obj/blocked.m
et_values/Makefile
et_values/main.c
igned_types/Makefile
igned_types/main.cpp
tl/Makefile
tl/cmds.txt
tl/main.cpp
truct_types/Makefile
truct_types/cmds.txt
truct_types/main.c
ester.py
hreads/Makefile
hreads/main.cpp
nsigned_types/Makefile
nsigned_types/main.cpp
|