Closed
Description
The src/test/run-pass/backtrace
test exposed a difference in how windows backtraces handle namespacing. Here is what I wrote in a fixme:
// FIXME(#32481)
//
// On windows, we read the function name from debuginfo using some
// system APIs. For whatever reason, these APIs seem to use the
// "name" field, which is only the "relative" name, not the full
// name with namespace info, so we just see `foo` and not
// `backtrace::foo` as we see on linux (which uses the linkage
// name).
My hypothesis then is that backtraces on windows never show module information, only the name of the fn which failed. Perhaps @retep998 you can confirm?