RTEMS | Draft: Support for building RTEMS with LLVM toolchains (!1539)
Chris Johns (@chris)
gitlab at rtems.org
Tue Oct 13 23:52:08 UTC 2026
Chris Johns started a new discussion on cpukit/libtest/llvmcovdumpinfo.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161025
>
> lprofWriteData(&writer, NULL, 0);
> }
> -
> -#define COVERAGE_BUFFER_SIZE 10000000u
> -
> -// don't ask
> -int __llvm_profile_runtime;
> -
> -uint64_t __llvm_profile_get_size_for_buffer(void);
> -int __llvm_profile_write_buffer(char* buffer);
> -
> -static char coverage_buffer[COVERAGE_BUFFER_SIZE];
As a work around could this buffer not be static and weak?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161025
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-d36d1elf9vxvil5xs92d09tf5-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/20261013/6a95a797/attachment.htm>
More information about the bugs
mailing list