llvm-project/lldb/source/API
Greg Clayton f1be855a00 Fixed SBModule::GetUUIDString() to not use a static character buffer.
Rules for returning "const char *" from functions in the public lldb::SB* API are that you must constify the string using "ConstString(cstr).GetCString()" and return that. This puts the string into a string pool that never goes away. This is only when there is nothing that can hold onto the string. It is OK to specify that a string value lives as long as its SB class counterpart, but this should be made clear in the API if this is done. Many classes already constify their strings (symbol mangled and demangled names, variable names, type names, etc), so be sure to verify you string isn't already constified before you re-constify it. It won't do any harm to re-constify it, it will just cause you a little performance by having to rehash the string.

llvm-svn: 228867
2015-02-11 19:16:38 +00:00
..
CMakeLists.txt Extend SBPlatform with capability to launch/terminate a process remotely. Integrate this change into test framework in order to spawn processes on a remote target. 2015-02-04 23:19:15 +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 Add the ability to tag one or more breakpoints with a name. These 2014-12-16 23:40:14 +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 Enable Python summaries to use custom SBTypeSummaryOptions if the user is so inclined. Updates to the webdoc will follow 2014-11-22 00:02:47 +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 Add APIs on SBFunction and SBCompileUnit to inquire about the language type that the function/compile unit is defined in 2014-11-17 23:06:20 +00:00
SBData.cpp Included <inttypes.h> in a few headers that were 2014-04-19 03:09:28 +00:00
SBDebugger.cpp Fixed "SBTarget SBDebugger::CreateTarget (const char *filename)" to use the same semantics as other SBDebugger::CreateTarget() functions. 2014-11-13 18:30:06 +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 Introduce the notion of "runtime support values" 2015-02-11 02:35:39 +00:00
SBFunction.cpp Add APIs on SBFunction and SBCompileUnit to inquire about the language type that the function/compile unit is defined in 2014-11-17 23:06:20 +00:00
SBHostOS.cpp Change HostThread::GetNativeThread() to return a derived reference. 2014-11-17 22:42:57 +00:00
SBInstruction.cpp Get rid of Debugger::FormatPrompt() and replace it with the new FormatEntity class. 2015-02-04 22:00:53 +00:00
SBInstructionList.cpp Get rid of Debugger::FormatPrompt() and replace it with the new FormatEntity class. 2015-02-04 22:00:53 +00:00
SBLaunchInfo.cpp And make the globbing behavior available via the SB API 2015-02-10 03:16:55 +00:00
SBLineEntry.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00
SBListener.cpp Fixed more fallout from running the test suite remotely on iOS devices. 2014-11-17 19:39:20 +00:00
SBModule.cpp Fixed SBModule::GetUUIDString() to not use a static character buffer. 2015-02-11 19:16:38 +00:00
SBModuleSpec.cpp Made all other "operator bool"s explicit and ensured 2013-10-04 21:35:29 +00:00
SBPlatform.cpp Extend SBPlatform with capability to launch/terminate a process remotely. Integrate this change into test framework in order to spawn processes on a remote target. 2015-02-04 23:19:15 +00:00
SBProcess.cpp Lock mutex in the same order. 2015-02-11 16:37:17 +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 Add null pointer checks to some SBStream functions. 2015-01-14 18:34:35 +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 Extract attach core logic from SBTarget::Attach* methods into unified SBTarget::AttachToProcess and make it work with platform for remote attach purposes. 2015-02-10 22:49:57 +00:00
SBThread.cpp SBThread::GetDescription should use the Thread format instead of making up 2015-01-28 01:18:01 +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 logic to ClangASTType and SBType to discover information about vector types 2015-01-28 22:18:02 +00:00
SBTypeCategory.cpp Change void* name_token to const void* to address warnings. 2015-02-03 08:01:34 +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 Introduce the notion of "type summary options" as flags that can be passed down to individual summary formatters to alter their behavior in a formatter-dependent way 2014-11-06 21:23:20 +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 Introduce the notion of "runtime support values" 2015-02-11 02:35:39 +00:00
SBValueList.cpp Per off-list feedback, this API returns the *first* value with a given name, not the *only* one. Rename it to reflect that 2014-11-21 22:23:08 +00:00
SBWatchpoint.cpp sweep up -Wformat warnings from gcc 2014-04-04 04:06:10 +00:00