forked from pool/julia
21 lines
750 B
Diff
21 lines
750 B
Diff
|
diff --git a/src/debuginfo.cpp b/src/debuginfo.cpp
|
||
|
index 95b562311b..69fceb0cfe 100644
|
||
|
--- a/src/debuginfo.cpp
|
||
|
+++ b/src/debuginfo.cpp
|
||
|
@@ -265,6 +265,7 @@ public:
|
||
|
di->format = UNW_INFO_FORMAT_ARM_EXIDX;
|
||
|
di->start_ip = (uintptr_t)arm_text_addr;
|
||
|
di->end_ip = (uintptr_t)(arm_text_addr + arm_text_len);
|
||
|
+ di->load_offset = 0;
|
||
|
di->u.rti.name_ptr = 0;
|
||
|
di->u.rti.table_data = arm_exidx_addr;
|
||
|
di->u.rti.table_len = arm_exidx_len;
|
||
|
@@ -1577,6 +1578,7 @@ void register_eh_frames(uint8_t *Addr, size_t Size)
|
||
|
di->u.rti.table_data = (unw_word_t)table;
|
||
|
di->start_ip = start_ip;
|
||
|
di->end_ip = end_ip;
|
||
|
+ di->load_offset = 0;
|
||
|
|
||
|
jl_profile_atomic([&]() {
|
||
|
_U_dyn_register(di);
|