- 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
-
- Jan 12, 2012
-
-
Johnny Chen authored
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(). llvm-svn: 147983
-
- Jan 11, 2012
-
-
Johnny Chen authored
llvm-svn: 147909
-
Johnny Chen authored
llvm-svn: 147907
-
Johnny Chen authored
Add comment for build_and_run_with_source_atoms_expr() and remove redundant #include from basic_type.cpp. llvm-svn: 147895
-
Johnny Chen authored
the Test*Types*.py test cases. llvm-svn: 147893
-
- Jan 10, 2012
-
-
Johnny Chen authored
Also add test cases to the test suite to exercise displaying of variables captured inside a block (Darwin-only). llvm-svn: 147828
-
Johnny Chen authored
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 $ llvm-svn: 147821
-
Greg Clayton authored
the linker driver is found. llvm-svn: 147814
-
- Jan 09, 2012
-
-
Johnny Chen authored
llvm-svn: 147789
-
- Jan 07, 2012
-
-
Greg Clayton authored
class instead of requiring a live process in order to be able to create useful SBData objects. llvm-svn: 147702
-
- Jan 06, 2012
-
-
Johnny Chen authored
Allow creating SBData values from arrays or primitives in Python Patch submitted by Enrico Granata. llvm-svn: 147639
-
Johnny Chen authored
lldb::SBValue::AddressOf does not work on dereferenced registers in synthetic children provider Patch submitted by Enrico Granata. llvm-svn: 147637
-
- Jan 05, 2012
-
-
Sean Callanan authored
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. llvm-svn: 147621
-
- Dec 29, 2011
-
-
rdar://problem/10546739Greg Clayton authored
Fixed SBValue::GetValueAsUnsigned() and SBValue::GetValueAsSigned() calls to work for bitfields. llvm-svn: 147332
-
- Dec 23, 2011
-
-
Johnny Chen authored
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(). llvm-svn: 147213
-
Jim Ingham authored
llvm-svn: 147212
-
- Dec 22, 2011
-
-
Johnny Chen authored
Decorate the two test cases in TestReturnValue.py as i386 only expectedFailure, aka @expectedFailurei386. llvm-svn: 147177
-
Johnny Chen authored
llvm-svn: 147172
-
Johnny Chen authored
With some minor modification from me. llvm-svn: 147160
-
Jim Ingham authored
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. llvm-svn: 147157
-
- Dec 21, 2011
-
-
Sean Callanan authored
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. llvm-svn: 147099
-
Johnny Chen authored
llvm-svn: 147072
-