[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 28 01:53:47 PDT 2025
================
@@ -2076,6 +2076,13 @@ size_t Platform::GetSoftwareBreakpointTrapOpcode(Target &target,
trap_opcode_size = sizeof(g_loongarch_opcode);
} break;
+ case llvm::Triple::wasm32: {
+ // Unreachable (0x00) triggers an unconditional trap.
----------------
DavidSpickett wrote:
This is a reserved encoding, right? It's like writing `udf` in arm64, that encoding is guaranteed to never be re-used for an actual instruction.
https://github.com/llvm/llvm-project/pull/150143
More information about the lldb-commits
mailing list