Skip to content
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

gcov: Support for the most streamlined profile of LLVM-embedded-toolchain-for-Arm #14557

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 7, 2024

  1. gcov: Support for the most streamlined profile of LLVM-embedded-toolc…

    …hain-for-Arm
    
    1. Excerpted from: https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/blob/main/samples/src/cpp-baremetal-semihosting-prof/proflib.c
    2. Since llvm profile supports more than just gcov, and some features have not yet been explored, two clang gcov implementations are supported after this patch
    3. Using this lib only supports the gcov compilation options of "-fprofile-instr-generate -fcoverage-mapping"
    4. This file is heavily dependent on the compiler clang version, and is currently aligned with ci, supporting 17.0.1 and below. 18 and above are not supported by this library due to different internal implementations of the compiler
    
    Signed-off-by: wangmingrong1 <[email protected]>
    W-M-R committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    f8abb21 View commit details
    Browse the repository at this point in the history