[all-commits] [llvm/llvm-project] 86cd23: [lldb] [DynamicRegisterInfo] Refactor SetRegisterI...

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Sep 28 07:48:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86cd2369b6cd7eb17374fb31bccac7895fe34658
      https://github.com/llvm/llvm-project/commit/86cd2369b6cd7eb17374fb31bccac7895fe34658
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
    M lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h

  Log Message:
  -----------
  [lldb] [DynamicRegisterInfo] Refactor SetRegisterInfo()

Move the "slice" and "composite" handling into separate methods to avoid
if/else hell.  Use more LLVM types whenever possible.  Replace printf()s
with llvm::Error combined with LLDB logging.

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




More information about the All-commits mailing list