hanchenye-llvm-project/lldb/test/functionalities
Enrico Granata b294fd2037 <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

llvm-svn: 183030
2013-05-31 19:18:19 +00:00
..
abbreviation Updated TestAbbreviations to reflect the changed output in r182068. 2013-05-17 15:03:59 +00:00
alias Making the buildbot happy again after changes to the default formatter for char[] 2013-03-28 21:58:05 +00:00
archives Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
backticks Add a simple regression test to go with r143260. 2011-10-29 01:58:39 +00:00
breakpoint 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". 2013-03-19 17:59:30 +00:00
command_regex Revert 143359 and modify the test case to not include non-valid c identifier character. 2011-10-31 22:22:06 +00:00
command_script <rdar://problem/11109316> 2013-05-31 01:03:09 +00:00
command_source
completion Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
conditional_break Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
connect_remote Adding support for process attach by pid on Linux. 2013-05-07 22:46:38 +00:00
data-formatter <rdar://problem/14035604> 2013-05-31 19:18:19 +00:00
dead-strip Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
embedded_interpreter Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
exec Quiet the new exec test case down so it doesn't spew debug prints. 2013-05-21 22:00:39 +00:00
expr-doesnt-deadlock Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
fat_archives <rdar://problem/13455021> 2013-05-21 23:58:54 +00:00
inferior-assert Avoided the use of two test decorators with xfail/xpass logic in the same test. 2013-05-17 21:00:56 +00:00
inferior-changed Add support on POSIX to determine if an inferior has changed while debugging it. 2013-03-05 17:23:57 +00:00
inferior-crashing Uses a helper to consistently verify the stop reason in all tests. 2013-05-17 15:22:33 +00:00
inline-stepping Mark test as expected-to-fail with GCC because some versions emit DWARF that claims 2013-02-21 22:15:52 +00:00
load_unload Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
memory/read Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
non-overlapping-index-variable-i Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
platform Fix Linux 'platform status' command. Its output is now closer to that on Mac OS X 2013-05-16 17:52:04 +00:00
plugins/commands <rdar://problem/12500212> Test case for the new plugin feature 2012-10-23 00:09:02 +00:00
process_attach Re-enable tests disabled due to llvm.org/pr14541 2013-05-15 17:55:12 +00:00
process_launch Implement -w flag to process launch (allow launching inferior process in different working directory) on Linux/FreeBSD 2013-01-08 14:49:22 +00:00
recursion 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 2013-04-19 17:24:11 +00:00
register 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). 2013-05-17 15:44:58 +00:00
return-value Added support "__attribute__((__vector_size__(B)))" and "__attribute__((ext_vector_type(N)))". 2013-04-05 23:27:21 +00:00
set-data Added a SetData() method to ValueObject. This 2013-04-13 01:21:23 +00:00
signal Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
single-quote-in-filename-to-lldb Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
stop-hook Clean up linux test decorators and add links to known bugs 2013-05-15 18:48:32 +00:00
target_command Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
thread Improve TestExitDuringStep to verify thread behaviour during step-over, step-in in addition to step-inst 2013-05-30 21:14:31 +00:00
type_completion This test case was not doing the right thing with libc++ being used and was generating spurious over-completion warning flags 2013-03-27 23:08:54 +00:00
watchpoint Removing expected failures for watchpoint tests which are now passing. 2013-05-29 00:26:53 +00:00