[all-commits] [llvm/llvm-project] 1922bf: [lldb] Convert builders to use inheritance (NFC)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Aug 19 08:44:50 PDT 2020


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

  Changed paths:
    A lldb/packages/Python/lldbsuite/builders/__init__.py
    A lldb/packages/Python/lldbsuite/builders/builder.py
    A lldb/packages/Python/lldbsuite/builders/darwin.py
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
    R lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
    R lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py
    R lldb/packages/Python/lldbsuite/test/plugins/builder_freebsd.py
    R lldb/packages/Python/lldbsuite/test/plugins/builder_linux.py
    R lldb/packages/Python/lldbsuite/test/plugins/builder_netbsd.py
    R lldb/packages/Python/lldbsuite/test/plugins/builder_openbsd.py
    R lldb/packages/Python/lldbsuite/test/plugins/builder_win32.py

  Log Message:
  -----------
  [lldb] Convert builders to use inheritance (NFC)

Rather than have different modules for different platforms, use
inheritance so we can have a Builer base class and optional child
classes that override platform specific methods.

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




More information about the All-commits mailing list