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.
2 parents 89dd52e + 434355f commit d8572c5Copy full SHA for d8572c5
rftrace/src/backend.rs
@@ -72,7 +72,7 @@ impl RetStack {
72
}
73
74
75
-#[naked]
+#[unsafe(naked)]
76
#[no_mangle]
77
pub unsafe extern "C" fn mcount() {
78
// We need to be careful with hooked naked functions!
@@ -362,7 +362,7 @@ macro_rules! epilogue {
362
};
363
364
365
366
pub unsafe extern "C" fn mcount_return_trampoline() {
367
// does 'nothing', except calling mcount_return. Takes care to not clobber any return registers.
368
// based on https://github.com/namhyung/uftrace/blob/master/arch/x86_64/mcount.S
0 commit comments