Open qqnzhyxxx opened 9 months ago
In modules\CppCommon\source\system\stack_trace.cpp (line 162-179)
Right Code ; for (asection* section = abfd->sections; section != nullptr; section = section->next) { if (found) break;
if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0) continue; bfd_vma vma = bfd_section_vma(abfd, section); if (pc < vma) continue; bfd_size_type secsize = bfd_section_size(abfd, section); if (pc >= vma + secsize) continue; found = bfd_find_nearest_line(abfd, section, syms, pc - vma, &filename, &functionname, &line); }
In modules\CppCommon\source\system\stack_trace.cpp (line 162-179)
Right Code ; for (asection* section = abfd->sections; section != nullptr; section = section->next) { if (found) break;