-
Notifications
You must be signed in to change notification settings - Fork 1.5k
clang: support gcov ARM LLVM clang supports code coverage detection #14327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
[Experimental Bot, please feedback here] This PR does not meet the NuttX requirements. Here's why:
In short, the PR needs significantly more detail and evidence of testing to be considered. |
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
|
I will update this patch until #14472 is merged |
|
please rebas the patch to.fix.the.conflict. |
1. Since the implementation of gcov has changed since clang17, versions before clang17 need to use the libunwind.a file Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
Summary
for the code coverage analysis of armv8-m/arm_doirq.c:
Impact
Testing
Enable CONFIG_SYSTEM_GCOV CONFIG_SCHED_GCOV and add compilation options to -fprofile-generate --coverage to the module that needs to analyze code coverage, and execute gcov -d /data/xxxx to get the analysis data