[all-commits] [llvm/llvm-project] 51dc0c: [lldb-dap] Handle stack frames without a module (#...

Ely Ronnen via All-commits all-commits at lists.llvm.org
Fri Apr 25 09:30:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51dc0cc7a43a4aef98a62bae93e758083f92b6f4
      https://github.com/llvm/llvm-project/commit/51dc0cc7a43a4aef98a62bae93e758083f92b6f4
  Author: Ely Ronnen <elyronnen at gmail.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/Makefile
    A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/TestDAP_stackTraceMissingModule.py
    A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/main.c
    M lldb/tools/lldb-dap/Handler/SourceRequestHandler.cpp
    M lldb/tools/lldb-dap/JSONUtils.cpp

  Log Message:
  -----------
  [lldb-dap] Handle stack frames without a module (#136777)

* Fix error in lldb-dap when the stack trace contains a frame without a
module by simply showing the first 32 assembly instructions after the PC.
* Adds a test with a simple example that triggers this case.



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