llvm-c166/lldb/source/API
Ebuka Ezike 93377d7031
[lldb] Fix SBStructuredData::GetStringValue method (#216875)
In python the method's signature is
```py
class SBStructuredData:
    def GetStringValue(self, dst_len: int) -> str:
        # returns the str up to the `dst_len`
```
There is no way from python to get the total data from GetStringValue
regardless of how many times you call GetStringValue.

Update the implementation
```py
    def GetStringValue(self, len: int = 0) -> str:
        # always returns everything regardless of the value of `len` (for api compatibility).
```

Fixes crash when input is None in `SBStructuredData.SetStringValue`
Don't trim the result when called with the `dynamic` property.
2026-08-24 23:19:02 +01:00
..
CMakeLists.txt [LLDB] Remove fallthrough (#216398) 2026-08-14 13:49:13 -07:00
liblldb-private.exports
liblldb.exports
SBAddress.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBAddressRange.cpp
SBAddressRangeList.cpp [lldb][NFC] Remove various Stream::Printf calls with constants (#210294) 2026-07-20 10:16:42 +01:00
SBAttachInfo.cpp
SBBlock.cpp
SBBreakpoint.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBBreakpointLocation.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBBreakpointName.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBBreakpointOptionCommon.cpp
SBBreakpointOptionCommon.h
SBBroadcaster.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBCommandInterpreter.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBCommandInterpreterRunOptions.cpp
SBCommandReturnObject.cpp [lldb/script] Migrate ParsedCommand & raw commands onto ScriptedPythonInterface (#210430) 2026-07-28 17:09:59 -07:00
SBCommandReturnObjectImpl.h [lldb/script] Migrate ParsedCommand & raw commands onto ScriptedPythonInterface (#210430) 2026-07-28 17:09:59 -07:00
SBCommunication.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBCompileUnit.cpp
SBData.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBDebugger.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBDeclaration.cpp
SBEnvironment.cpp
SBError.cpp
SBEvent.cpp
SBExecutionContext.cpp
SBExpressionOptions.cpp
SBFile.cpp
SBFileSpec.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBFileSpecList.cpp
SBFormat.cpp
SBFrame.cpp
SBFrameList.cpp
SBFunction.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBHostOS.cpp
SBInstruction.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBInstructionList.cpp
SBLanguageRuntime.cpp
SBLaunchInfo.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBLineEntry.cpp
SBListener.cpp
SBMemoryRegionInfo.cpp [lldb][NFC] Remove various Stream::Printf calls with constants (#210294) 2026-07-20 10:16:42 +01:00
SBMemoryRegionInfoList.cpp
SBModule.cpp
SBModuleSpec.cpp
SBMutex.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBPlatform.cpp
SBProcess.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBProcessInfo.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBProcessInfoList.cpp
SBProgress.cpp
SBProtocolServer.cpp
SBQueue.cpp
SBQueueItem.cpp
SBReproducer.cpp
SBSaveCoreOptions.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBScriptObject.cpp
SBSection.cpp
SBSourceManager.cpp
SBStatisticsOptions.cpp
SBStream.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBStringList.cpp Reapply "[lldb] Remove ConstString from FileSpec" (#211927) (#214599) 2026-08-07 11:00:14 -07:00
SBStructuredData.cpp [lldb] Fix SBStructuredData::GetStringValue method (#216875) 2026-08-24 23:19:02 +01:00
SBSymbol.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBSymbolContext.cpp
SBSymbolContextList.cpp
SBTarget.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBThread.cpp [lldb] Use std::unique_lock instead of std::lock_guard in ResumeNewPlan (#217433) 2026-08-19 19:18:23 +00:00
SBThreadCollection.cpp
SBThreadPlan.cpp [lldb] Remove ConstString from ThreadPlanStepInRange (#215684) 2026-08-12 11:20:21 -07:00
SBTrace.cpp
SBTraceCursor.cpp
SBType.cpp
SBTypeCategory.cpp
SBTypeEnumMember.cpp
SBTypeFilter.cpp
SBTypeFormat.cpp [lldb] Remove ConstString from TypeFormatImpl_EnumType (#215431) 2026-08-19 16:23:39 -07:00
SBTypeNameSpecifier.cpp
SBTypeSummary.cpp [lldb/script] Add class-based summary providers via ScriptedStringSummaryInterface (#210469) 2026-07-29 18:44:26 -07:00
SBTypeSynthetic.cpp
SBUnixSignals.cpp
SBValue.cpp [LLDB] Let ValueObject::CanSetValue() return a reason (#217454) 2026-08-20 13:55:45 -07:00
SBValueList.cpp
SBVariablesOptions.cpp
SBWatchpoint.cpp [lldb] Wrap Target::GetAPIMutex() into a Lockable handle (NFC) (#212872) 2026-08-14 22:30:17 +00:00
SBWatchpointOptions.cpp
ScriptInterpreterBridge.cpp [lldb/Interpreter] Remove Interpreter's layering dependency on API (#213754) 2026-08-03 21:55:39 -07:00
ScriptInterpreterBridge.h [lldb/Interpreter] Remove Interpreter's layering dependency on API (#213754) 2026-08-03 21:55:39 -07:00
SystemInitializerFull.cpp
SystemInitializerFull.h
Utils.h