Good time of day everyone, as some of you may know I am interested in improving the state of DWARF debugging support, and so far the problems are compiler-related. To this end I am interested in the following:
1) I want to turn on trace logging for verbose compilation. $env:RUST_LOG="trace"
enables _some_, but not all. My workaround has been to modify source. What's the proper way?
2) I want to turn on trace logging for a particular method being compiled. Is this possible? If not, how hard would it be to add this capability?
3) Same as above, but I want to _compile_ a particular method (say, function 123 in the WASM index space).
4) More generally, where to look for developer-oriented knobs / environment variables, etc? E. g. where I come (RyuJit), we have this nice file: https://github.com/dotnet/runtime/blob/main/src/coreclr/jit/jitconfigvalues.h.
5) Is there a way to make the log _not_ emit prefixes with the names of files/modules? They takes a lot of horizontal space.
Last updated: Nov 22 2024 at 17:03 UTC