[all-commits] [llvm/llvm-project] b0bdaf: [lldb/Python] Add lldbconfig module to make the ll...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Apr 8 15:59:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b0bdaf9ba2bfa9e099c7cb650650133f6ea2024f
      https://github.com/llvm/llvm-project/commit/b0bdaf9ba2bfa9e099c7cb650650133f6ea2024f
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M lldb/bindings/python.swig
    A lldb/packages/Python/lldbconfig/__init__.py
    M lldb/packages/Python/lldbsuite/test/dotest.py

  Log Message:
  -----------
  [lldb/Python] Add lldbconfig module to make the lldb module configurable

Using the approach suggested by Pavel in D77588, this patch introduces a
new lldbconfig module that lives next to the lldb module. It makes it
possible to make the lldb module configurable before importing it. More
specifically it makes it possible to delay initializing the debugger,
which is needed for testing the reproducer.

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




More information about the All-commits mailing list