[all-commits] [llvm/llvm-project] 662548: [lldb] Replace SB swig interfaces with API headers
Alex via All-commits
all-commits at lists.llvm.org
Thu Feb 16 11:18:20 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 662548c82683bd8657a3179afee693c4965a3dfd
https://github.com/llvm/llvm-project/commit/662548c82683bd8657a3179afee693c4965a3dfd
Author: Alex Langford <alangford at apple.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M lldb/bindings/CMakeLists.txt
R lldb/bindings/interface/SBAddress.i
A lldb/bindings/interface/SBAddressDocstrings.i
A lldb/bindings/interface/SBAddressExtensions.i
R lldb/bindings/interface/SBAttachInfo.i
A lldb/bindings/interface/SBAttachInfoDocstrings.i
R lldb/bindings/interface/SBBlock.i
A lldb/bindings/interface/SBBlockDocstrings.i
A lldb/bindings/interface/SBBlockExtensions.i
R lldb/bindings/interface/SBBreakpoint.i
A lldb/bindings/interface/SBBreakpointDocstrings.i
A lldb/bindings/interface/SBBreakpointExtensions.i
R lldb/bindings/interface/SBBreakpointLocation.i
A lldb/bindings/interface/SBBreakpointLocationDocstrings.i
A lldb/bindings/interface/SBBreakpointLocationExtensions.i
R lldb/bindings/interface/SBBreakpointName.i
A lldb/bindings/interface/SBBreakpointNameDocstrings.i
A lldb/bindings/interface/SBBreakpointNameExtensions.i
R lldb/bindings/interface/SBBroadcaster.i
A lldb/bindings/interface/SBBroadcasterDocstrings.i
R lldb/bindings/interface/SBCommandInterpreter.i
A lldb/bindings/interface/SBCommandInterpreterDocstrings.i
R lldb/bindings/interface/SBCommandInterpreterRunOptions.i
A lldb/bindings/interface/SBCommandInterpreterRunOptionsDocstrings.i
R lldb/bindings/interface/SBCommandReturnObject.i
A lldb/bindings/interface/SBCommandReturnObjectDocstrings.i
A lldb/bindings/interface/SBCommandReturnObjectExtensions.i
R lldb/bindings/interface/SBCommunication.i
A lldb/bindings/interface/SBCommunicationDocstrings.i
R lldb/bindings/interface/SBCompileUnit.i
A lldb/bindings/interface/SBCompileUnitDocstrings.i
A lldb/bindings/interface/SBCompileUnitExtensions.i
R lldb/bindings/interface/SBData.i
A lldb/bindings/interface/SBDataDocstrings.i
A lldb/bindings/interface/SBDataExtensions.i
R lldb/bindings/interface/SBDebugger.i
A lldb/bindings/interface/SBDebuggerDocstrings.i
A lldb/bindings/interface/SBDebuggerExtensions.i
R lldb/bindings/interface/SBDeclaration.i
A lldb/bindings/interface/SBDeclarationDocstrings.i
A lldb/bindings/interface/SBDeclarationExtensions.i
R lldb/bindings/interface/SBEnvironment.i
A lldb/bindings/interface/SBEnvironmentDocstrings.i
R lldb/bindings/interface/SBError.i
A lldb/bindings/interface/SBErrorDocstrings.i
A lldb/bindings/interface/SBErrorExtensions.i
R lldb/bindings/interface/SBEvent.i
A lldb/bindings/interface/SBEventDocstrings.i
R lldb/bindings/interface/SBExecutionContext.i
A lldb/bindings/interface/SBExecutionContextDocstrings.i
A lldb/bindings/interface/SBExecutionContextExtensions.i
R lldb/bindings/interface/SBExpressionOptions.i
A lldb/bindings/interface/SBExpressionOptionsDocstrings.i
R lldb/bindings/interface/SBFile.i
A lldb/bindings/interface/SBFileDocstrings.i
A lldb/bindings/interface/SBFileExtensions.i
R lldb/bindings/interface/SBFileSpec.i
A lldb/bindings/interface/SBFileSpecDocstrings.i
A lldb/bindings/interface/SBFileSpecExtensions.i
R lldb/bindings/interface/SBFileSpecList.i
A lldb/bindings/interface/SBFileSpecListDocstrings.i
R lldb/bindings/interface/SBFrame.i
A lldb/bindings/interface/SBFrameDocstrings.i
A lldb/bindings/interface/SBFrameExtensions.i
R lldb/bindings/interface/SBFunction.i
A lldb/bindings/interface/SBFunctionDocstrings.i
A lldb/bindings/interface/SBFunctionExtensions.i
R lldb/bindings/interface/SBHostOS.i
A lldb/bindings/interface/SBHostOSDocstrings.i
R lldb/bindings/interface/SBInstruction.i
A lldb/bindings/interface/SBInstructionDocstrings.i
A lldb/bindings/interface/SBInstructionExtensions.i
R lldb/bindings/interface/SBInstructionList.i
A lldb/bindings/interface/SBInstructionListDocstrings.i
A lldb/bindings/interface/SBInstructionListExtensions.i
R lldb/bindings/interface/SBLanguageRuntime.i
A lldb/bindings/interface/SBLanguageRuntimeDocstrings.i
R lldb/bindings/interface/SBLaunchInfo.i
A lldb/bindings/interface/SBLaunchInfoDocstrings.i
R lldb/bindings/interface/SBLineEntry.i
A lldb/bindings/interface/SBLineEntryDocstrings.i
A lldb/bindings/interface/SBLineEntryExtensions.i
R lldb/bindings/interface/SBListener.i
A lldb/bindings/interface/SBListenerDocstrings.i
R lldb/bindings/interface/SBMemoryRegionInfo.i
A lldb/bindings/interface/SBMemoryRegionInfoDocstrings.i
A lldb/bindings/interface/SBMemoryRegionInfoExtensions.i
R lldb/bindings/interface/SBMemoryRegionInfoList.i
A lldb/bindings/interface/SBMemoryRegionInfoListDocstrings.i
R lldb/bindings/interface/SBModule.i
A lldb/bindings/interface/SBModuleDocstrings.i
A lldb/bindings/interface/SBModuleExtensions.i
R lldb/bindings/interface/SBModuleSpec.i
A lldb/bindings/interface/SBModuleSpecDocstrings.i
A lldb/bindings/interface/SBModuleSpecExtensions.i
R lldb/bindings/interface/SBPlatform.i
A lldb/bindings/interface/SBPlatformDocstrings.i
R lldb/bindings/interface/SBProcess.i
A lldb/bindings/interface/SBProcessDocstrings.i
A lldb/bindings/interface/SBProcessExtensions.i
R lldb/bindings/interface/SBProcessInfo.i
A lldb/bindings/interface/SBProcessInfoDocstrings.i
R lldb/bindings/interface/SBQueue.i
A lldb/bindings/interface/SBQueueDocstrings.i
R lldb/bindings/interface/SBQueueItem.i
A lldb/bindings/interface/SBQueueItemDocstrings.i
R lldb/bindings/interface/SBReproducer.i
A lldb/bindings/interface/SBReproducerDocstrings.i
R lldb/bindings/interface/SBSection.i
A lldb/bindings/interface/SBSectionDocstrings.i
A lldb/bindings/interface/SBSectionExtensions.i
R lldb/bindings/interface/SBSourceManager.i
A lldb/bindings/interface/SBSourceManagerDocstrings.i
R lldb/bindings/interface/SBStream.i
A lldb/bindings/interface/SBStreamDocstrings.i
A lldb/bindings/interface/SBStreamExtensions.i
R lldb/bindings/interface/SBStringList.i
A lldb/bindings/interface/SBStringListDocstrings.i
A lldb/bindings/interface/SBStringListExtensions.i
R lldb/bindings/interface/SBStructuredData.i
A lldb/bindings/interface/SBStructuredDataDocstrings.i
R lldb/bindings/interface/SBSymbol.i
R lldb/bindings/interface/SBSymbolContext.i
A lldb/bindings/interface/SBSymbolContextDocstrings.i
A lldb/bindings/interface/SBSymbolContextExtensions.i
R lldb/bindings/interface/SBSymbolContextList.i
A lldb/bindings/interface/SBSymbolContextListDocstrings.i
A lldb/bindings/interface/SBSymbolContextListExtensions.i
A lldb/bindings/interface/SBSymbolDocstrings.i
A lldb/bindings/interface/SBSymbolExtensions.i
R lldb/bindings/interface/SBTarget.i
A lldb/bindings/interface/SBTargetDocstrings.i
A lldb/bindings/interface/SBTargetExtensions.i
R lldb/bindings/interface/SBThread.i
R lldb/bindings/interface/SBThreadCollection.i
A lldb/bindings/interface/SBThreadCollectionDocstrings.i
A lldb/bindings/interface/SBThreadDocstrings.i
A lldb/bindings/interface/SBThreadExtensions.i
R lldb/bindings/interface/SBThreadPlan.i
A lldb/bindings/interface/SBThreadPlanDocstrings.i
R lldb/bindings/interface/SBTrace.i
R lldb/bindings/interface/SBTraceCursor.i
A lldb/bindings/interface/SBTraceCursorDocstrings.i
A lldb/bindings/interface/SBTraceDocstrings.i
R lldb/bindings/interface/SBType.i
R lldb/bindings/interface/SBTypeCategory.i
A lldb/bindings/interface/SBTypeCategoryDocstrings.i
A lldb/bindings/interface/SBTypeCategoryExtensions.i
A lldb/bindings/interface/SBTypeDocstrings.i
R lldb/bindings/interface/SBTypeEnumMember.i
A lldb/bindings/interface/SBTypeEnumMemberDocstrings.i
A lldb/bindings/interface/SBTypeEnumMemberExtensions.i
A lldb/bindings/interface/SBTypeExtensions.i
R lldb/bindings/interface/SBTypeFilter.i
A lldb/bindings/interface/SBTypeFilterDocstrings.i
A lldb/bindings/interface/SBTypeFilterExtensions.i
R lldb/bindings/interface/SBTypeFormat.i
A lldb/bindings/interface/SBTypeFormatDocstrings.i
A lldb/bindings/interface/SBTypeFormatExtensions.i
R lldb/bindings/interface/SBTypeNameSpecifier.i
A lldb/bindings/interface/SBTypeNameSpecifierDocstrings.i
A lldb/bindings/interface/SBTypeNameSpecifierExtensions.i
R lldb/bindings/interface/SBTypeSummary.i
A lldb/bindings/interface/SBTypeSummaryDocstrings.i
A lldb/bindings/interface/SBTypeSummaryExtensions.i
R lldb/bindings/interface/SBTypeSynthetic.i
A lldb/bindings/interface/SBTypeSyntheticDocstrings.i
A lldb/bindings/interface/SBTypeSyntheticExtensions.i
R lldb/bindings/interface/SBUnixSignals.i
A lldb/bindings/interface/SBUnixSignalsDocstrings.i
A lldb/bindings/interface/SBUnixSignalsExtensions.i
R lldb/bindings/interface/SBValue.i
A lldb/bindings/interface/SBValueDocstrings.i
A lldb/bindings/interface/SBValueExtensions.i
R lldb/bindings/interface/SBValueList.i
A lldb/bindings/interface/SBValueListDocstrings.i
A lldb/bindings/interface/SBValueListExtensions.i
R lldb/bindings/interface/SBVariablesOptions.i
A lldb/bindings/interface/SBVariablesOptionsDocstrings.i
R lldb/bindings/interface/SBWatchpoint.i
A lldb/bindings/interface/SBWatchpointDocstrings.i
A lldb/bindings/interface/SBWatchpointExtensions.i
M lldb/bindings/interfaces.swig
M lldb/bindings/macros.swig
M lldb/bindings/python/python-typemaps.swig
M lldb/cmake/modules/LLDBFramework.cmake
M lldb/include/lldb/API/SBAddress.h
M lldb/include/lldb/API/SBBreakpoint.h
M lldb/include/lldb/API/SBBreakpointLocation.h
M lldb/include/lldb/API/SBBreakpointName.h
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/API/SBCommandInterpreterRunOptions.h
M lldb/include/lldb/API/SBCommandReturnObject.h
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/API/SBError.h
M lldb/include/lldb/API/SBEvent.h
M lldb/include/lldb/API/SBExecutionContext.h
M lldb/include/lldb/API/SBExpressionOptions.h
M lldb/include/lldb/API/SBFile.h
M lldb/include/lldb/API/SBFrame.h
M lldb/include/lldb/API/SBInstruction.h
M lldb/include/lldb/API/SBInstructionList.h
M lldb/include/lldb/API/SBListener.h
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/API/SBReproducer.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBStructuredData.h
M lldb/include/lldb/API/SBSymbolContext.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/API/SBThread.h
M lldb/include/lldb/API/SBTrace.h
M lldb/include/lldb/API/SBType.h
M lldb/include/lldb/API/SBTypeSummary.h
M lldb/include/lldb/API/SBValue.h
M lldb/include/lldb/API/SBWatchpoint.h
Log Message:
-----------
[lldb] Replace SB swig interfaces with API headers
Instead of maintaining separate swig interface files, we can use the API
headers directly. They implement the exact same C++ APIs and we can
conditionally include the python extensions as needed. To remove the
swig extensions from the API headers when building the LLDB
framework, we can use the unifdef tool when it is available. Otherwise
we just copy them as-is.
Differential Revision: https://reviews.llvm.org/D142926
More information about the All-commits
mailing list