Files
llvm/lldb/test/API/functionalities/gdb_remote_client/simple.c
Jonas Devlieghere f62370290a [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.
2025-07-30 19:51:09 -07:00

11 lines
120 B
C

int add(int a, int b) {
// Break here
return a + b;
}
int main() {
int i = 1;
int j = 2;
return add(i, j);
}