hanchenye-llvm-project/lldb/source/API
Jason Molenda fca26da446 SBAddress currently *may* have an Address object or it may not.
If it has an Address object, it is assumed to be Valid.
Change SBAddress to always have an Address object and check
whether it is valid or not in those case.

This is fixing a subtle problem where we ended up with
a SBAddress with an Address of LLDB_INVALID_ADDRESS could
run through a copy constructor and turn into an SBAddress
with no Address object being backed (because it wasn't
distinguishing between invalid-Address versus no-Address.)

The cost of an Address object is not high and this will be
an easy mistake for someone else to make; I'm fixing
SBAddress so it doesn't come up again.
<rdar://problem/18069407> 

llvm-svn: 221002
2014-10-31 21:30:59 +00:00
..
CMakeLists.txt [cmake] Include the new file in the CMake lists. Without this every 2014-10-01 21:33:28 +00:00
Makefile
SBAddress.cpp SBAddress currently *may* have an Address object or it may not. 2014-10-31 21:30:59 +00:00
SBBlock.cpp
SBBreakpoint.cpp If a breakpoint gets deleted, any SBBreakpoints representing that 2014-07-02 18:44:43 +00:00
SBBreakpointLocation.cpp
SBBroadcaster.cpp
SBCommandInterpreter.cpp Add a feature where a string data formatter can now be partially composed of Python summary functions 2014-10-28 21:07:00 +00:00
SBCommandReturnObject.cpp
SBCommunication.cpp Create a ConnectionGenericFile class for Windows. 2014-10-06 21:23:09 +00:00
SBCompileUnit.cpp
SBData.cpp
SBDebugger.cpp This adds a "batch mode" to lldb kinda like the gdb batch mode. It will quit the debugger 2014-10-14 01:20:07 +00:00
SBDeclaration.cpp
SBError.cpp
SBEvent.cpp This checkin is the first step in making the lldb thread stepping mechanism more accessible from 2014-09-29 23:17:18 +00:00
SBExecutionContext.cpp This adds a "batch mode" to lldb kinda like the gdb batch mode. It will quit the debugger 2014-10-14 01:20:07 +00:00
SBExpressionOptions.cpp Add an option to suppress the persistent result variable when running EvaluateExpression 2014-08-08 21:45:36 +00:00
SBFileSpec.cpp Optimizations for FileSpec. 2014-08-07 17:33:36 +00:00
SBFileSpecList.cpp
SBFrame.cpp
SBFunction.cpp
SBHostOS.cpp Create a HostThread abstraction. 2014-09-09 20:54:56 +00:00
SBInstruction.cpp Add a new disassembly-format specification so that the disassembler 2014-10-10 23:07:36 +00:00
SBInstructionList.cpp Add a new disassembly-format specification so that the disassembler 2014-10-10 23:07:36 +00:00
SBLineEntry.cpp
SBListener.cpp
SBModule.cpp Buffer not null terminated CID 1094354 2014-08-19 12:13:14 +00:00
SBModuleSpec.cpp
SBPlatform.cpp Test suite runs better again after recent fixes that would select a platform if a "file a.out" auto selected a different platform than the selected one. 2014-09-19 20:11:50 +00:00
SBProcess.cpp Make the "synchronous" mode actually work without race conditions. 2014-10-21 01:00:42 +00:00
SBQueue.cpp
SBQueueItem.cpp
SBSection.cpp Added functions to the C++ API, for the benefit of non-8-bit byte architectures. 2014-10-22 07:22:56 +00:00
SBSourceManager.cpp
SBStream.cpp (no commit message) 2014-07-30 17:38:47 +00:00
SBStringList.cpp
SBSymbol.cpp
SBSymbolContext.cpp
SBSymbolContextList.cpp
SBTarget.cpp Added functions to the C++ API, for the benefit of non-8-bit byte architectures. 2014-10-22 07:22:56 +00:00
SBThread.cpp Make the "synchronous" mode actually work without race conditions. 2014-10-21 01:00:42 +00:00
SBThreadCollection.cpp Expose ThreadCollection in SB API 2014-09-06 01:21:19 +00:00
SBThreadPlan.cpp This checkin is the first step in making the lldb thread stepping mechanism more accessible from 2014-09-29 23:17:18 +00:00
SBType.cpp Add a few functions to SBType to handle arrays and typedefs. Fixes rdar://12675166 2014-10-28 21:44:06 +00:00
SBTypeCategory.cpp
SBTypeEnumMember.cpp
SBTypeFilter.cpp
SBTypeFormat.cpp
SBTypeNameSpecifier.cpp
SBTypeSummary.cpp
SBTypeSynthetic.cpp
SBUnixSignals.cpp
SBValue.cpp Expose the ability to retrieve the result of a type validator via the SB API. To keep it simple, do not expose the pair, but just return a NULL string for success, and a non-NULL string for error; If we were to decide to expose the pair, we would need an SBTypeValidatorResult, which is fine, but it should come as part of exposing type validators through the SB API rather than as a one-off thing. So, KISS for now 2014-09-06 01:30:04 +00:00
SBValueList.cpp
SBWatchpoint.cpp