comparison libunwind/src/UnwindLevel1-gcc-ext.c @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents c4bab56944e8
children
comparison
equal deleted inserted replaced
237:c80f45b162ad 252:1f2b6ac9f198
165 if (__unw_get_proc_info(&cursor, &frameInfo) != UNW_ESUCCESS) { 165 if (__unw_get_proc_info(&cursor, &frameInfo) != UNW_ESUCCESS) {
166 return _URC_END_OF_STACK; 166 return _URC_END_OF_STACK;
167 } 167 }
168 168
169 // Update the pr_cache in the mock exception object. 169 // Update the pr_cache in the mock exception object.
170 const uint32_t* unwindInfo = (uint32_t *) frameInfo.unwind_info; 170 uint32_t *unwindInfo = (uint32_t *)frameInfo.unwind_info;
171 ex.pr_cache.fnstart = frameInfo.start_ip; 171 ex.pr_cache.fnstart = frameInfo.start_ip;
172 ex.pr_cache.ehtp = (_Unwind_EHT_Header *) unwindInfo; 172 ex.pr_cache.ehtp = (_Unwind_EHT_Header *) unwindInfo;
173 ex.pr_cache.additional= frameInfo.flags; 173 ex.pr_cache.additional= frameInfo.flags;
174 174
175 struct _Unwind_Context *context = (struct _Unwind_Context *)&cursor; 175 struct _Unwind_Context *context = (struct _Unwind_Context *)&cursor;