[all-commits] [llvm/llvm-project] f811cb: [lldb] Revive lldb-instr

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jan 20 18:06:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f811cb82a6cd811dbb4730009d0f060503aa1c76
      https://github.com/llvm/llvm-project/commit/f811cb82a6cd811dbb4730009d0f060503aa1c76
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M lldb/tools/CMakeLists.txt
    A lldb/tools/lldb-instr/CMakeLists.txt
    A lldb/tools/lldb-instr/Instrument.cpp

  Log Message:
  -----------
  [lldb] Revive lldb-instr

I revived lldb-instr to update the macros for D117712. I think the new
macros are simple enough that we add them by hand, but this tool can do
it automatically for you.

Differential revision: https://reviews.llvm.org/D117748


  Commit: 1755f5b1d7b7871672abdf0fde5ccd091b8dbc04
      https://github.com/llvm/llvm-project/commit/1755f5b1d7b7871672abdf0fde5ccd091b8dbc04
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    A lldb/include/lldb/Utility/Instrumentation.h
    R lldb/include/lldb/Utility/ReproducerInstrumentation.h
    M lldb/source/API/SBAddress.cpp
    M lldb/source/API/SBAttachInfo.cpp
    M lldb/source/API/SBBlock.cpp
    M lldb/source/API/SBBreakpoint.cpp
    M lldb/source/API/SBBreakpointLocation.cpp
    M lldb/source/API/SBBreakpointName.cpp
    M lldb/source/API/SBBreakpointOptionCommon.cpp
    M lldb/source/API/SBBroadcaster.cpp
    M lldb/source/API/SBCommandInterpreter.cpp
    M lldb/source/API/SBCommandInterpreterRunOptions.cpp
    M lldb/source/API/SBCommandReturnObject.cpp
    M lldb/source/API/SBCommunication.cpp
    M lldb/source/API/SBCompileUnit.cpp
    M lldb/source/API/SBData.cpp
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/API/SBDeclaration.cpp
    M lldb/source/API/SBEnvironment.cpp
    M lldb/source/API/SBError.cpp
    M lldb/source/API/SBEvent.cpp
    M lldb/source/API/SBExecutionContext.cpp
    M lldb/source/API/SBExpressionOptions.cpp
    M lldb/source/API/SBFile.cpp
    M lldb/source/API/SBFileSpec.cpp
    M lldb/source/API/SBFileSpecList.cpp
    M lldb/source/API/SBFrame.cpp
    M lldb/source/API/SBFunction.cpp
    M lldb/source/API/SBHostOS.cpp
    M lldb/source/API/SBInstruction.cpp
    M lldb/source/API/SBInstructionList.cpp
    M lldb/source/API/SBLanguageRuntime.cpp
    M lldb/source/API/SBLaunchInfo.cpp
    M lldb/source/API/SBLineEntry.cpp
    M lldb/source/API/SBListener.cpp
    M lldb/source/API/SBMemoryRegionInfo.cpp
    M lldb/source/API/SBMemoryRegionInfoList.cpp
    M lldb/source/API/SBModule.cpp
    M lldb/source/API/SBModuleSpec.cpp
    M lldb/source/API/SBPlatform.cpp
    M lldb/source/API/SBProcess.cpp
    M lldb/source/API/SBProcessInfo.cpp
    M lldb/source/API/SBQueue.cpp
    M lldb/source/API/SBQueueItem.cpp
    M lldb/source/API/SBReproducer.cpp
    M lldb/source/API/SBSection.cpp
    M lldb/source/API/SBSourceManager.cpp
    M lldb/source/API/SBStream.cpp
    M lldb/source/API/SBStringList.cpp
    M lldb/source/API/SBStructuredData.cpp
    M lldb/source/API/SBSymbol.cpp
    M lldb/source/API/SBSymbolContext.cpp
    M lldb/source/API/SBSymbolContextList.cpp
    M lldb/source/API/SBTarget.cpp
    M lldb/source/API/SBThread.cpp
    M lldb/source/API/SBThreadCollection.cpp
    M lldb/source/API/SBThreadPlan.cpp
    M lldb/source/API/SBTrace.cpp
    M lldb/source/API/SBType.cpp
    M lldb/source/API/SBTypeCategory.cpp
    M lldb/source/API/SBTypeEnumMember.cpp
    M lldb/source/API/SBTypeFilter.cpp
    M lldb/source/API/SBTypeFormat.cpp
    M lldb/source/API/SBTypeNameSpecifier.cpp
    M lldb/source/API/SBTypeSummary.cpp
    M lldb/source/API/SBTypeSynthetic.cpp
    M lldb/source/API/SBUnixSignals.cpp
    M lldb/source/API/SBValue.cpp
    M lldb/source/API/SBValueList.cpp
    M lldb/source/API/SBVariablesOptions.cpp
    M lldb/source/API/SBWatchpoint.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Utility/CMakeLists.txt
    A lldb/source/Utility/Instrumentation.cpp
    R lldb/source/Utility/ReproducerInstrumentation.cpp

  Log Message:
  -----------
  [lldb] Decouple instrumentation from the reproducers

Remove the last remaining references to the reproducers from the
instrumentation. This patch renames the relevant files and macros.

Differential revision: https://reviews.llvm.org/D117712


  Commit: 156b997251db6d87636fa300d7654989caa01dea
      https://github.com/llvm/llvm-project/commit/156b997251db6d87636fa300d7654989caa01dea
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M lldb/include/lldb/Utility/Instrumentation.h
    M lldb/source/Utility/Instrumentation.cpp

  Log Message:
  -----------
  [lldb] Instrument SB API with signposts

Instrument the SB API with signposts on Darwin. This gives us a time
profile on whose behalf LLDB spends time (particularly when run via the
SBAPI from an IDE).

Differential revision: https://reviews.llvm.org/D117632


Compare: https://github.com/llvm/llvm-project/compare/ad06e65dc4da...156b997251db


More information about the All-commits mailing list