[all-commits] [llvm/llvm-project] 6ff4af: [lldb] Fix D114722 for python<=3.6

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Jan 19 03:50:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ff4af8e182333740a58176a3e9cbc84f6828216
      https://github.com/llvm/llvm-project/commit/6ff4af8e182333740a58176a3e9cbc84f6828216
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h

  Log Message:
  -----------
  [lldb] Fix D114722 for python<=3.6

_Py_IsFinalizing was called _Py_Finalizing back then (and it was a
variable instead of a function).


  Commit: 8bfa7a6dcc274bf46ce1587cf51996a3389ceb63
      https://github.com/llvm/llvm-project/commit/8bfa7a6dcc274bf46ce1587cf51996a3389ceb63
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp

  Log Message:
  -----------
  [lldb] Fix NativeThreadLinux to build with older compilers


  Commit: b2a162e63bd735742fa22ed8d2465095db386bad
      https://github.com/llvm/llvm-project/commit/b2a162e63bd735742fa22ed8d2465095db386bad
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M lldb/include/lldb/API/SBDefines.h
    M lldb/include/lldb/lldb-defines.h
    M lldb/source/API/CMakeLists.txt
    M lldb/tools/driver/CMakeLists.txt
    M lldb/tools/lldb-vscode/CMakeLists.txt

  Log Message:
  -----------
  [lldb] Remove the requirement for windows clients to specify -DIMPORT_LIBLLDB

This macro was being used to select the proper import/export annotations
on SB classes. Non-windows clients do not have such requirements.

Instead introduce a new macro (LLDB_IN_LIBLLDB), which signals that
we're compiling liblldb itself (and should use dllexport). The default
(no macro) is to use dllimport. I've moved the macro definition to
SBDefines.h, since it only makes sense when building the API library.

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


  Commit: 903424532f0b018447a00f8a534f362a9b3c246b
      https://github.com/llvm/llvm-project/commit/903424532f0b018447a00f8a534f362a9b3c246b
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M lldb/bindings/interface/SBPlatform.i
    M lldb/include/lldb/API/SBPlatform.h
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/API/SBPlatform.cpp
    M lldb/source/Target/Platform.cpp
    M lldb/test/API/python_api/sbplatform/TestSBPlatform.py

  Log Message:
  -----------
  [lldb] Introduce SBPlatform::SetSDKRoot

It complements the existing SBDebugger::SetCurrentPlatformSDKRoot and
allows one to set the sysroot of a platform without making it current.

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


Compare: https://github.com/llvm/llvm-project/compare/6eb8fc924485...903424532f0b


More information about the All-commits mailing list