Skip to content

Commit 80e60c8

Browse files
authored
Comment out url and fix typo in stackwalk.c (#56131)
Introduced in #55623
1 parent 1713f79 commit 80e60c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stackwalk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ extern bt_context_t *jl_to_bt_context(void *sigctx) JL_NOTSAFEPOINT;
933933
int jl_simulate_longjmp(jl_jmp_buf mctx, bt_context_t *c) JL_NOTSAFEPOINT
934934
{
935935
#if (defined(_COMPILER_ASAN_ENABLED_) || defined(_COMPILER_TSAN_ENABLED_))
936-
https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
936+
// https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
937937
return 0;
938938
#elif defined(_OS_WINDOWS_)
939939
_JUMP_BUFFER* _ctx = (_JUMP_BUFFER*)mctx;
@@ -1049,7 +1049,7 @@ int jl_simulate_longjmp(jl_jmp_buf mctx, bt_context_t *c) JL_NOTSAFEPOINT
10491049
mc->regs[28] = (*_ctx)[9];
10501050
mc->regs[29] = (*_ctx)[10]; // aka fp
10511051
mc->regs[30] = (*_ctx)[11]; // aka lr
1052-
// Yes, they did skip 12 why writing the code originally; and, no, I do not know why.
1052+
// Yes, they did skip 12 when writing the code originally; and, no, I do not know why.
10531053
mc->sp = (*_ctx)[13];
10541054
mcfp->vregs[7] = (*_ctx)[14]; // aka d8
10551055
mcfp->vregs[8] = (*_ctx)[15]; // aka d9

0 commit comments

Comments
 (0)