- Jun 29, 2013
-
-
Enrico Granata authored
llvm-svn: 185246
-
- Jun 26, 2013
-
-
rdar://problem/14266411Enrico Granata authored
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 llvm-svn: 184893
-
- Jun 25, 2013
-
-
Daniel Malea authored
so LLDB does not read off the end of the array. llvm-svn: 184877
-
Ed Maste authored
llvm-svn: 184874
-
Ed Maste authored
There's still significant work to do in the FreeBSD port, so no point in a pr for these yet. llvm-svn: 184871
-
- Jun 24, 2013
-
-
Ed Maste authored
llvm-svn: 184748
-
- Jun 22, 2013
-
-
Enrico Granata authored
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 :-) llvm-svn: 184615
-
Enrico Granata authored
llvm-svn: 184613
-
Enrico Granata authored
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 llvm-svn: 184608
-
- Jun 20, 2013
-
-
Sean Callanan authored
dematerialization of registers that caused conditional breakpoint expressions not to work properly. Also added a testcase. <rdar://problem/14129252> llvm-svn: 184451
-
- Jun 19, 2013
-
-
Enrico Granata authored
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 llvm-svn: 184363
-
rdar://problem/14086503Enrico Granata authored
Hardening the libstdc++ std::map test case against line table changes llvm-svn: 184265
-
rdar://problem/14086503Enrico Granata authored
Hardening the libstdc++ std::vector test case against line table changes llvm-svn: 184264
-
rdar://problem/14194128Enrico Granata authored
ClangASTContext was failing to retrieve fields and base class info for ObjC variables This checkin fixes that and adds a test case llvm-svn: 184248
-
- Jun 18, 2013
-
-
Enrico Granata authored
llvm-svn: 184155
-
Enrico Granata authored
Renaming the "--wipe" option to "command history" to "--clear" (-C) for coherence with the rest of the LLDB command-line interface llvm-svn: 184147
-
rdar://problem/14134716Enrico Granata authored
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 llvm-svn: 184140
-
- Jun 17, 2013
-
-
Matt Kopec authored
llvm-svn: 184126
-
Matt Kopec authored
llvm-svn: 184104
-
- Jun 13, 2013
-
-
Greg Clayton authored
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. llvm-svn: 183949
-
- Jun 12, 2013
-
-
Daniel Malea authored
- clang emits incomplete DWARF information for structures referenced via typedef llvm-svn: 183846
-
Daniel Malea authored
- skip the attach cases in TestRegisters.py -- caused slowness/sigabrt - fixed log file removal function (in case test is run with -# flag) llvm-svn: 183812
-
- Jun 11, 2013
-
-
Greg Clayton authored
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. llvm-svn: 183792
-
rdar://problem/13779789Enrico Granata authored
Allow memory read -t to take persistent types (those defined with expression struct $....) llvm-svn: 183766
-
- Jun 08, 2013
-
-
Andrew Kaylor authored
llvm-svn: 183580
-
Andrew Kaylor authored
llvm-svn: 183578
-
- Jun 07, 2013
-
-
Ashok Thirumurthi authored
llvm-svn: 183569
-
Enrico Granata authored
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++ llvm-svn: 183482
-
Enrico Granata authored
llvm-svn: 183480
-
- Jun 06, 2013
-
-
Ashok Thirumurthi authored
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. llvm-svn: 183434
-
Ashok Thirumurthi authored
- 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. llvm-svn: 183415
-
rdar://problem/14064994Enrico Granata authored
Fixing a test case to correctly check that the class name has changed instead of relying on GetValueDidChange() llvm-svn: 183364
-
Sean Callanan authored
- Implemented the SExt instruction, and - eliminated redundant codepaths for constant handling. Added test cases. <rdar://problem/13244258> <rdar://problem/13955820> llvm-svn: 183344
-
- Jun 05, 2013
-
-
Daniel Malea authored
- 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! llvm-svn: 183340
-
Daniel Malea authored
- specify compiler flag -stdlib=libstdc++ only if using clang (not supported in gcc) llvm-svn: 183333
-
rdar://problem/13125225Enrico Granata authored
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 llvm-svn: 183323
-
Matt Kopec authored
llvm-svn: 183316
-
Andrew Kaylor authored
llvm-svn: 183281
-
rdar://problem/12582328Enrico Granata authored
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 llvm-svn: 183272
-
- Jun 03, 2013
-
-
Daniel Malea authored
- adding workaround recommended by Greg (-fno-limit-debug-info clang flag) - filed bug llvm.org/pr16214 against Clang llvm-svn: 183156
-