RTEMS | Draft: Support for building RTEMS with LLVM toolchains (!1539)

Chris Johns (@chris) gitlab at rtems.org
Wed Oct 14 00:07:18 UTC 2026




Chris Johns started a new discussion on cpukit/libdl/rtl-unwind-dw2.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161028

 >  void __register_frame(void* begin);
 >  void __deregister_frame(void* begin);
 >  
 > -bool rtems_rtl_elf_unwind_dw2_parse(const rtems_rtl_obj* obj, const char* name,
 > -                                    uint32_t flags) {
 > -  (void)obj;
 > +#if defined(__clang__)
 > +typedef void (*rtems_rtl_elf_unwind_dw2_frame_handler) (void *frame);
 > +
 > +static bool
 > +rtems_rtl_elf_unwind_dw2_process_frames (
 > +  const rtems_rtl_obj_sect* sect,
 > +  rtems_rtl_elf_unwind_dw2_frame_handler handler

The code look fine. For formatting is not OAR style which is something we are working to sort out in the tree so sorry. Please use:

```
---
Language:        Cpp
BasedOnStyle:    LLVM
PointerAlignment: Left
AllowShortFunctionsOnASingleLine: Inline
...
```

For `libdl`. Thanks.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161028
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-1kj76w46t48gaasurbccvza37-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261014/bfd31bbd/attachment-0001.htm>


More information about the bugs mailing list