We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a1d357 commit 0d859d8Copy full SHA for 0d859d8
src/backtrace/dbghelp.rs
@@ -98,6 +98,9 @@ pub unsafe fn trace(cb: &mut FnMut(&super::Frame) -> bool) {
98
// the `RtlLookupFunctionEntry` function in kernel32 which will account for
99
// JIT compiler frames as well. These should be equivalent, but using
100
// `Rtl*` allows us to backtrace through JIT frames.
101
+ //
102
+ // Note that `RtlLookupFunctionEntry` only works for in-process backtraces,
103
+ // but that's all we support anyway, so it all lines up well.
104
cfg_if::cfg_if! {
105
if #[cfg(target_pointer_width = "64")] {
106
use core::ptr;
0 commit comments