- Feb 03, 2012
-
-
Enrico Granata authored
Fixing issues where synthetic children providers for STL containers std::list and std::map where not doing their job properly llvm-svn: 149700
-
Johnny Chen authored
llvm-svn: 149656
-
Enrico Granata authored
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. llvm-svn: 149644
-
- Feb 02, 2012
-
-
Johnny Chen authored
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 llvm-svn: 149629
-
- Feb 01, 2012
-
-
Johnny Chen authored
llvm-svn: 149529
-
Johnny Chen authored
llvm-svn: 149519
-
Johnny Chen authored
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 llvm-svn: 149465
-
Enrico Granata authored
llvm-svn: 149461
-
Greg Clayton authored
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. llvm-svn: 149447
-
- Jan 31, 2012
-
-
Enrico Granata authored
llvm-svn: 149421
-
Enrico Granata authored
llvm-svn: 149420
-
Enrico Granata authored
llvm-svn: 149419
-
Enrico Granata authored
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 llvm-svn: 149393
-
Johnny Chen authored
llvm-svn: 149324
-
Johnny Chen authored
llvm-svn: 149305
-
Johnny Chen authored
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 llvm-svn: 149304
-
Johnny Chen authored
llvm-svn: 149295
-
- Jan 30, 2012
-
-
Johnny Chen authored
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 llvm-svn: 149280
-
- Jan 25, 2012
-
-
Johnny Chen authored
llvm-svn: 148974
-
Johnny Chen authored
llvm-svn: 148972
-
Johnny Chen authored
llvm-svn: 148971
-
Johnny Chen authored
o complete an unambiguous option o complete/list the available option values o complete/list the candidate command names llvm-svn: 148899
-
- Jan 24, 2012
-
-
Johnny Chen authored
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 llvm-svn: 148766
-
- Jan 23, 2012
-
-
http://llvm.org/viewvc/llvm-project?rev=148491&view=revJohnny Chen authored
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. llvm-svn: 148719
-
Johnny Chen authored
Dump the raw bytes and the disassembled instruction before calling self.assertTrue() instead of after, in case the assert fails for any reason. llvm-svn: 148717
-
- Jan 21, 2012
-
-
http://llvm.org/viewvc/llvm-project?rev=148491&view=revJohnny Chen authored
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. llvm-svn: 148615
-
Johnny Chen authored
llvm-svn: 148602
-
Johnny Chen authored
llvm-svn: 148600
-
Johnny Chen authored
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. llvm-svn: 148596
-
- Jan 19, 2012
-
-
Johnny Chen authored
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. llvm-svn: 148491
-
- Jan 18, 2012
-
-
Johnny Chen authored
llvm-svn: 148418
-
Johnny Chen authored
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. llvm-svn: 148417
-
Johnny Chen authored
Add a test case where 'settings set frame-format' supplies a format string containing, among other things, a single backtick character. rdar://problem/10712130 llvm-svn: 148403
-
Johnny Chen authored
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. llvm-svn: 148379
-
- Jan 17, 2012
-
-
Jim Ingham authored
llvm-svn: 148280
-
Johnny Chen authored
Add usage example of specifying the full path to the compiler used while building the debuggees for running the test suite. llvm-svn: 148273
-
Johnny Chen authored
llvm-svn: 148269
-
- Jan 13, 2012
-
-
Johnny Chen authored
llvm-svn: 148075
-
Johnny Chen authored
llvm-svn: 148071
-
Johnny Chen authored
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 llvm-svn: 148066
-