[all-commits] [llvm/llvm-project] c41372: [lldb] Rename NativeRegisterContext{Watchpoint => ...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Mar 1 07:24:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c41372c8a1db8fa0bfda25daeca1f5f4f5145439
      https://github.com/llvm/llvm-project/commit/c41372c8a1db8fa0bfda25daeca1f5f4f5145439
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.h
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h
    M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.h
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    A lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_x86.cpp
    A lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_x86.h
    R lldb/source/Plugins/Process/Utility/NativeRegisterContextWatchpoint_x86.cpp
    R lldb/source/Plugins/Process/Utility/NativeRegisterContextWatchpoint_x86.h

  Log Message:
  -----------
  [lldb] Rename NativeRegisterContext{Watchpoint => DBReg}_x86

Differential Revision: https://reviews.llvm.org/D97210


  Commit: 15f067f1c79fac34910eaf50f612854eb1d58bb5
      https://github.com/llvm/llvm-project/commit/15f067f1c79fac34910eaf50f612854eb1d58bb5
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
    M lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py

  Log Message:
  -----------
  [lldb] [test] Workaround symlink-related test failures

Use realpath() when spawning the executable create_after_attach
to workaround a FreeBSD plugin (and possibly others) problem.
If the executable is started via a path containing a symlink, it is
added to the module list twice -- via the real and apparent path.
This in turn cases the requested breakpoint to resolve twice.

Use realpath() for main program path in lldb-vscode breakpoint tests
to workaround a similar problem.  If the passed path does not match
the realpath, lldb-vscode does not report the breakpoints as verified
and causes tests to fail.

Since the underlying problems are non-trivial to fix and the purpose
of these tests is not to reproduce symlink problems, let's apply
trivial workarounds to make them pass.

Differential Revision: https://reviews.llvm.org/D97230


  Commit: 95a1305fb4058ef4925fea181f4664ce266337d6
      https://github.com/llvm/llvm-project/commit/95a1305fb4058ef4925fea181f4664ce266337d6
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M lldb/test/API/tools/lldb-server/TestLldbGdbServer.py

  Log Message:
  -----------
  [lldb] [test] Skip AVX lldb-server test on non-x86 architectures

Skip the AVX-related lldb-server test on non-x86 architectures, as they
do not support AVX.  While technically the test worked on Linux because
the AVX check would simply return false, other platforms do not provide
such a straightforward way of checking for AVX (especially remotely),
and the results of such check may need to be interpreted specially
for the platform in question.

Differential Revision: https://reviews.llvm.org/D97450


Compare: https://github.com/llvm/llvm-project/compare/7ec7876feda4...95a1305fb405


More information about the All-commits mailing list