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 Add some missing defines that are already present in the cmake side. 2014-03-12 10:35:00 +00:00
SBAddress.cpp SBAddress currently *may* have an Address object or it may not. 2014-10-31 21:30:59 +00:00
SBBlock.cpp Roll back the changes I made in r193907 which created a new Frame 2013-11-04 09:33:30 +00:00
SBBreakpoint.cpp If a breakpoint gets deleted, any SBBreakpoints representing that 2014-07-02 18:44:43 +00:00
SBBreakpointLocation.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBBroadcaster.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
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 sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBCommunication.cpp Create a ConnectionGenericFile class for Windows. 2014-10-06 21:23:09 +00:00
SBCompileUnit.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBData.cpp Included <inttypes.h> in a few headers that were 2014-04-19 03:09:28 +00:00
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 sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBError.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
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 sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBFrame.cpp Rename eExecution*** to eExpression*** to be consistent with the result type. 2014-05-05 02:47:44 +00:00
SBFunction.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
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 sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBListener.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBModule.cpp Buffer not null terminated CID 1094354 2014-08-19 12:13:14 +00:00
SBModuleSpec.cpp Made all other "operator bool"s explicit and ensured 2013-10-04 21:35:29 +00:00
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 Add a new SBThread::GetQueue() method to get the queue that is 2014-04-25 00:01:15 +00:00
SBQueueItem.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
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 <rdar://problem/13443931> 2013-03-19 00:20:55 +00:00
SBStream.cpp (no commit message) 2014-07-30 17:38:47 +00:00
SBStringList.cpp
SBSymbol.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBSymbolContext.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +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 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 FormatNavigator has long stopped navigating anything - the generation of possible formatters matches is now done elsewhere 2013-12-20 09:38:13 +00:00
SBTypeEnumMember.cpp Add support for inspecting enum members. 2014-06-02 20:55:29 +00:00
SBTypeFilter.cpp <rdar://problem/12978143> 2013-01-28 23:47:25 +00:00
SBTypeFormat.cpp Add a new way to bind a format to a type: by enum type 2013-12-28 08:44:02 +00:00
SBTypeNameSpecifier.cpp <rdar://problem/15144376> 2013-10-29 00:28:35 +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
SBUnixSignals.cpp Add API control of the signal disposition. 2014-06-23 19:30:49 +00:00
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 sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBWatchpoint.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00