Skip to content

Commit 2535c67

Browse files
committed
Fix on ARM64 asan hook
1 parent a380fd6 commit 2535c67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thread/thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ R"(
870870

871871
DEF_ASM_FUNC(_photon_thread_stub)
872872
R"(
873-
b _asan_start //; asan_start()
873+
bl _asan_start //; asan_start()
874874
ldp x0, x1, [x29, #0x40] //; load arg, start into x0, x1
875875
str xzr, [x29, #0x40] //; set arg as 0
876876
blr x1 //; start(x0)

0 commit comments

Comments
 (0)