llvm-project/lldb/source/API
Enrico Granata b4675a4e12 <rdar://problem/14266411>
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
2013-06-25 23:43:28 +00:00
..
CMakeLists.txt Adding CMake build system to LLDB. Some known issues remain: 2013-02-21 20:58:22 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
SBAddress.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBBlock.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
SBBreakpoint.cpp <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBBreakpointLocation.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBBroadcaster.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBCommandInterpreter.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBCommandReturnObject.cpp <rdar://problem/14266411> 2013-06-25 23:43:28 +00:00
SBCommunication.cpp Fixed a few obvious errors pointed out by the static analyzer. 2013-05-15 18:27:08 +00:00
SBCompileUnit.cpp Added the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are: 2013-06-18 22:51:05 +00:00
SBData.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBDebugger.cpp Add ${ansi.XX} parsing to lldb prompt, use-color setting, and -no-use-colors command line options. 2013-05-23 20:47:45 +00:00
SBDeclaration.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBError.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBEvent.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBExpressionOptions.cpp Separated the "expr --unwind-on-error" behavior into two parts, actual errors (i.e. crashes) which continue to be 2013-01-15 02:47:48 +00:00
SBFileSpec.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBFileSpecList.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBFrame.cpp Fixed a few obvious errors pointed out by the static analyzer. 2013-05-15 18:27:08 +00:00
SBFunction.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBHostOS.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBInputReader.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBInstruction.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
SBInstructionList.cpp <rdar://problem/11330621> 2012-05-10 02:52:23 +00:00
SBLineEntry.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBListener.cpp fix a couple of clang static analyzer warnings. 2013-05-04 00:39:52 +00:00
SBModule.cpp Added the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are: 2013-06-18 22:51:05 +00:00
SBProcess.cpp <rdar://problem/13854277> 2013-05-10 21:47:16 +00:00
SBSection.cpp Added a SBSection::GetParent() to the API. 2013-06-13 21:23:23 +00:00
SBSourceManager.cpp <rdar://problem/13443931> 2013-03-19 00:20:55 +00:00
SBStream.cpp Return 0 for the size_t return type. 2012-04-03 04:14:31 +00:00
SBStringList.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBSymbol.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBSymbolContext.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
SBSymbolContextList.cpp Removed all of the "#ifndef SWIG" from the SB header files since we are using 2012-02-06 01:44:54 +00:00
SBTarget.cpp We were getting an assert because somebody was making a watchpoint that was 2013-06-18 21:52:48 +00:00
SBThread.cpp Adding new Python API function to check for stopped threads. 2013-04-15 23:33:53 +00:00
SBType.cpp Implemented a types.py module that allows types to be inspected for padding. 2013-06-19 21:50:28 +00:00
SBTypeCategory.cpp After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
SBTypeFilter.cpp <rdar://problem/12978143> 2013-01-28 23:47:25 +00:00
SBTypeFormat.cpp <rdar://problem/12978143> 2013-01-28 23:47:25 +00:00
SBTypeNameSpecifier.cpp <rdar://problem/12978143> 2013-01-28 23:47:25 +00:00
SBTypeSummary.cpp <rdar://problem/12978143> 2013-01-28 23:47:25 +00:00
SBTypeSynthetic.cpp Improvements to the data formatters SB API: 2013-06-11 22:58:32 +00:00
SBValue.cpp Change the mechanism around SBValue::GetSP() so that it always requires the target API lock AND the 2013-05-15 02:16:21 +00:00
SBValueList.cpp Daniel Malea reported seeing warnings for the use of anonymous namespaces in our public API. 2013-04-22 22:57:56 +00:00
SBWatchpoint.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00