• Home
  • History
  • Annotate
  • only in /external/lldb/test/functionalities/data-formatter/data-formatter-stl/
History log of /external/lldb/test/functionalities/data-formatter/data-formatter-stl/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
ibstdcpp/iterator/TestDataFormatterStdIterator.py
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vbool/TestDataFormatterStdVBool.py
ibstdcpp/vector/TestDataFormatterStdVector.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
ibstdcpp/vector/TestDataFormatterStdVector.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
ibstdcpp/vector/TestDataFormatterStdVector.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
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/vector/TestDataFormatterStdVector.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
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/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
ibstdcpp/vector/TestDataFormatterStdVector.py
ibstdcpp/vector/main.cpp
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
ibstdcpp/list/TestDataFormatterStdList.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
ibstdcpp/iterator/Makefile
ibstdcpp/list/Makefile
ibstdcpp/map/Makefile
ibstdcpp/string/Makefile
ibstdcpp/vbool/Makefile
ibstdcpp/vector/Makefile
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
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/multimap/Makefile
ibcxx/multimap/TestDataFormatterLibccMultiMap.py
ibcxx/multimap/main.cpp
ibcxx/multiset/Makefile
ibcxx/multiset/TestDataFormatterLibcxxMultiSet.py
ibcxx/multiset/main.cpp
ibcxx/set/Makefile
ibcxx/set/TestDataFormatterLibcxxSet.py
ibcxx/set/main.cpp
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
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/list/main.cpp
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
ibcxx/iterator/TestDataFormatterLibccIterator.py
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/string/TestDataFormatterLibcxxString.py
ibcxx/vbool/TestDataFormatterLibcxxVBool.py
ibcxx/vector/TestDataFormatterLibcxxVector.py
ibstdcpp/string/TestDataFormatterStdString.py
ibstdcpp/vbool/TestDataFormatterStdVBool.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
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/map/main.cpp
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
ibstdcpp/iterator/TestDataFormatterStdIterator.py
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vector/TestDataFormatterStdVector.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
ibcxx/iterator/Makefile
ibcxx/iterator/TestDataFormatterLibccIterator.py
ibcxx/iterator/main.cpp
ibstdcpp/iterator/Makefile
ibstdcpp/iterator/TestDataFormatterStdIterator.py
ibstdcpp/iterator/main.cpp
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
ibstdcpp/vbool/TestDataFormatterStdVBool.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
ibstdcpp/vbool/Makefile
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
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vector/TestDataFormatterStdVector.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
ibstdcpp/list/TestDataFormatterStdList.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
ibstdcpp/list/Makefile
ibstdcpp/map/Makefile
ibstdcpp/string/Makefile
ibstdcpp/vbool/Makefile
ibstdcpp/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
ibcxx/vbool/Makefile
ibcxx/vbool/TestDataFormatterLibcxxVBool.py
ibcxx/vbool/main.cpp
ibstdcpp/vbool/Makefile
ibstdcpp/vbool/TestDataFormatterStdVBool.py
ibstdcpp/vbool/main.cpp
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
ibstdcpp/map/TestDataFormatterStdMap.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
ibstdcpp/string/Makefile
ibstdcpp/string/TestDataFormatterStdString.py
ibstdcpp/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
ibcxx/string/Makefile
ibcxx/string/TestDataFormatterLibcxxString.py
ibcxx/string/main.cpp
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
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/vector/TestDataFormatterLibcxxVector.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
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/map/TestDataFormatterStdMap.py
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
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vector/TestDataFormatterStdVector.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
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/vector/TestDataFormatterLibcxxVector.py
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vector/TestDataFormatterStdVector.py
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
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/vector/TestDataFormatterLibcxxVector.py
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vector/TestDataFormatterStdVector.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
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/vector/TestDataFormatterLibcxxVector.py
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vector/TestDataFormatterStdVector.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
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/vector/TestDataFormatterLibcxxVector.py
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/vector/TestDataFormatterStdVector.py
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
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/map/main.cpp
ibstdcpp/list/TestDataFormatterStdList.py
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
ibcxx/map/TestDataFormatterLibccMap.py
ibstdcpp/map/TestDataFormatterStdMap.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
ibcxx/list/main.cpp
ibcxx/vector/main.cpp
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
ibcxx/list/Makefile
ibcxx/list/TestDataFormatterLibcxxList.py
ibcxx/list/main.cpp
ibcxx/map/Makefile
ibcxx/map/TestDataFormatterLibccMap.py
ibcxx/map/main.cpp
ibcxx/vector/Makefile
ibcxx/vector/TestDataFormatterLibcxxVector.py
ibcxx/vector/main.cpp
ibstdcpp/list/Makefile
ibstdcpp/list/TestDataFormatterStdList.py
ibstdcpp/list/main.cpp
ibstdcpp/map/Makefile
ibstdcpp/map/TestDataFormatterStdMap.py
ibstdcpp/map/main.cpp
ibstdcpp/vector/Makefile
ibstdcpp/vector/TestDataFormatterStdVector.py
ibstdcpp/vector/main.cpp
ist/Makefile
ist/TestDataFormatterStdList.py
ist/main.cpp
ap/Makefile
ap/TestDataFormatterStdMap.py
ap/main.cpp
ector/Makefile
ector/TestDataFormatterStdVector.py
ector/main.cpp
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
ector/TestDataFormatterStdVector.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
ap/TestDataFormatterStdMap.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
ap/TestDataFormatterStdMap.py
ap/main.cpp
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
ist/TestDataFormatterStdList.py
ap/TestDataFormatterStdMap.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
ap/TestDataFormatterStdMap.py
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
ist/TestDataFormatterStdList.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
ap/Makefile
ap/TestDataFormatterStdMap.py
ap/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
ist/Makefile
ist/TestDataFormatterStdList.py
ist/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
ector/Makefile
ector/TestDataFormatterStdVector.py
ector/main.cpp