[all-commits] [llvm/llvm-project] 7b5dc6: When the Debugger runs HandleProcessEvent it shoul...

jimingham via All-commits all-commits at lists.llvm.org
Wed May 10 15:42:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b5dc63fc4464e777e4210a68120b36cb283a9fd
      https://github.com/llvm/llvm-project/commit/7b5dc63fc4464e777e4210a68120b36cb283a9fd
  Author: Jim Ingham <jingham at apple.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    M lldb/source/Core/Debugger.cpp
    M lldb/test/Shell/Recognizer/assert.test

  Log Message:
  -----------
  When the Debugger runs HandleProcessEvent it should allow
selecting the "Most relevant" frame.

If you don't do that, then the correct frame gets selected, but it
happens AFTER the frame info gets printed in the stop message, so
you don't see the selected frame.

The test for this hid the issue because it ran `frame info` and
checked the result of that.  That happens after the recognizer selects
the frame, and so it was right.  But if the recognizer is working
correctly it will have already done the same printing in the stop
message, and this way we also verify that the stop message was right.

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




More information about the All-commits mailing list