[all-commits] [llvm/llvm-project] 54c496: [lldb] Allow to register frame recognizers applied...

Roman Podoliaka via All-commits all-commits at lists.llvm.org
Sun Aug 29 08:38:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54c496dad6f28f1ab663f1b30401fe460709d50d
      https://github.com/llvm/llvm-project/commit/54c496dad6f28f1ab663f1b30401fe460709d50d
  Author: Roman Podoliaka <roman.podoliaka at gmail.com>
  Date:   2021-08-29 (Sun, 29 Aug 2021)

  Changed paths:
    M lldb/source/Commands/CommandObjectFrame.cpp
    M lldb/source/Commands/Options.td
    M lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py

  Log Message:
  -----------
  [lldb] Allow to register frame recognizers applied beyond the first instruction

It is currently possible to register a frame recognizer, but it will be applied if and only if the frame's PC points to the very first instruction of the specified function, which limits usability of this feature.

The implementation already supports changing this behaviour by passing an additional flag, but it's not possible to set it via the command interface. Fix that.

Reviewed By: jingham

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




More information about the All-commits mailing list