-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
libbuiltin: Fix the problem under linbuitin #14679
base: master
Are you sure you want to change the base?
Conversation
0350b25
to
914675c
Compare
[Experimental Bot, please feedback here] No, this PR description does not fully meet the NuttX requirements. Here's why and how to improve it: Missing Information/Improvements Needed:
Example of an Improved Summary and Impact Section: Summary: This PR introduces support for profiling and code coverage analysis within the NuttX build system using the compiler's built-in profiling capabilities and the Impact:
By providing more specific information and addressing all the required points, you'll make it much easier for reviewers to understand and approve your PR. Remember to provide concrete evidence of your testing through logs and reports. |
Sorry I have to cancel the CI Check, there's a problem with CI Test: |
218942e
to
7417a0b
Compare
a40ff0b
to
8d6280c
Compare
1. $(call CLEAN) will delete all temporary ".o" files 2. bin file and kbin are empty folders and can be created during the compilation process Signed-off-by: wangmingrong1 <[email protected]>
1. Supports combining rt.builtin in the compiler toolchain with rt.profile builtin 2. Organize the makefile under compiler-rt: 1. Delete unnecessary content Signed-off-by: wangmingrong1 <[email protected]>
Use the toolchain's own rt.builtin and libbuildin's rt.profile to instrument the code using parameters such as "-fprofile-generate --coverage" Signed-off-by: wangmingrong1 <[email protected]>
Summary
libbuiltin: Fixed the problem that libbuitin cannot be cleaned up
1. $(call CLEAN) will delete all temporary ".o" files
2. bin file and kbin are empty folders and can be created during the compilation process
compiler-rt: Support builtin and profile compilation separately
1. Supports combining rt.builtin in the compiler toolchain with rt.profile builtin
2. Organize the makefile under compiler-rt:
1. Delete unnecessary content
mps/profile: Add mps configuration
1. Use the toolchain's own rt.builtin and libbuildin's rt.profile to instrument the code using parameters such as "-fprofile-generate --coverage"
Impact
no
Testing
Use the toolchain's own rt.builtin and libbuildin's rt.profile to instrument the code using parameters such as "-fprofile-generate --coverage"