================ @@ -1450,6 +1450,14 @@ class Process : public std::enable_shared_from_this<Process>, /// platforms where there is a difference (only Arm Thumb at this time). lldb::addr_t FixAnyAddress(lldb::addr_t pc); + /// Some targets might use bits in a code address to represent additional + /// information; for example WebAssembly targets have a different memory space + /// per module and have a different address space per memory and code. + virtual lldb::addr_t FixMemoryAddress(lldb::addr_t address, ---------------- clayborg wrote:
Above we have FixCodeAddres() and FixDataAddress(). Will this function fix any kind of address, or just a code address? If it is just code, then maybe we can just modify the above `FixCodeAddress(...)` and add the StackFrame to that API which can default to nullptr. https://github.com/llvm/llvm-project/pull/77949 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits