[all-commits] [llvm/llvm-project] a39bcb: [lldb] Debugger: reuse ExecutionContextRef to crea...

Tatyana Krasnukha via All-commits all-commits at lists.llvm.org
Mon Feb 8 04:13:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a39bcbca92e169baeb8b2c55dff90141ddd53888
      https://github.com/llvm/llvm-project/commit/a39bcbca92e169baeb8b2c55dff90141ddd53888
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M lldb/source/Core/Debugger.cpp

  Log Message:
  -----------
  [lldb] Debugger: reuse ExecutionContextRef to create ExecutionContext from Target

The Debugger didn't take the Process's run lock, that causes deadlocks and races
after applying https://reviews.llvm.org/D92164 revision. Since ExecutionContextRef
does the same job correctly, Debugger::GetSelectedExecutionContext just can use it
to build execution context upon the selected target.


  Commit: 36de94cf54efbad967a9a0fa41329a8b59bc35c4
      https://github.com/llvm/llvm-project/commit/36de94cf54efbad967a9a0fa41329a8b59bc35c4
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/source/API/SBCommandInterpreter.cpp
    M lldb/source/Breakpoint/BreakpointOptions.cpp
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Commands/CommandObjectExpression.cpp
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Commands/CommandObjectRegexCommand.cpp
    M lldb/source/Commands/CommandObjectSettings.cpp
    M lldb/source/Commands/CommandObjectWatchpointCommand.cpp
    M lldb/source/Core/IOHandlerCursesGUI.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Target/Target.cpp
    A lldb/test/API/python_api/debugger/Makefile
    M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
    A lldb/test/API/python_api/debugger/main.cpp

  Log Message:
  -----------
  Reland "[lldb] Make CommandInterpreter's execution context the same as debugger's one"


  Commit: f9c5e1664e081031e7deec3df49953952771d21b
      https://github.com/llvm/llvm-project/commit/f9c5e1664e081031e7deec3df49953952771d21b
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py

  Log Message:
  -----------
  [lldb/tests] Un-skip TestGuiBasicDebug.py on Arm and AArch64

The test was timing out because of https://reviews.llvm.org/D92164, it should pass now.


  Commit: 05d7d6949c7cd3f1566d4c8394fa59160a7ffd05
      https://github.com/llvm/llvm-project/commit/05d7d6949c7cd3f1566d4c8394fa59160a7ffd05
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M lldb/test/API/python_api/breakpoint/TestBreakpointAPI.py
    M lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py
    M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
    M lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
    M lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
    M lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
    M lldb/test/API/python_api/event/TestEvents.py
    M lldb/test/API/python_api/file_handle/TestFileHandle.py
    M lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py
    M lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
    M lldb/test/API/python_api/frame/TestFrames.py
    M lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
    M lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
    M lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
    M lldb/test/API/python_api/hello_world/TestHelloWorld.py
    M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
    M lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py
    M lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py
    M lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py
    M lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py
    M lldb/test/API/python_api/lldbutil/process/TestPrintStackTraces.py
    M lldb/test/API/python_api/module_section/TestModuleAndSection.py
    M lldb/test/API/python_api/name_lookup/TestNameLookup.py
    M lldb/test/API/python_api/process/TestProcessAPI.py
    M lldb/test/API/python_api/process/io/TestProcessIO.py
    M lldb/test/API/python_api/sbdata/TestSBData.py
    M lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py
    M lldb/test/API/python_api/sbplatform/TestSBPlatform.py
    M lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py
    M lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py
    M lldb/test/API/python_api/section/TestSectionAPI.py
    M lldb/test/API/python_api/signals/TestSignalsAPI.py
    M lldb/test/API/python_api/symbol-context/TestSymbolContext.py
    M lldb/test/API/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
    M lldb/test/API/python_api/target/TestTargetAPI.py
    M lldb/test/API/python_api/thread/TestThreadAPI.py
    M lldb/test/API/python_api/type/TestTypeList.py
    M lldb/test/API/python_api/value/TestValueAPI.py
    M lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py
    M lldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py
    M lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
    M lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py
    M lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
    M lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
    M lldb/test/API/python_api/watchpoint/TestWatchpointIter.py
    M lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
    M lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py

  Log Message:
  -----------
  [lldb/tests] Removed add_test_categories decorator for python API tests, NFC

There is a .categories file in the python_api directory that makes all nested tests
belong to the category "pyapi". The decorator is unnecessary for these tests.


Compare: https://github.com/llvm/llvm-project/compare/f89f6d1e5d7d...05d7d6949c7c


More information about the All-commits mailing list