Thomas Pelletier
Thomas Pelletier
The control flow graph pass does not allow jumps that don't point to a label. In my case, I'd like to jump out of the current function to a different...
The only dependency of go-toml v2 is `stretchr/testify`, which itself imports a bunch of stuff. I'd like this library to be dependence-free. The test suite only uses a few functions...
Creating a main issue to track this work, as it has been asked multiple times, is probably hindering the adoption of go-toml v2. The main difficulty of building this feature...
Discussed in https://github.com/pelletier/go-toml/discussions/823 Instead of `multiline` being a no-op when used on non-string or non-array, it should be pushed down for the value if it is an array. I think...
Now that Python 3.12 is out, we should check whether the current approach still works. It may require https://github.com/stealthrocket/wzprof/issues/97 to adjust modified field offsets, if any.
Currently, field offsets in structs are hardcoded: https://github.com/stealthrocket/wzprof/blob/ba3fa22d8ada53862bf029d023b7213bbcecc07c/python.go#L113-L153 They have been generated by adding the following C code inside CPython's 3.11 `Python/sysmodule.c`: ```c void print_offsets(void) __attribute__((constructor)) { printf("// --- start...
The Python3.11 support captures the interpreter call stack. It would be great also to capture the C call stack and merge it with the interpreter's stack when it calls a...
As of https://github.com/stealthrocket/wzprof/pull/95, symbolization is performed at stack capture time, which needs to be as fast as possible. It should be deferred to profile generation time. The main issue is...
In addition to reporting line information, we should be able to also column information. The `lineForFrame` function can probably be extended to also decode the column information from the location...
Running `make` in the root directory yield this on my ubuntu machine: ``` # # Install the startup files (crt1.o etc). # mkdir -p "/home/thomas/src/github.com/stealthrocket/wzprof/testdata/.wasi-libc/sysroot/lib/wasm32-wasi" && \ cp build/wasm32-wasi/libc-bottom-half/crt/crt1.o build/wasm32-wasi/libc-bottom-half/crt/crt1-command.o...