[all-commits] [llvm/llvm-project] af4f40: [LLDB] NativeThreadLinux invalidate register cache...

Muhammad Omair Javaid via All-commits all-commits at lists.llvm.org
Wed Aug 19 00:31:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: af4f40c376f5f05ec1b7cc72840518e917eaf091
      https://github.com/llvm/llvm-project/commit/af4f40c376f5f05ec1b7cc72840518e917eaf091
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2020-08-19 (Wed, 19 Aug 2020)

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

  Log Message:
  -----------
  [LLDB] NativeThreadLinux invalidate register cache on stop

In our discussion D79699 SVE ptrace register access support we decide to
invalidate register context cached data on every stop instead of doing
at before Step/Resume.

InvalidateAllRegisters was added to facilitate flushing of SVE register
context configuration and cached register values. It now makes more
sense to move invalidation after every stop where we initiate SVE
configuration update if needed by calling ConfigureRegisterContext.

Reviewed By: labath

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




More information about the All-commits mailing list