[all-commits] [llvm/llvm-project] 095206: [lldb] Match frame recognizers by function when th...

Charles Zablit via All-commits all-commits at lists.llvm.org
Wed Sep 9 03:42:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09520670fec80a117bb34307ef684cf8bafbe71b
      https://github.com/llvm/llvm-project/commit/09520670fec80a117bb34307ef684cf8bafbe71b
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M lldb/source/Target/StackFrameRecognizer.cpp
    M lldb/test/API/commands/frame/recognizer/step-through/TestFrameRecognizerStepThrough.py

  Log Message:
  -----------
  [lldb] Match frame recognizers by function when the frame has no symbol (#222060)

A frame can have a function without having a symbol: a PE/COFF image
built with DWARF carries no symbol table at all, so `symctx.symbol` is
null on Windows while `symctx.function` resolves fine from the debug
info. `GetRecognizerForFrame` bailed out on `!symbol`, so no frame
recognizer ever matched there.

Fall back to the function's start address when there is no symbol. The
symbol still wins when both are present, so this is a no-op on
ELF/Mach-O.

This fixes `TestFrameRecognizerStepThrough.py`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list