[all-commits] [llvm/llvm-project] 76e47d: [lldb][NFC] Use C++ versions of the deprecated C s...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Wed May 26 03:46:49 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76e47d4887f456878c0e2f20ebfae36267006cd7
https://github.com/llvm/llvm-project/commit/76e47d4887f456878c0e2f20ebfae36267006cd7
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2021-05-26 (Wed, 26 May 2021)
Changed paths:
M lldb/include/lldb/API/SBCommandReturnObject.h
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/API/SBEvent.h
M lldb/include/lldb/API/SBExecutionContext.h
M lldb/include/lldb/API/SBInstruction.h
M lldb/include/lldb/API/SBInstructionList.h
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/API/SBSourceManager.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBThread.h
M lldb/include/lldb/API/SBThreadPlan.h
M lldb/include/lldb/Breakpoint/StoppointHitCounter.h
M lldb/include/lldb/Core/Address.h
M lldb/include/lldb/Core/AddressRange.h
M lldb/include/lldb/Core/AddressResolver.h
M lldb/include/lldb/Core/AddressResolverFileLine.h
M lldb/include/lldb/Core/Communication.h
M lldb/include/lldb/Core/Debugger.h
M lldb/include/lldb/Core/Disassembler.h
M lldb/include/lldb/Core/DumpDataExtractor.h
M lldb/include/lldb/Core/EmulateInstruction.h
M lldb/include/lldb/Core/FileLineResolver.h
M lldb/include/lldb/Core/FileSpecList.h
M lldb/include/lldb/Core/FormatEntity.h
M lldb/include/lldb/Core/IOHandler.h
M lldb/include/lldb/Core/Mangled.h
M lldb/include/lldb/Core/MappedHash.h
M lldb/include/lldb/Core/Module.h
M lldb/include/lldb/Core/ModuleList.h
M lldb/include/lldb/Core/Opcode.h
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Core/SearchFilter.h
M lldb/include/lldb/Core/Section.h
M lldb/include/lldb/Core/SourceManager.h
M lldb/include/lldb/Core/StreamAsynchronousIO.h
M lldb/include/lldb/Core/StreamBuffer.h
M lldb/include/lldb/Core/StreamFile.h
M lldb/include/lldb/Core/UserSettingsController.h
M lldb/include/lldb/Core/Value.h
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Core/ValueObjectCast.h
M lldb/include/lldb/Core/ValueObjectChild.h
M lldb/include/lldb/Core/ValueObjectConstResult.h
M lldb/include/lldb/Core/ValueObjectConstResultCast.h
M lldb/include/lldb/Core/ValueObjectConstResultChild.h
M lldb/include/lldb/Core/ValueObjectConstResultImpl.h
M lldb/include/lldb/Core/ValueObjectDynamicValue.h
M lldb/include/lldb/Core/ValueObjectList.h
M lldb/include/lldb/Core/ValueObjectMemory.h
M lldb/include/lldb/Core/ValueObjectRegister.h
M lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
M lldb/include/lldb/Core/ValueObjectVariable.h
M lldb/include/lldb/Core/dwarf.h
M lldb/include/lldb/DataFormatters/TypeSummary.h
M lldb/include/lldb/DataFormatters/TypeSynthetic.h
M lldb/include/lldb/Host/File.h
M lldb/include/lldb/Host/FileCache.h
M lldb/include/lldb/Host/FileSystem.h
M lldb/include/lldb/Host/Host.h
M lldb/include/lldb/Host/HostInfoBase.h
M lldb/include/lldb/Host/ProcessRunLock.h
M lldb/include/lldb/Host/SocketAddress.h
M lldb/include/lldb/Host/StringConvert.h
M lldb/include/lldb/Host/Time.h
M lldb/include/lldb/Host/windows/PosixApi.h
M lldb/include/lldb/Symbol/LocateSymbolFile.h
M lldb/include/lldb/Target/DynamicLoader.h
M lldb/include/lldb/Target/Process.h
M lldb/include/lldb/Utility/Connection.h
M lldb/include/lldb/Utility/ConstString.h
M lldb/include/lldb/Utility/DataBuffer.h
M lldb/include/lldb/Utility/DataBufferLLVM.h
M lldb/include/lldb/Utility/DataEncoder.h
M lldb/include/lldb/Utility/DataExtractor.h
M lldb/include/lldb/Utility/Endian.h
M lldb/include/lldb/Utility/Event.h
M lldb/include/lldb/Utility/FileSpec.h
M lldb/include/lldb/Utility/GDBRemote.h
M lldb/include/lldb/Utility/IOObject.h
M lldb/include/lldb/Utility/Listener.h
M lldb/include/lldb/Utility/Predicate.h
M lldb/include/lldb/Utility/Status.h
M lldb/include/lldb/Utility/Stream.h
M lldb/include/lldb/Utility/StreamCallback.h
M lldb/include/lldb/Utility/StreamString.h
M lldb/include/lldb/Utility/StreamTee.h
M lldb/include/lldb/Utility/StringExtractor.h
M lldb/include/lldb/Utility/StringExtractorGDBRemote.h
M lldb/include/lldb/Utility/StringList.h
M lldb/include/lldb/Utility/Timer.h
M lldb/include/lldb/Utility/UUID.h
M lldb/include/lldb/Utility/VMRange.h
M lldb/include/lldb/lldb-types.h
M lldb/source/API/SBDeclaration.cpp
M lldb/source/API/SBError.cpp
M lldb/source/API/SBFileSpec.cpp
M lldb/source/API/SBFileSpecList.cpp
M lldb/source/API/SBLineEntry.cpp
M lldb/source/API/SBProcess.cpp
M lldb/source/API/SBQueue.cpp
M lldb/source/Breakpoint/BreakpointID.cpp
M lldb/source/Breakpoint/BreakpointSite.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Core/AddressRange.cpp
M lldb/source/Core/AddressResolverFileLine.cpp
M lldb/source/Core/Communication.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Core/Disassembler.cpp
M lldb/source/Core/DumpDataExtractor.cpp
M lldb/source/Core/DynamicLoader.cpp
M lldb/source/Core/EmulateInstruction.cpp
M lldb/source/Core/FileSpecList.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandler.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/Mangled.cpp
M lldb/source/Core/Module.cpp
M lldb/source/Core/Opcode.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Core/SearchFilter.cpp
M lldb/source/Core/Section.cpp
M lldb/source/Core/SourceManager.cpp
M lldb/source/Core/StreamFile.cpp
M lldb/source/Core/Value.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/Core/ValueObjectChild.cpp
M lldb/source/Core/ValueObjectDynamicValue.cpp
M lldb/source/Core/ValueObjectMemory.cpp
M lldb/source/Core/ValueObjectRegister.cpp
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/DataFormatters/StringPrinter.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Expression/UserExpression.cpp
M lldb/source/Expression/UtilityFunction.cpp
M lldb/source/Host/android/LibcGlue.cpp
M lldb/source/Host/common/Editline.cpp
M lldb/source/Host/common/File.cpp
M lldb/source/Host/common/FileSystem.cpp
M lldb/source/Host/common/GetOptInc.cpp
M lldb/source/Host/common/Host.cpp
M lldb/source/Host/common/MainLoop.cpp
M lldb/source/Host/common/ProcessLaunchInfo.cpp
M lldb/source/Host/common/PseudoTerminal.cpp
M lldb/source/Host/common/Socket.cpp
M lldb/source/Host/common/SocketAddress.cpp
M lldb/source/Host/common/StringConvert.cpp
M lldb/source/Host/common/Terminal.cpp
M lldb/source/Host/freebsd/Host.cpp
M lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
M lldb/source/Host/linux/Host.cpp
M lldb/source/Host/linux/HostInfoLinux.cpp
M lldb/source/Host/macosx/cfcpp/CFCReleaser.h
M lldb/source/Host/macosx/objcxx/Host.mm
M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
M lldb/source/Host/netbsd/HostInfoNetBSD.cpp
M lldb/source/Host/netbsd/HostNetBSD.cpp
M lldb/source/Host/openbsd/Host.cpp
M lldb/source/Host/openbsd/HostInfoOpenBSD.cpp
M lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
M lldb/source/Host/posix/DomainSocket.cpp
M lldb/source/Host/posix/HostInfoPosix.cpp
M lldb/source/Host/posix/HostProcessPosix.cpp
M lldb/source/Host/posix/HostThreadPosix.cpp
M lldb/source/Host/posix/PipePosix.cpp
M lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
M lldb/source/Host/windows/Host.cpp
M lldb/source/Host/windows/Windows.cpp
M lldb/source/Interpreter/CommandHistory.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Interpreter/CommandObject.cpp
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
M lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
M lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
M lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
M lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
M lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
M lldb/source/Plugins/Language/ObjC/CoreMedia.cpp
M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
M lldb/source/Plugins/Platform/Android/AdbClient.cpp
M lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
M lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
M lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
M lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
M lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
M lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
M lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
M lldb/source/Plugins/Process/Linux/SingleStepCheck.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
M lldb/source/Plugins/Process/POSIX/CrashReason.h
M lldb/source/Plugins/Process/Utility/LinuxPTraceDefines_arm64sve.h
M lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp
M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp
M lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h
M lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h
M lldb/source/Plugins/Process/Utility/RegisterInfos_mips.h
M lldb/source/Plugins/Process/Utility/RegisterInfos_mips64.h
M lldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h
M lldb/source/Plugins/Process/Utility/RegisterInfos_ppc64.h
M lldb/source/Plugins/Process/Utility/RegisterInfos_ppc64le.h
M lldb/source/Plugins/Process/Utility/RegisterInfos_s390x.h
M lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
M lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp
M lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
M lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
M lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/UnwindTable.cpp
M lldb/source/Target/ModuleCache.cpp
M lldb/source/Target/ThreadCollection.cpp
M lldb/source/Target/ThreadList.cpp
M lldb/source/Utility/Broadcaster.cpp
M lldb/source/Utility/ConstString.cpp
M lldb/source/Utility/DataBufferLLVM.cpp
M lldb/source/Utility/DataEncoder.cpp
M lldb/source/Utility/DataExtractor.cpp
M lldb/source/Utility/Event.cpp
M lldb/source/Utility/FileSpec.cpp
M lldb/source/Utility/GDBRemote.cpp
M lldb/source/Utility/Log.cpp
M lldb/source/Utility/Logging.cpp
M lldb/source/Utility/RegisterValue.cpp
M lldb/source/Utility/ReproducerInstrumentation.cpp
M lldb/source/Utility/SelectHelper.cpp
M lldb/source/Utility/Status.cpp
M lldb/source/Utility/Stream.cpp
M lldb/source/Utility/StringExtractor.cpp
M lldb/source/Utility/StringExtractorGDBRemote.cpp
M lldb/source/Utility/StringLexer.cpp
M lldb/source/Utility/StringList.cpp
M lldb/source/Utility/StructuredData.cpp
M lldb/source/Utility/TildeExpressionResolver.cpp
M lldb/source/Utility/Timer.cpp
M lldb/source/Utility/UUID.cpp
M lldb/source/Utility/UriParser.cpp
M lldb/source/Utility/UserID.cpp
M lldb/source/Utility/VASprintf.cpp
M lldb/source/Utility/VMRange.cpp
M lldb/tools/darwin-debug/darwin-debug.cpp
M lldb/tools/debugserver/source/DNB.cpp
M lldb/tools/debugserver/source/DNBArch.cpp
M lldb/tools/debugserver/source/DNBArch.h
M lldb/tools/debugserver/source/DNBBreakpoint.cpp
M lldb/tools/debugserver/source/DNBDataRef.cpp
M lldb/tools/debugserver/source/DNBDataRef.h
M lldb/tools/debugserver/source/DNBDefs.h
M lldb/tools/debugserver/source/DNBError.h
M lldb/tools/debugserver/source/DNBLog.cpp
M lldb/tools/debugserver/source/DNBLog.h
M lldb/tools/debugserver/source/DNBRegisterInfo.cpp
M lldb/tools/debugserver/source/DNBRegisterInfo.h
M lldb/tools/debugserver/source/DNBTimer.h
M lldb/tools/debugserver/source/JSON.cpp
M lldb/tools/debugserver/source/JSON.h
M lldb/tools/debugserver/source/MacOSX/MachException.cpp
M lldb/tools/debugserver/source/MacOSX/MachThread.cpp
M lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
M lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp
M lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
M lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
M lldb/tools/debugserver/source/MacOSX/i386/MachRegisterStatesI386.h
M lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
M lldb/tools/debugserver/source/MacOSX/x86_64/MachRegisterStatesX86_64.h
M lldb/tools/debugserver/source/PThreadEvent.cpp
M lldb/tools/debugserver/source/PThreadEvent.h
M lldb/tools/debugserver/source/PThreadMutex.h
M lldb/tools/debugserver/source/PseudoTerminal.cpp
M lldb/tools/debugserver/source/RNBRemote.cpp
M lldb/tools/debugserver/source/RNBSocket.cpp
M lldb/tools/debugserver/source/StdStringExtractor.cpp
M lldb/tools/debugserver/source/StdStringExtractor.h
M lldb/tools/debugserver/source/SysSignal.cpp
M lldb/tools/debugserver/source/TTYState.h
M lldb/tools/debugserver/source/debugserver.cpp
M lldb/tools/debugserver/source/libdebugserver.cpp
M lldb/tools/driver/Driver.cpp
M lldb/tools/driver/Platform.cpp
M lldb/tools/driver/Platform.h
M lldb/tools/lldb-server/lldb-gdbserver.cpp
M lldb/tools/lldb-server/lldb-platform.cpp
M lldb/tools/lldb-server/lldb-server.cpp
M lldb/tools/lldb-vscode/JSONUtils.h
M lldb/tools/lldb-vscode/VSCode.cpp
M lldb/tools/lldb-vscode/VSCode.h
M lldb/tools/lldb-vscode/lldb-vscode.cpp
Log Message:
-----------
[lldb][NFC] Use C++ versions of the deprecated C standard library headers
The C headers are deprecated so as requested in D102845, this is replacing them
all with their (not deprecated) C++ equivalent.
Reviewed By: shafik
Differential Revision: https://reviews.llvm.org/D103084
More information about the All-commits
mailing list