[all-commits] [llvm/llvm-project] a4b82f: [lldb] Allow lldbDataFormatters.py to be used by o...

Dave Lee via All-commits all-commits at lists.llvm.org
Wed Sep 6 13:40:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4b82f7f9b8e586f599877f37461da95b790bc98
      https://github.com/llvm/llvm-project/commit/a4b82f7f9b8e586f599877f37461da95b790bc98
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M llvm/utils/lldbDataFormatters.py

  Log Message:
  -----------
  [lldb] Allow lldbDataFormatters.py to be used by other names (NFC) (#65528)

Instead of hard-coding the name `lldbDataFormatters`, use `__name__` to
get the module's name.

This allows the formatters to be loaded from any path, with any
filename.




More information about the All-commits mailing list