[all-commits] [llvm/llvm-project] f62370: [lldb] Implement RegisterContextWasm (#151056)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jul 30 19:51:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f62370290a66f8d3a47a4b25c3896983424f97bd
      https://github.com/llvm/llvm-project/commit/f62370290a66f8d3a47a4b25c3896983424f97bd
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M lldb/docs/resources/lldbgdbremote.md
    M lldb/source/Plugins/Process/wasm/CMakeLists.txt
    M lldb/source/Plugins/Process/wasm/ProcessWasm.cpp
    M lldb/source/Plugins/Process/wasm/ProcessWasm.h
    A lldb/source/Plugins/Process/wasm/RegisterContextWasm.cpp
    A lldb/source/Plugins/Process/wasm/RegisterContextWasm.h
    M lldb/source/Plugins/Process/wasm/ThreadWasm.cpp
    M lldb/source/Plugins/Process/wasm/ThreadWasm.h
    M lldb/test/API/functionalities/gdb_remote_client/TestWasm.py
    A lldb/test/API/functionalities/gdb_remote_client/simple.c
    A lldb/test/API/functionalities/gdb_remote_client/simple.yaml

  Log Message:
  -----------
  [lldb] Implement RegisterContextWasm (#151056)

This PR implements a register context for Wasm, which uses virtual
registers to resolve Wasm local, globals and stack values. The registers
are used to implement support for `DW_OP_WASM_location` in the DWARF
expression evaluator (#151010). This also adds a more comprehensive
test, showing that we can use this to show local variables.



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