Anthony Cole created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1597
Project:Branches: Tony/rtems:upstream-libdl-libunwind-eh-frame to rtems/rtos/rtems:main Author: Anthony Cole ## Summary libdl: Register .eh_frame sections with LLVM's libunwind libdl registers a loaded object file's .eh_frame section by passing the start of the section to \__register_frame(), which is what GCC's libgcc expects. LLVM's libunwind provides \__register_frame() too, but there it registers a single FDE; a section starts with a CIE, so nothing was registered, and a C++ exception thrown from loaded code was not caught (dl05). When built with clang and LLVM's libunwind header is available, use libunwind's own section interfaces, \__unw_add_dynamic_eh_frame_section() and \__unw_remove_dynamic_eh_frame_section(), which are not in its public header. With libgcc nothing changes. The \__has_include test is the one we used and that I'm happy to switch to a build option if you prefer. Close #5828 Assisted-by: Claude:claude-opus-5-5 claude-code Signed-off-by: Anthony Cole [email protected] ## Generative AI <!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/--> <!--Default settings, if it is a dropdown it will set after submission--> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1597 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-7nyagtbeiy33cmqtx2jnebndn-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
